Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 10-16-2005, 06:41 PM   #1
Member (10 bit)
 
David_Jones's Avatar
 
Join Date: May 2000
Location: New Zealand
Posts: 546
Win2000 - Logon / Logoff Scripts - How do I use them?

Hi All,

I note that there is a facility in Win2000 to use Logon and Logoff (and Startup and Shutdown) scripts.

In paticular, this appears to be controlled from:

Start - Run - GPEDIT.MSC

User configuration - Windows settings - Scripts (Logon / Logoff)


I can add a script by right clicking on, say, Logoff and selecting properties etc.

However, before I go there, I would like to get advice on how to do this.

I am thinking that I would like to run a small DOS batch file that runs certain programs before logging off (e.g. SyncToy from MS).

Will this cause problems, and can I use DOS batch files, or do I have to write them in VBS (for example)?

I tried a simple and 'safe' batch file consisting of only two lines to test it:

######################
echo "Running synctoy.bat"
pause
######################

but it just seems to hang and pressing any keys doesn't help.


Thanks,

David.

Last edited by David_Jones; 10-16-2005 at 06:46 PM.
David_Jones is offline   Reply With Quote
Old 10-17-2005, 07:40 AM   #2
Ride 'em Cowboy
 
EzyStvy's Avatar
 
Join Date: Dec 1999
Location: Dallas, Tx
Posts: 9,018
Learn to Script
http://www.microsoft.com/technet/scr...r/learnit.mspx
__________________
Stand Up 2 Cancer - SU2C
EzyStvy is offline   Reply With Quote
Old 10-17-2005, 06:20 PM   #3
Member (10 bit)
 
David_Jones's Avatar
 
Join Date: May 2000
Location: New Zealand
Posts: 546
Excellent Resource!

Quote:
Originally Posted by EzyStvy
That's superb - thank you so much, I really appreciate that.

Regards,

David.
David_Jones is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:24 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0