![]() |
Remote Server Shutdown
Is there anyway I can remotely shut down a server running Windows Server 2003?
The box is wired to my router which is then wirelessly connected to my laptop. I know that when I shut the server down normally I have to put in a reason for it being shutdown. What I'd like to be able to do is send a command from the laptop that just shuts the server down straight away. Anybody know if this can be done? |
Re: Remote Server Shutdown
if the laptop is XP you can use:
shutdown /r /m \\servername in the "run" prompt add the switch "/f" if you want to force all programs to close immeadiately __________________ all switches work equally well with a dash, -m, -f, -r etc. |
Re: Remote Server Shutdown
Ok, tried that.
I keep getting an Access Denied message. I can ping the server ok though so it doesn't appear to be a connectivity problem. |
Re: Remote Server Shutdown
put "shutdown /?" into a command prompt for a full list of available switches
|
Re: Remote Server Shutdown
Do I need to supply a reason code ( /d )?
It normally asks for a reason when I shut down from the server. Ohhh..... Thinking about it, my account on the Laptop doesn't have Admin rights on the server, could that be it? |
Re: Remote Server Shutdown
Quote:
|
Re: Remote Server Shutdown
Quote:
|
Re: Remote Server Shutdown
Quote:
yes, you will need admin rights __________________ just imagine if M$ had created a Server OS you could shut down remotely without admin rights.. lol, it would be an sysadmin's worst nightmare |
Re: Remote Server Shutdown
Is there any way that I can run the shutdown command AS another user (ie as an Admin acount from the Server)?
I know the Username and Password. __________________ Quote:
|
Re: Remote Server Shutdown
can't you add your laptop account as an admin on the server?
|
Re: Remote Server Shutdown
I could do, I was trying to resist doing that though as I didn't want the profile that I'm logged in as at the moment to be continually connected to the server with Admin rights.
I suppose that's the only way I'm going to be able to do it though. |
Re: Remote Server Shutdown
Quote:
Quote:
Bear in mind that the program uses the account you specify, so if you specify account that doesn't have access to your local system, you might run into problems. |
Re: Remote Server Shutdown
nice one stu :tu: I was hitting google while you typed that
|
Re: Remote Server Shutdown
Still can't get it to work, I keep getting a message that the login/password is incorrect.
I know that both are right, so I'm not sure what's going on. I think this might be a topic that I have to have another look at in the morning, my eyelids are starting to close now. Thanks for the help tonight guys. |
Re: Remote Server Shutdown
In other news, Windows users discover sudo.
|
Re: Remote Server Shutdown
Is that before, or after, they've uninstalled FF and gone back to IE ( ;) )?
|
Re: Remote Server Shutdown
Quote:
|
Re: Remote Server Shutdown
I can successfully ping the server so I don't think a firewall is the issue, all other connectivity is fine.
I think it's something to do with the way that the local machine's account is set up. I'm going to go through the server settings tomorrow when I get a chance and make sure I haven't missed anything obvious when I've set the accounts up. |
Re: Remote Server Shutdown
We have a thing called "shutgui" that closes servers remotely when they're stuffed. It only works if you first map a drive to the server, and supply the administrator username/password...
Oh and instead of domain, you can use the server name in scastle's runas command. |
Re: Remote Server Shutdown
Quote:
__________________ By the way, have a look at this which you might find easier than the bog-standard Windows commands ;) __________________ Oh, and Sysinternals software rocks and everyone should have a look at their site cause they've got so much cool stuff for all sorts of situations.. and it's free :tu: :) |
Re: Remote Server Shutdown
Quote:
|
Re: Remote Server Shutdown
Quote:
[edit] The filtered word starts with p and has rick after it. |
Re: Remote Server Shutdown
Quote:
My ears are *****ed up as well..... [edit] The filtered word starts with p and has rick after it. |
Re: Remote Server Shutdown
Quote:
|
Re: Remote Server Shutdown
ooooh.
Good site, thanks :) |
| All times are GMT. The time now is 09:29. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum