Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Set Registry Value for All Users

 
Logged in as: Guest
arrSession:exec spGetSession 2,16,51805
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> Post a VBScript >> Set Registry Value for All Users
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Set Registry Value for All Users - 9/13/2007 5:08:02 AM   
  DiGiTAL.SkReAM


Posts: 1095
Score: 6
Joined: 9/6/2005
From: Florida, USA
Status: offline
This subroutine allows you to set a particular registry key to a particular value for all the users on that computer, and any future users as well.

This sub is a derivative of Ginolard's Excellent UserHives sub at http://www.visualbasicscript.com/fb.aspx?m=47074


usage:

SetAllUsersRegKey "Software\Microsoft\Command Processor\CompletionChar",00000009,"REG_DWORD"


      


_____________________________

"There's the one man who learns by reading, the two men that learn by watching, and the rest of us have to pee on the electric fence for ourselves." - Roy Rogers

"Would you like to touch my monkey?" - Dieter (Mike Meyers)
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> Post a VBScript >> Set Registry Value for All Users Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts