cancel
Showing results for 
Search instead for 
Did you mean: 

How change reg key?

henderson1977
Grafter
Posts: 191
Registered: 31-07-2007

How change reg key?

Hi all

I am working on a project to roll-out XP SP2 to 1500+ machines firmwide. I am currently trying to change the default Windows Sound Scheme to the No Sound Scheme. I have found the existing reg key that I need to alter:-

HKCU\AppEvents\Schemes - (Default)

(Default) is currently set to ".current" and I want to change it to ".none" via a GuiRunOnce script.

So far I have tried:-

reg add "HKCU\AppEvents\Schemes" /v (Default) /t REG_SZ /d .none /f

However, this just adds another (Default) key with the .none value, so now I have 2 (Default) keys. All I want to do is change the existing reg key from .current to .none.

I have also tried to delete the existing key first by using:-

reg delete "HKCU\AppEvents\Schemes" /v (Default) /f

... but I get the error:-

Error: The system was unable to find the specified registry key or value


Any ideas anyone plz?

Cheers
Scott
2 REPLIES
henderson1977
Grafter
Posts: 191
Registered: 31-07-2007

How change reg key?

... think I've found it now guys...

reg add "HKCU\AppEvents\Schemes" /v "" /t REG_SZ /d .none /f
FireStorm
Grafter
Posts: 90
Registered: 12-08-2007

How change reg key?

Just for your info i did a project at work to upgrade everyone to SP2.. Take a look a WSUS server.. its fantasticly easy.. quick change to you AD group policys and everyone gets it :-D