COKEDUDEUSF Posted July 20, 2008 Posted July 20, 2008 What does it mean when your registry tweaks run fine during your unattended installation, but when your computer restarts they don't show up on your computer. I have taken off the /s switches so I know for a fact they are running. I have to hit yes and ok for them to run. I tested my reg tweaks many times and I know they run just fine.
IcemanND Posted July 21, 2008 Posted July 21, 2008 what are your reg tweaks? Some need to be applied at different points during the UA setup.
COKEDUDEUSF Posted July 21, 2008 Author Posted July 21, 2008 what are your reg tweaks? Some need to be applied at different points during the UA setup.I have just one for now. I'm just trying to get the basics down. I named it SHOW_OPERATING_FILES.REG.Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"Hidden"=dword:00000001"SuperHidden"=dword:00000001"ShowSuperHidden"=dword:00000001
JoeMSFN Posted July 27, 2008 Posted July 27, 2008 (edited) What does it mean when your registry tweaks run fine during your unattended installation, but when your computer restarts they don't show up on your computer. I have taken off the /s switches so I know for a fact they are running. I have to hit yes and ok for them to run. I tested my reg tweaks many times and I know they run just fine.Can't say why your's doesn't work, but mine works with the /s.I run my regtweaks from cmdlines.txt[COMMANDS]"REGEDIT /S .\DefUserRegTweaks.reg"I also like to apply it to all users (including newly created ones) so instead of[HKEY_CURRENT_USERI like to use[HKEY_USERS\.DEFAULTThen it gets applied even to the 1st created user. Edited July 27, 2008 by JoeMSFN
COKEDUDEUSF Posted August 18, 2008 Author Posted August 18, 2008 At what point are you settings these settings?I apply it here.[Commands]"OemPreinstall.cmd""REGEDIT /S SHOW_OPERATING_FILES.REG""COMPRESSION_STUFF.CMD"Is applying it here bad? Remember I use this. I call it SHOW_OPERATING_FILES.REG. Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"Hidden"=dword:00000001"SuperHidden"=dword:00000001"ShowSuperHidden"=dword:00000001
COKEDUDEUSF Posted August 21, 2008 Author Posted August 21, 2008 At what point are you settings these settings?I apply it here.[Commands]"OemPreinstall.cmd""REGEDIT /S SHOW_OPERATING_FILES.REG""COMPRESSION_STUFF.CMD"Is applying it here bad? Remember I use this. I call it SHOW_OPERATING_FILES.REG. Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"Hidden"=dword:00000001"SuperHidden"=dword:00000001"ShowSuperHidden"=dword:00000001Any ideas please?
spacesurfer Posted August 21, 2008 Posted August 21, 2008 (edited) It means you got your registry tweak wrong.You need to set SuperHidden to 0 and ShowSuperHidden to 1 if you want to see hidden system files.If not, set SuperHidden to 1 and ShowSuperHidden to 0.The values are opposite of each other, not the same. Applying this manually, you'll see that these values change as I mentioned.Beats me why there are two entries are changed when doing one thing. Edited August 21, 2008 by spacesurfer
COKEDUDEUSF Posted August 22, 2008 Author Posted August 22, 2008 It means you got your registry tweak wrong.You need to set SuperHidden to 0 and ShowSuperHidden to 1 if you want to see hidden system files.If not, set SuperHidden to 1 and ShowSuperHidden to 0.The values are opposite of each other, not the same. Applying this manually, you'll see that these values change as I mentioned.Beats me why there are two entries are changed when doing one thing.I gonna be royally p***ed if yer right. I'm pretty sure your right. This worked when I applied it on my computer, so I don't understand why it didn't work during my unattended install. What you said does make a lot of since though.
COKEDUDEUSF Posted August 22, 2008 Author Posted August 22, 2008 It means you got your registry tweak wrong.You need to set SuperHidden to 0 and ShowSuperHidden to 1 if you want to see hidden system files.If not, set SuperHidden to 1 and ShowSuperHidden to 0.The values are opposite of each other, not the same. Applying this manually, you'll see that these values change as I mentioned.Beats me why there are two entries are changed when doing one thing.I wish it was that easy. I tried it with only ShowSuperHidded as 1 and it did not work.
spacesurfer Posted August 22, 2008 Posted August 22, 2008 it works for me. however, it requires a refresh - like closing explorer windows and restarting them.it's really hard to make it toggle, but i know that you're not trying to toggle it but have it applied during setup.beats me!
Martin H Posted August 23, 2008 Posted August 23, 2008 If regtweaks dosen't work from T-12(cmdlines.txt), then try from first-logon instead...Remove this from cmdlines.txt:"REGEDIT /S SHOW_OPERATING_FILES.REG"Add this to cmdlines.txt:"RunOnceEx.cmd"Make a file named RunOnceEx.cmd in $OEM$ with this:@cmdow @ /hidset key=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExreg add %key%\001 /v 1 /d "regedit /s %~dp0\SHOW_OPERATING_FILES.REG" /f Btw, since you said in your other thread that you where having trouble getting WinRAR and 7-Zip installed from cmdlines.txt, then if you'd like, then you could install them also from first-logon instead...I myself would recommend doing it like this:Delete everything from cmdlines.txt and just keep:"RunOnceEx.cmd"Make a folder named RunOnceEx under $OEM$ and place '7-Zip-v4.42.exe', 'WinRAR-v3.71.exe' and 'SHOW_OPERATING_FILES.REG' into it.Delete the contents of RunOnceEx.cmd and replace it with this:@cmdow @ /hidset key=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExreg add %key%\001 /v 1 /d "%~dpn0\7-Zip-v4.42.exe" /freg add %key%\002 /v 1 /d "%~dpn0\WinRAR-v3.71.exe" /freg add %key%\003 /v 1 /d "regedit /s %~dpn0\SHOW_OPERATING_FILES.REG" /f
COKEDUDEUSF Posted August 23, 2008 Author Posted August 23, 2008 it works for me. however, it requires a refresh - like closing explorer windows and restarting them.it's really hard to make it toggle, but i know that you're not trying to toggle it but have it applied during setup.beats me!Huh????? Elaborate please.
COKEDUDEUSF Posted August 23, 2008 Author Posted August 23, 2008 Make a folder named RunOnceEx under $OEM$ and place '7-Zip-v4.42.exe', 'WinRAR-v3.71.exe' and 'SHOW_OPERATING_FILES.REG' into it.Delete the contents of RunOnceEx.cmd and replace it with this:@cmdow @ /hidset key=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExreg add %key%\001 /v 1 /d "%~dpn0\7-Zip-v4.42.exe" /freg add %key%\002 /v 1 /d "%~dpn0\WinRAR-v3.71.exe" /freg add %key%\003 /v 1 /d "regedit /s %~dpn0\SHOW_OPERATING_FILES.REG" /fOk I got a couple of questions though. Don't I need to have cmdow on the disc somewhere? So where would be the best place to add cmdow? Could you please also explain the parts of the RunOnceEx.cmd. I understand most of it. The %~dpn0 part is the part I'm most confused about. I know the %key%\001 /v makes folders inside RunOnceEx. I know 1 /d makes a REG_SZ called one. The rest is the directory and the force overwrite switch. I still can't figure out the %~dpn0 part.
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