Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Run VBS to change a HKLM value on client machines

$
0
0
    Hello to all, I need to build a .VBS script to change the "Hidden" value, located on the following registry path "HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters" on WinXP machines. The "Hidden" value needs to be set to 1.

   I think to build a .VBS and attach it to a GPO that will run when a user logs on and so the value will be changed for them. I read that HKLM values can not be changed by script when they're attached to user component on GPO so one would need to link the script to computer component on GPO.

   Do yo know what is the correct way to run a .VBS script through GPO to change the value cited above (considering that it's on HKLM path)?

    Regards, EEOC.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>