right_paw Posted May 22, 2004 Share Posted May 22, 2004 can any one tell me how to get the registry edits and tweaks to run from RegTweaks.reg Link to comment Share on other sites More sharing options...
Bâshrat the Sneaky Posted May 22, 2004 Share Posted May 22, 2004 First use the search function before you ask such an easy question!!!Just look in the sticky in the subforum 'Unattended Windows'.Or use the one down here. You should run it with cmdlines.txt:'REGEDIT /S regtweaks.reg'Both files have to be placed in X:\UXPCD\$OEM$\RegTweaks_10c.reg Link to comment Share on other sites More sharing options...
right_paw Posted May 22, 2004 Author Share Posted May 22, 2004 i already tried to run it like that but it didn't seem to work, the RunOnceEx.cmd runs ok but not the registry tweaks.see my regtweaks.reg file attached any sugestions would be appreciatedRegTweaks.reg Link to comment Share on other sites More sharing options...
Bâshrat the Sneaky Posted May 22, 2004 Share Posted May 22, 2004 i already tried to run it like that but it didn't seem to work, the RunOnceEx.cmd runs ok but not the registry tweaks.see my regtweaks.reg file attached any sugestions would be appreciatedYour regtweaks seem ok to me. Are you sure it didn't apply? Check for typing errors in filenames and in cmdlines.txt... Link to comment Share on other sites More sharing options...
right_paw Posted May 22, 2004 Author Share Posted May 22, 2004 i just did anoter install and checked the values that should have been applied in the registry and they have not been changed.Cmdlines.txt[COMMANDS]"REGEDIT /S RegTweaks.reg""RunOnceEx.cmd"runonceex runs ok but the registry edits dont Link to comment Share on other sites More sharing options...
Jazz Posted May 22, 2004 Share Posted May 22, 2004 Ok guys, standby for the ultimate registry tweaks..Not much but added around 10-20 tweaks more to the first reg file.. enjoy.. if somebody got anything more to add to this pls let me know..Bye,JazzRegTweaks_Jazz.reg Link to comment Share on other sites More sharing options...
right_paw Posted May 22, 2004 Author Share Posted May 22, 2004 can anyone tell me why my registry edits wont run is there an error in my .reg file or cmdlines.txt file or have i missed something else? both files are in previous parts of this thread Link to comment Share on other sites More sharing options...
GreenMachine Posted May 22, 2004 Share Posted May 22, 2004 I cannot tell you why but ... create a new .reg file with one single and obvious tweak, and try again. If that did not work, it is safe to say that the .reg file is not actually found. Alternativly, you caould call the .reg file from your .cmd file, which you know works, and call it and log it, as such:REGEDIT /S RegTweaks.reg > C:\REG.LOGSo ... First question: is the file ever found? Second: is it run? No use looking for errors in a .reg file if it is not run (no, I did not look at the file ... )Track that part down, and post your findings. Link to comment Share on other sites More sharing options...
right_paw Posted May 23, 2004 Author Share Posted May 23, 2004 i ran the command that you sugested from the .cmd file and a log file was created but it was emty Link to comment Share on other sites More sharing options...
rustycaps Posted May 23, 2004 Share Posted May 23, 2004 The "regedit /s regtweaks.reg" command would only work if the .reg file file was actually in the same directory as regedit, or am I missing something about how regedit runs? i.e. shouldn't it be regedit /s c:\install\regtweaks.reg or something, with the full path name?Does the reg file work when you actually double/single click it (whichever method you have for clicking mode)? i.e. does it ask "do you wish to add this data to the registry?"?That's all I can think of for it to not work. EDIT - unless you saved it as a txt file or something when working on it through notepad? Link to comment Share on other sites More sharing options...
Wraith Posted May 23, 2004 Share Posted May 23, 2004 the regfile has to be in the working directory in that case.Essentially "regedit /s regtweaks.reg" is expanded to "C:\windows\regedit.exe /s regtweaks.reg" because of the %PATH% environment variable.Of course, you could always put the directory that the regfile is stored in %PATH% and it could be done from anywhere. In theory. Link to comment Share on other sites More sharing options...
GreenMachine Posted May 23, 2004 Share Posted May 23, 2004 If you did that on a real install, that is fine, The log will be empty. So, REGEDIT does get run. Did you put one simple tweak in there to see if it took? Did it take? If not, your file is either incorrectly named, in the wrong place, or has an error. Be sure the name is correct, and the .reg file is placed in the same directory as CMDLINES.TXT. There is not much more to it ...To be sure, you could change "REGEDIT /S RegTweaks.reg" to "REGEDIT /S .\RegTweaks.reg"EDIT: It don't always work that way. How REGEDIT searches for the .reg file is not necessarily the same as how the command interpreter searches for REGEDIT. The interpreter knows %PATH%, REGEDIT may not (many programs do not ... ) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now