MSFN Forum: Problem applying Registry Settings from HKCU - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Problem applying Registry Settings from HKCU Rate Topic: -----

#1 User is offline   DerFahnder 

  • Group: Members
  • Posts: 1
  • Joined: 11-July 07

Posted 11 July 2007 - 04:15 PM

Hi,

I'm running RIS to install Windows XP SP2. I use a scripted Installation and I'm trying to tweak some settings. For example the Windows explorer shouldn't hide known file extensions.

So I read the registry tutorial that says HKCU Settings should be applied in the T-12 Section, because it would then affect the default user profile so the tweak will affect any user of this system.

I created the following hkcu.reg:

Windows Registry Editor Version 5.00

;Disable the Desktop Cleanup Wizard
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]
“NoRun”=dword:00000001

;Alphabetically sort start menu
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu2]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSMConfigurePrograms"=dword:00000001

;Disable Notify on new apps
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"Start_NotifyNewApps"=dword:00000000


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams]
"Settings"=hex:08,00,00,00,04,00,00,00,01,00,00,00,00,77,7e,13,73,35,cf,11,ae,\
69,08,00,2b,2e,12,62,04,00,00,00,10,00,00,00,43,00,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3]
"1601"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\IntelliForms]
"AskUser"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
“EnableBalloonTips”=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
“FolderContentsInfoTip”=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\tips]
“Show”=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
“StartButtonBalloonTip”=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
“ShowInfoTip”=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
“NoSMBalloonTip”=dword:00000000

; show file extensions in explorer
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
“HideFileExt”=dword:00000000

full path in title bar and address bar.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]
“FullPath”=dword:00000001
“FullPathAddress”=dword:00000001


I copied this file to the OEM directory on my RIS server.

I also added a line to the cmdlines.txt file:

"regedit /S hkcu.reg"


The problem is: None of those registry Settings are applied.

I got tons of patches that are installed via cmdlines.txt so I'm pretty sure the file is read and everything's running fine, because they all install without problems.

I suspect the problem might be the that no path is given to the hkcu.reg?

Any help with this problem would be appreciated.

Thanks in advance

Benjamin Koch

edit:

I only checked for the registry setting for domain users. I check if the registry tweaks are applied for local users.
But we don't use roaming profiles so I guess this shouldn't be the problem?

edit2:

Just checked if the registry settings are applied for the local administrator account. They aren't :(

This post has been edited by DerFahnder: 11 July 2007 - 04:26 PM



#2 User is offline   gustavovanni 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 05-July 07

Posted 14 July 2007 - 01:09 PM

Did you try to execute your reg file to see if it's working?
When I create .reg files I have to save it with ANSI codification, or just export some key in regedit and then edit that .reg file regedit created with my keys.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy