Re: script to modify ntuser.bat of restricted user

From: Drew Cooper [MSFT] (dcoop_at_online.microsoft.com)
Date: 04/01/04


Date: Wed, 31 Mar 2004 15:50:18 -0800

Um . . . those look like group policy settings. Why can't you just use
gpedit.msc and push policy out to them?

-- 
Drew Cooper [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
"MichaelMartis" <mtmartis@yahoo.com> wrote in message
news:0B2D6B55-8329-4E71-BF10-4E5865CD247F@microsoft.com...
> 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
>


Relevant Pages

  • script to modify ntuser.bat of restricted user
    ... I need it to load the ntuser.dat to HKU for the user logging int hen delete certain keys from the ntuser.dat hive ... 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. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Registry Keys to set Explorer settings
    ... so all the reg tweaks which are for the HKEY_CURRENT_USER i should put in ... HKEY_CURRENT_USER keys. ... This will load the default user's ntuser.dat, ... >>> .default is the settings for when noone is logged in. ...
    (microsoft.public.windowsxp.customize)
  • Re: Registry Keys to set Explorer settings
    ... so all the reg tweaks which are for the HKEY_CURRENT_USER i should put in ... HKEY_CURRENT_USER keys. ... This will load the default user's ntuser.dat, import the HKEY_USERS tweaks ...
    (microsoft.public.windowsxp.customize)
  • Re: Edit Default User NTUSER.DAT
    ... Olof, this is exactly what I was looking for. ... I can load the ntuser.dat file into the hive ok ... I then reg import my .reg file ... >But if you want to do it from a script or command line, ...
    (microsoft.public.win2000.security)
  • Re: Unable to install Cumulative Security Update for Internet Expl
    ... Double Click the .REG file you created and answer Yes to load. ... I had the problem on 3 servers that got updated with the bad patch automatically. ...
    (microsoft.public.windowsupdate)