PC Review Forums Newsgroups Windows XP Windows XP Customization scritping

Reply

scritping

 
Thread Tools Rate Thread
Old 12-03-2004, 07:07 PM   #1
Guest
 
Posts: n/a
Default scritping


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
  Reply With Quote
Old 12-03-2004, 07:38 PM   #2
Torgeir Bakken (MVP)
Guest
 
Posts: n/a
Default Re: scritping

dave006@hotmail.com wrote:

> 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/co...er/default.mspx


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off