> In the Windows 2000 Resource Kit there is a utility reg.exe that can be
> used in batch files to script registry modifications.


It is also included with Windows XP and newer in a default install.


> For example, here are a couple of lines using reg.exe (in the z:\bin
> directory) that modify variables in the HKEY_LOCAL_MACHINE Hive. I use
> these on a Windows XP installation for a laptop that does not belong to
> a domain:
> 
> rem Disable Windows Welcome Screen (classic logon)
> %z%\bin\reg add "HKLM\SOFTWARE\Microsoft\Windows
> NT\CurrentVersion\Winlogon" /v "AllowMultipleTSSessions" /t REG_DWORD /f
> /d 0x0
> %z%\bin\reg add "HKLM\SOFTWARE\Microsoft\Windows
> NT\CurrentVersion\Winlogon" /v "LogonType" /t REG_DWORD /f /d 0x0
> 
> Perhaps you could use a logon script to check for group membership
> (KiXtart is an easy way of doing this) 

See also: http://www.microsoft.com/windows2000/techinfo/reskit/tools/new/ifmember-o.asp
Or        http://www.jsiinc.com/SUBJ/tip4900/rh4905.htm


> and call an appropriate batch
> file to set registry values in HKEY_CURRENT_USER, although I am not sure
> if the logon script would attempt to run before the user profile had
> been created. If you stick a shortcut to a kiXtart script in
> C:\Documents and Settings\All Users\Start Menu\Programs\Startup this
> should run at the correct point.

By the time the login script runs the hive HKCU is fully loaded as far as I know.

> James Barlow
> TRL Technology Ltd.
> 
> http://www.kixtart.org/
> KiXtart Home Page
> 




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to