scritping

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

ok, I looked up the ms tech web site for the parameters
of the net user. Now I need to know how to get them into
a startup script? What is the file extension of a
script? when I am specifing a location to run a startup
script (in user profile in users in manage computer)
where do I need to put it and how do I desitnate it? For
example if the script is on the root "C:" or if it is
located in the "documents and settings\my child\scripts"
and called "Logon script" Thank you for the help
 
ok, I looked up the ms tech web site for the parameters
of the net user. Now I need to know how to get them into
a startup script? What is the file extension of a
script?

..bat (or .vbs if you want to run it as a vbscript)

when I am specifing a location to run a startup
script (in user profile in users in manage computer)
where do I need to put it and how do I desitnate it? For
example if the script is on the root "C:" or if it is
located in the "documents and settings\my child\scripts"
and called "Logon script" Thank you for the help

For Win2k/WinXP Pro, this is done by using a Group Policy Computer (GPO)
Configuration Logoff and/or Shutdown script. The GPO can be activated manually
with gpedit.msc.

From the Start menu Run dialog, open: gpedit.msc

for logon script, under "User Configuration",
open Windows Settings\Scripts (Logon/Logoff)
(double click, Add...).

for startup script, under "Computer Configuration",
open Windows Settings\Scripts (Startup/Shutdown)
(double click, Add...).


More info in Tip 2147 in the 'NT Reg Hacks' at http://www.jsiinc.com

JSI Tip 2147. Windows 2000 Startup/Shutdown, Logon/Logoff scripts?
http://www.jsiinc.com/sube/tip2100/rh2147.htm


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide:
http://www.microsoft.com/technet/community/scriptcenter/default.mspx
 
Back
Top