Need logoff details


Go Back   Computer Help Articles > Windows XP General
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2006, 02:31 AM
Yogi
 
Posts: n/a
Default Need logoff details

Dear Friends,
Thanks for your constant co-operation everytime I needed. Today, I need
some more help from you & I expect I will get success in the task
assigned to me.

I want to know what happens when a user logs off from his computer.
I need to create a script which is dependent on logoff process.

Thanks.

Reply With Quote
  #2  
Old 01-05-2006, 02:31 AM
Pegasus \(MVP\)
 
Posts: n/a
Default Re: Need logoff details


"Yogi" <mittalyogesh@gmail.com> wrote in message
news:1136205468.476712.55130@g43g2000cwa.googlegro ups.com...
> Dear Friends,
> Thanks for your constant co-operation everytime I needed. Today, I need
> some more help from you & I expect I will get success in the task
> assigned to me.
>
> I want to know what happens when a user logs off from his computer.
> I need to create a script which is dependent on logoff process.
>
> Thanks.


Is this a study assignment? If so, who will get the credits
for the answer?


Reply With Quote
  #3  
Old 01-05-2006, 02:32 AM
Wesley Vogel
 
Posts: n/a
Default Re: Need logoff details

Local Computer Policy\Computer Configuration\Windows Settings\Scripts
(Startup/Shutdown)

Local Computer Policy\User Configuration\Windows Settings\Scripts
(Logon/Logoff)

%windir%\system32\GroupPolicy\Machine\Scripts\Shut down

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:1136205468.476712.55130@g43g2000cwa.googlegro ups.com,
Yogi <mittalyogesh@gmail.com> hunted and pecked:
> Dear Friends,
> Thanks for your constant co-operation everytime I needed. Today, I need
> some more help from you & I expect I will get success in the task
> assigned to me.
>
> I want to know what happens when a user logs off from his computer.
> I need to create a script which is dependent on logoff process.
>
> Thanks.

Reply With Quote
  #4  
Old 01-05-2006, 02:33 AM
Yogi
 
Posts: n/a
Default Re: Need logoff details

Not study assignment. It's a task assigned to me in the office to
control the logoff procedure. I want to create a script which will
confirm the user whether he/she has filled the timesheet or now. If
user will click on Yes, then only he/she is allowed to logoff
otherwise, if user clicks No, the system should return to previously
logged on state. So, I want to hold the logoff process for a while till
the user clicks Yes or No. Hope u understand it.

Reply With Quote
  #5  
Old 01-05-2006, 02:33 AM
Yogi
 
Posts: n/a
Default Re: Need logoff details

Wesley, thanks for this. I can run any script at the time user logs
off. But, I want to stop the user from logoff if he/she clicks on No.
Please suggest how to deny user from logoff.

Reply With Quote
  #6  
Old 01-05-2006, 02:33 AM
David Candy
 
Posts: n/a
Default Re: Need logoff details

You need a program not a script. All programs get told a shutdown/logoff is pending and do they approve. You see this with Word if you try to logoff with an unsaved file, it asks if you want to save or not or cancel the logoff.

--
--------------------------------------------------------------------------------------------------
Goodbye Web Diary
http://margokingston.typepad.com/har....html#comments
=================================================
"Yogi" <mittalyogesh@gmail.com> wrote in message news:1136287722.416103.288950@g14g2000cwa.googlegr oups.com...
> Not study assignment. It's a task assigned to me in the office to
> control the logoff procedure. I want to create a script which will
> confirm the user whether he/she has filled the timesheet or now. If
> user will click on Yes, then only he/she is allowed to logoff
> otherwise, if user clicks No, the system should return to previously
> logged on state. So, I want to hold the logoff process for a while till
> the user clicks Yes or No. Hope u understand it.
>

Reply With Quote
  #7  
Old 01-05-2006, 02:33 AM
Pegasus \(MVP\)
 
Posts: n/a
Default Re: Need logoff details


"Yogi" <mittalyogesh@gmail.com> wrote in message
news:1136288810.131206.126260@g43g2000cwa.googlegr oups.com...
> Wesley, thanks for this. I can run any script at the time user logs
> off. But, I want to stop the user from logoff if he/she clicks on No.
> Please suggest how to deny user from logoff.
>


You could explore this path:
- Change the system policy so that users cannot log off
in the usual way.
- Give them a shortcut on the desktop to log off.
Arrange it so that it invokes your script.
- If the user clicks No then he is returned to the desktop.
If he clicks Yes then you launch shutdown.exe -L.
I haven't tried the above - it's just a thought.

While the above solution may work, it might backfire
with some users: They are likely to pull the plug . . .


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Customizing Details View Hobbes01 Windows XP Customize 1 01-05-2006 06:34 AM
Saving folder details on a networked PC Trevor L. Windows XP Customize 0 01-05-2006 06:31 AM
Saving login details donbowyer Windows XP Setup Deployment 1 01-05-2006 06:11 AM
Empty Temp folder on LogOff Michael Tissington Windows XP General 6 01-05-2006 02:34 AM
Internet Explorer will open only https pages Bill Windows XP General 1 01-05-2006 02:33 AM


All times are GMT. The time now is 03:15 AM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.

Need logoff details