By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,742 Members | 1,227 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,742 IT Pros & Developers. It's quick & easy.

script to log off from windows

P: 10
Hi All,
I need to write a script for windows,which has the requirements as below.

1,It should log out the particuler user from windows at a particuler time ,say 6 o'clock in the evening everyday,At the same time it should not log off other users.Say, if A and B are the users ,then only A has to be loggef off .Also it should display an alert window before logging off.

Following pop up msg has to be displayed ''you are going to log off ,plz save your work'.

2,or it should log off each user at 6 o'clock in the evening everyday ,before loging off it should ask the user whether you want to continue or not.He should have an option to continue.
I tried with scheduling the task,but my requirement is not satisfied fully.Is there any way by calling cmd prompt and rdeffering to the log off script...or by anyway...i want a way out....

plz help me, in oder to solve it.Be it any scripts......As soon as posssible,
Jul 9 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.