Re: Environmental variable in Registry key
- From: Jerold Schulman <Jerry@xxxxxxxxxx>
- Date: Sun, 23 Oct 2005 13:17:38 -0400
On Sat, 22 Oct 2005 19:21:27 -0400, "David H. Lipman" <DLipman~nospam~@Verizon.Net> wrote:
>In the following key...
>
>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
>"Userinit"="C:\WINNT\system32\userinit.exe,"
>
>Can the following be used instead...
>
> "Userinit"="%windir%\system32\userinit.exe,"
>
>or
>
> "Userinit"="%SYSTEMROOT%\system32\userinit.exe,"
I tried it and it doesn't work.
First I ran:
REG ADD "HKLM\Microsoft\Windows NT\CurrentVersion\Winlogon" /V Userinit /T REG_EXPAND_SZ /F /D ^%SYSTEMROOT^%\system32\userinit.exe
Then I verified with
REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V Userinit
I shut down and restarted.
It would not get to the logon, but was apparently close enough for
REG ADD "\\JSI003\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V Userinit /T REG_SZ /F /D C:\Windows\system32\userinit.exe
to fix it.
Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
.
- Follow-Ups:
- Re: Environmental variable in Registry key
- From: David H. Lipman
- Re: Environmental variable in Registry key
- From: Mark V
- Re: Environmental variable in Registry key
- References:
- Environmental variable in Registry key
- From: David H. Lipman
- Environmental variable in Registry key
- Prev by Date: Re: Environmental variable in Registry key
- Next by Date: Re: Environmental variable in Registry key
- Previous by thread: Re: Environmental variable in Registry key
- Next by thread: Re: Environmental variable in Registry key
- Index(es):
Relevant Pages
|
Loading