Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Remote shutdown with UAC on?

12 Jan 2010   #1

Windows 7 Ultimate 64bit
Remote shutdown with UAC on?

Hi there i hope someone can help me with this its been driving me mad and googles taking me round in circles

I need to shutdown a server on the same network using the shutdown command like we used to when it was xp (now w7 ultimate 64bit).

After spending days on this now trying various things...

added remote desktop users & everyone & interactive to the local policies for "force shutdown from a remote system" also tried adding the computer ie WORKGROUP\LAPTOP5 as well but it will the fail to save the database

also tried using the runas (runas /user:server/admin) which appears to work but the server doesnt shut down. You get and initshutdown audit success in the logs though.

FINALY, tryed disabling UAC and now shutdown works as expected!

so i dont want to really run it with UAC off do I?
so my question is how do i get around this are there more advanced settings for UAC rather than the slider that ive missed somewhere?

hope some one can help id be very gratefull

My System SpecsSystem Spec

12 Jan 2010   #2

Windows 7 Ultimate x64

Just a quick question.

If this is the server... Why wouldn't you want this computer to be ran in full admin.

UAC is just a warning sign it won't screw the computer up if you dont have it off...

its just an annoying POS if you keep it on... Your choice.

what i did with my server is that i made my server do an auto boot into the admin account and then the reg has a lock command so that the server still loads its programs but as soon as it goes into the account, it locks itself.
My System SpecsSystem Spec
13 Jan 2010   #3

Windows 7 Ultimate 64bit

Hi there i wanted to keep uac on as it is sometimes used for some web use and id liked to have kept IE's protected mode on as you cant trust people to turn UAC on and off all the time.

I think ill take your sugestion onboard of having the admin account locked and having a standard user login for anybody that sits at at.

You'd think there would be more custom settings for UAC though really is it too much to ask for a box to tick allowing what i want rather than just a generic slider.

thanks for the reply
My System SpecsSystem Spec

13 Jan 2010   #4

Windows 7 Ultimate x64

The UAC is just to notify the user if he makes any major system changes.. ex. delete, undelte, uninstall programs, install programs.

I would do just that, If you are just going to use it as a server and leave the computer alone, you could leave it in ADMIN and then have the computer lock itself after boot up.

I mean or you can have it boot into a LIMTED user in which i would do s that way it doesn't have to lock itself but anyone tht wants to use the computer doesn't hav eo ome to you to ask for the password.

but if they try to uninstall or do any major changes to the computer... i will assure you that a nice little box asking for "your" admin password will come screaming their way. I did that on my moms computer because she has a tendency of not listening when i tell her to not download stuff she doesn't know about, especially when old ladies like to download screen savers with spyware hacked right into the exe file you know
My System SpecsSystem Spec
13 Jan 2010   #5

Windows 7 Ultimate 64Bit

There are a few types and switches to apply. Here's a couple of commands.

shutdown /s /m \\victim - Shuts down a remote machine called 'victim'
shutdown /r /m \\exchange - Reboots a remote machine called 'Exchange'

Some Servers do not respond favorably with the normal Shart > Shutdown, a command will almost always work.
My System SpecsSystem Spec
13 Jan 2010   #6

Windows 7

It helps if we know what OS is on the remote server you are shutting down. I'm assuming it is either 2003 or 2008. Both should work fine.

Make sure you are using an elevated command prompt. The title bar of CMD.exe should say "Administrator."
My System SpecsSystem Spec

 Remote shutdown with UAC on?

Thread Tools

Similar help and support threads
Thread Forum
Is remote shutdown and turn on possible using W7's Remote Desktop?
If it can't be done, what are the alternatives? Thank you. Edit: I just read how to shutdown with Remote Desktop and I'm going to try that out. So, the only remaining questions are how can I remotely turn on a workstation on a lan? Can I do it at a pre-determined time? What about remotely...
Network & Sharing
Remote Shutdown question
I have read and read and read on this issue and it seems i need to tweak my registry to perform a remote shutdown due to the fact I have Win 7 Home Premium.... Here's the Deal, I have 4 PC's on my home network and I want to be able to remotely shutdown all of them from my Laptop at night. ...
Network & Sharing
Remote shutdown curse!
This problem is driving me kabonkers. I have searched in google but it has just taken me around in circles. I have 3 computers in my house. My laptop is running Windows 7 Pro. My desktop is running Windows Vista Home and my other laptop is running Windows 7 Home. I've tried to remote shutdown one...
Network & Sharing
Remote Shutdown
I tried to remote shutdown an XP SP3 workstation from a windows 7 workstation. I used the following command: "shutdown /m \\huttesrv001.hutte.local /s /f" but I always get an error: "huttesrv001.hutte.local: Access is denied.(5)" where huttesrv001.hutte.local is the name of the remote...
Network & Sharing
shutdown remote pc on LAN
Greetings everyone, it's me again - this time with the second half of the Wake on LAN thread. I want to powerdown a remote PC simply by double clicking a desktop shortcut on my local machine, and it should be possible using the shutdown command. I have tried creating a new shortcut with...
Network & Sharing
Remote desktop shutdown
I am logging onto a 2nd PC in the same workgroup using a remote desktop, when logged on, I only get the option to log off or disconnect. I would really like to see options for shutdown etc but do not know how to enable this without logging on as the administrator, which I do not want to do. any...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:31.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App