Jump to content
Sign in to follow this  

Change Registry remotely

Recommended Posts

I am a newbee, so this program is not the most advanced. I was working on the network one day, and discovered that I needed to grant permissions in the registry for certain users so that they could run certain applications (office) locally on laptop computers with local group policies. I also needed to change the time server remotely. Thanx to Autoit, and certain ideas I got from here I got it working. Here goes part of the program that I used. Hope this helps someone.

Platform = XP, Subinacl is available on the internet.

$sPath = $Remotecomputer

$sStringPath = 'subinacl /subkeyreg \\' & $sPath & '\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office /grant="Domain\domain users"=F '


$sStrPath = 'subinacl /subkeyreg "\\' & $sPath & '\HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Proofing Tools" ' & '/grant="domain\domain users"=F '



RegWrite($RegPath1, "", "REG_SZ", "0")

RegWrite($RegPath1, "0", "REG_SZ", "Timeserver")

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...