Jump to content

Recommended Posts

Posted

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

Posted

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.

  • Thanks 1
Posted

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.

Posted

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

Posted
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.

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



×
×
  • Create New...