Neville Posted May 7, 2008 Posted May 7, 2008 I need to make a change to the registry as the GPO doesnt support the change I need. The Change is to HKEY_CURRENT_USER is there a way I can do this change via Group Policy or does anyone have any other ideas on how to roll this out to 200 machines without visiting them indivdually
ICT_GUY Posted May 7, 2008 Posted May 7, 2008 vbs script? VBScript for Windows 2003 - Change registry settings Below is the script he uses which can be adapted. ' The script writes to the registry value: Empty Temporary Internet Files ' The key Method is RegWrite. RegLocate is the name of the variable ' Note: REG_DWORD (not REG_SZ) ' Note: Logic of 0 (zero = off) means persistent ON - strange but true! Dim objShell, RegLocate, RegLocate1 Set objShell = WScript.CreateObject("WScript.Shell") On Error Resume Next RegLocate = "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Persistent" ' Take great care with the line above ' Note the space between \Internet and Settings\ objShell.RegWrite RegLocate,"0","REG_DWORD" WScript.Quit ' Tells the script to stop and exit. 1
CyberNerd Posted May 7, 2008 Posted May 7, 2008 I need to make a change to the registry as the GPO doesnt support the change I need. ?? the GPO *is* a registry change. You can create an .adm template that has te change you need, then install it and apply as a group policy. http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/management/gp/admtgp.mspx
Neville Posted May 7, 2008 Author Posted May 7, 2008 Sorry I meant the registry change is for the local machine not current user, Also can that VB script be ammended to the VB script we currently use to create Shortcuts on the Desktop.
GAS Posted May 7, 2008 Posted May 7, 2008 Hi, First edit registry on 1 PC then export that registry, then make at bat file calling that reg file. Setup GPO on Computer config > Windows Setting > Scripts > Startup. Below example of bat file: regedit /s "\\Gas-apps-01\MSI$\RealPCB2 Reg\RealPCB2 Server.reg" Send me pm with your phone no and I explain you further. GAS
ICT_GUY Posted May 7, 2008 Posted May 7, 2008 Sorry I meant the registry change is for the local machine not current user, Also can that VB script be ammended to the VB script we currently use to create Shortcuts on the Desktop. Change the key to local machine and set it to run on start up.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now