script to modify ntuser.bat of restricted user
From: MichaelMartis (mtmartis_at_yahoo.com)
Date: 03/31/04
- Next message: g huckleberry: "messenger service"
- Previous message: Steven L Umbach: "Re: SpyBot problems with XP..need help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 31 Mar 2004 07:01:13 -0800
Here is my situation. I created a batch as follows:
attrib c:\docume~1\%username%\ntuser.dat -h
REG LOAD HKU\ntuser C:\docume~1\%username%\ntuser.dat
REG DELETE "HKU\ntuser\software\policies\microsoft\office" /f
REG DELETE "HKU\ntuser\software\policies\microsoft\shared tools" /f
REG UNLOAD HKU\ntuser
attrib c:\docume~1\%username%\ntuser.dat +h
I need it to load the ntuser.dat to HKU for the user logging int hen delete certain keys from the ntuser.dat hive
I know that if the user already is logged in, I can not load their ntuser.dat into the HKU branch.
So I need to have this script run for the user logging in BUT BEFORE the ntuser.dat loads.
The user machines are Windows XP authenticating Windows 2000 DC and Novell as well.
Is this possible, Please advise
- Next message: g huckleberry: "messenger service"
- Previous message: Steven L Umbach: "Re: SpyBot problems with XP..need help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|