MarcL Posted February 7, 2005 Share Posted February 7, 2005 The following link seems to be broken: http://unattended.msfn.org/xp/hkcu_registry.htm... and at one point, I thought this was explained pretty well there.But, anyway..I have the following cmdlines.txt:[COMMANDS]REGEDIT /S %systemdrive%\install\regtwks.regRunOnce.cmdBut my reg tweaks never seem to make it in. If I cut and paste the "REGEDIT" command after the install is done, it works fine... But only for the current user. Why does this reg tweak not run during the install?? the RunOnce stuff does (now, after much time wasted chasing silly mistakes). Link to comment Share on other sites More sharing options...
Astalavista Posted February 7, 2005 Share Posted February 7, 2005 [COMMANDS]"REGEDIT /S tweaks.reg""RunonceEX.cmd" Link to comment Share on other sites More sharing options...
MarcL Posted February 7, 2005 Author Share Posted February 7, 2005 I had the quotes before, but removed them thinking that ws the problem.. I will replace them.will it know to look in the path C:\install for it? I dont see how! Link to comment Share on other sites More sharing options...
MarcL Posted February 7, 2005 Author Share Posted February 7, 2005 This seems to work:[COMMANDS]"CMD /C REGEDIT /S %systemdrive%\install\regtwks.reg""RunOnce.cmd"What is odd, some regtweaks dont "stick". For example, this works fine when I do it from a command prompt.. but from cmdlines.txt, I still get the default "bliss.jpg" wallpaper[HKEY_CURRENT_USER\Control Panel\Desktop]"Wallpaper"=""and this:[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"ClassicViewState"=dword:00000000Is microsoft that set on forcing a default explorer style and wallpaper?! Link to comment Share on other sites More sharing options...
MarcL Posted February 9, 2005 Author Share Posted February 9, 2005 Anyone?? Anyone?? Beuler? Link to comment Share on other sites More sharing options...
a06lp Posted February 9, 2005 Share Posted February 9, 2005 i don't know, but i actually apply my regtweaks (same file) 2 times. once from cmdlines.txtand one right before my cleanup.cmd (after all other installs).it works perfectly, since some tweaks are needed before defualt profile is created, and some tweaks need to be applied only after a logon. 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