talksr Posted August 5, 2015 Posted August 5, 2015 I am looking for some help in creating a registry script which can help me automate a job which I need to do to 20 HP Laptops. Since imaging them, they work fine, however if a domain user other than administrator logs into one, it kicks them straight back out. I have found that the problem is linked to Ranger but the actual fault is a piece of redundant HP Bloatware which was removed before the imaging of the machine, but appears to still be lingering in the registry. I need to change: HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon Userinit from: C:\windows\SysWOW64\RgrUInit.exe,c:\Program Files (x86)\Hewlett-Packard\HP ProtectTools Security Manager\Bin\DPAgent.exe to: HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon Userinit: C:\windows\SysWOW64\RgrUInit.exe, How can I quickly do this using a registry script? Thanks in advance
3s-gtech Posted August 5, 2015 Posted August 5, 2015 You can use GPP/Registry with the Update flag, setting the old and new paths in there - obviously this will only work if they're domain joined but should be fine otherwise. 1
DJ-1701 Posted August 5, 2015 Posted August 5, 2015 REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon" /f /v Userinit /t REG_SZ /d "C:\Windows\SysWOW64\RgrUInit.exe," 1
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