buddy_30
April 19th, 2000, 04:48 AM
I'd like to invoke some simple commands (copy, delete,...) when a user closes a NT-session. Can this be done? How?
|
Click to See Complete Forum and Search --> : Controlling shutdown of NT buddy_30 April 19th, 2000, 04:48 AM I'd like to invoke some simple commands (copy, delete,...) when a user closes a NT-session. Can this be done? How? vonGuise April 19th, 2000, 08:42 AM Suppose you can do a script of somekind...Not sure how to do it though. But I´ve heard of it... scotsmanscott April 19th, 2000, 09:54 AM I'd be surprised to find it's that simple... Because, if NT is shutting down, your script will be terminated. You would have to have a bit of software that would intercept the shutdown request, prevent NT shutting down, run your commands, and then shut down NT. I've dfinately never seen anything like that. What do you want it for anyway? scotsmanscott April 19th, 2000, 10:01 AM I just found something that does what I mentionned above on Win95. It's called "ShutUp", and can be downloaded here: "http://www6.zdnet.com/cgi-bin/texis/swlib/hotfiles/pcmag_info.html?fcode=000OHU". thickage April 19th, 2000, 10:01 AM One way to do it: Get the SHUTDOWN.EXE file from the NT Resource Kit. Create a batch file for your copy command, etc. then place the SHUTDOWN.EXE command at the end of the batch file. Place the shortcut to the batch file on the desktop and have the user run that instead of the START/SHUTDOWN sequence. If you need the SHUTDOWN.EXE file, let me know. There are also some switches that will assist the shutdown procedure. scotsmanscott April 19th, 2000, 10:37 AM The "shutup" program I referred to works on NT, and seems really good! You need to disable the shutdown using a system policy, and your users would have to shutdown using a small icon in the system tray. The utility allows you to eject your cd, execute programs, clear internet history, clear start menu options (find, documents,etc),empty "temp" directory, set reminders. Davide April 20th, 2000, 05:56 AM From http://www.ntfaq.com/ (http://www.ntfaq.com/:) ... You may also consider ShutdownPlus ( http://www.wmsoftware.com/shutdownplus ) which replaces the standard Windows shutdown and logoff dialog boxes. Shutdownplus allows you to run applications and stop services (stopping services only under NT/2000) at shutdown, restart, or logoff. Another method is to use a special GINA from http://wwwthep.physik.uni-mainz.de/~frink/nt.html which enables you to do this. In Windows 2000 this can be accomplished using Group Policy Objects. Go to the User Configuration - Windows Settings - Scripts (Logon/Logoff) and set the Logoff option. [This message has been edited by Davide (edited 04-20-2000).] virtualdr.com
Copyright Internet.com Inc., All Rights Reserved. |