Jump to content

Recommended Posts

Posted (edited)

I have a .reg file to remove several keys in the registry if they exist (Fine if they don't exist it runs anyway but doesn't do anything obviously)

 

Windows Registry Editor Version 5.00

 

[-HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{8AD9C840-044E-11D1-B3E9-00805F499D93}]

 

 

[-HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{8AD9C840-044E-11D1-B3E9-00805F499D93}\InprocServer32]

 

 

[-HKEY_CURRENT_USER\Software\Classes\CLSID\{8AD9C840-044E-11D1-B3E9-00805F499D93}]

 

 

[-HKEY_CURRENT_USER\Software\Classes\CLSID\{8AD9C840-044E-11D1-B3E9-00805F499D93}\InprocServer32]

 

If run manually under a user account, works fine. Doesn't even need admin rights but apparently we can't just chuck this out to users as they would find it 'too complex' (you know, that complicated process of double clicking a file and clicking 'Yes'!)

 

Now I'm trying to work out the best way of deploying this across the domain to all clients, which is proving tricky due to it being in HKCU so it sort of needs to run around the time the user is logged in and at the desktop...any ideas?

Edited by googlemad
  • Thanks 1
Posted

add a login script with regedit /s "\\server\share\regfile.reg"

or use gpp both can alter current user registry easily enough

  • Thanks 1

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