- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Microsoft
- >
- Automatc timed shutdown
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2004 09:19 AM
тАО02-06-2004 09:19 AM
Automatc timed shutdown
I have a network of about 300 win NT, 2K and XP machines. Unfortunately it is proving impossible to get users to shut down their PC's. Does anyone know of any utilities that will shut down a pc if it is still on at a certain time? I have tried using the login hours in the user manager but it doesnt log the user off.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2004 07:02 AM
тАО02-07-2004 07:02 AM
Re: Automatc timed shutdown
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2004 08:08 AM
тАО02-07-2004 08:08 AM
Re: Automatc timed shutdown
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2004 08:27 AM
тАО02-07-2004 08:27 AM
Re: Automatc timed shutdown
read this:
http://support.microsoft.com/default.aspx?scid=kb;en-us;317371
http://support.microsoft.com/default.aspx?scid=kb;en-us;814761
There seems also a nice tool here:
http://helpdesk.kixtart.org/
Another idea:
SHELL "%windir%\RUNDLL32.EXE user.exe,ExitWindowsExec"
SHELL "%windir%\RUNDLL32.EXE user.exe,ExitWindows"
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2004 03:19 PM
тАО02-07-2004 03:19 PM
Re: Automatc timed shutdown
If you have it run from the server (2000 or 2003, you can feed it a list of systems to shutdown, and schedule the shutdown through either "Scheduled Tasks" or the AT command.
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\Documents and Settings\Administrator>shutdown
Usage: shutdown [/i | /l | /s | /r | /a | /p | /h | /e] [/f]
[/m \\computer][/t xxx][/d [p:]xx:yy [/c "comment"]]
No args Display help. This is the same as typing /?
/? Display help. This is the same as not typing any options
/i Display the graphical user interface (GUI).
This must be the first option
/l Log off. This cannot be used with /m or /d option
/s Shutdown the computer
/r Shutdown and restart the computer
/a Abort a system shutdown.
This can only be used during the time-out period
/p Turn off the local computer with no time-out or warning.
This can only be used with /d option
/h Hibernate the local computer.
This can only be used with the /f option
/e Document the reason for an unexpected shutdown of a computer
/m \\computer Specify the target computer
/t xxx Set time-out period before shutdown to xxx seconds.
The valid range is 0-600, with a default of 30
/c "comment" Comment on the reason for the restart or shutdown.
Maximum of 127 characters allowed
/f Force running applications to close without forewarning users
/d [p:]xx:yy Provide the reason for the restart or shutdown
p indicates that the restart or shutdown is planned
xx is the major reason number (positive integer less than 256)
yy is the minor reason number (positive integer less than 65536)
Reasons on this computer:
(E = Expected U = Unexpected P = planned, C = customer defined)
This will shutdown an NT, 2000, XP or 2003 system.
But.... enforcing the logon hours through group policies (force logoff) "should" have worked.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2004 04:59 AM
тАО03-17-2004 04:59 AM
Re: Automatc timed shutdown
Best regards
Pedro Pinto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2004 07:39 PM
тАО03-17-2004 07:39 PM
Re: Automatc timed shutdown
My address is john.orme@howcogroup.com
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2004 06:11 PM
тАО06-27-2004 06:11 PM
Re: Automatc timed shutdown
Ok........... this is the common prob for Sys admins ..........Fine We have solution for this ( a simple program may be in vb or vc++ )
If you use following function in the program ( written in vb6, vc++ ) you can shutdown any computer in the network , Just povide the Comp name or IP address as a parameter to this function or you can check this site www.andreavb.com
The InitiateSystemShutdown function initiates a shutdown and optional restart of the specified computer.
To record a reason for the shutdown in the event log, call the InitiateSystemShutdownEx function.
BOOL InitiateSystemShutdown(
LPTSTR lpMachineName, // computer name
LPTSTR lpMessage, // message to display
DWORD dwTimeout, // length of time to display
BOOL bForceAppsClosed,// force closed option
BOOL bRebootAfterShutdown // reboot option
)
Header: Declared in Winreg.h; include Windows.h.
Library: Use Advapi32.lib.
Regards,
Rahul