Question Locked

How to do a timed remote shutdown..

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a reason for asking the above.
I am on a network. I am a pc technician.
Thing is. My co-worker is downloading pornography after hours. I dont want him to get into trouble. but, shuting down his pc a while after we all leave, will put a damp in his "activities". His downloading is automated as we all leave the premises after working hours.

All I want to do is run the following from command prompt:
shutdonw -s -m \\name -t 1800

(30 minutes)
but i get a access denied error...
I believe it is due to access rights.
we have a windows 2003 server runing on our network which consists out of 9 pcs.
My co worker is my senior, and reporting his activities is not an option for me as i dont want to get actively involved in a situation...
call me lazy...
he is smart, so client software on his pc will be noticed...

plz help...
or any other recomendations will be accepted.

9 replies

by jhowell

In order to do the remote shutdown you must have sufficient rights on the remote machine. Otherwise use the -u and -p options in the command. If you are using the windows scheduler to run the command, take advantage of the ability to change the run as user.

by xzileoutcast

How do I go about getting rights on his PC?
Where do I do what?
Let me put it this way, I have administrator status... Just not the necessary skills...
:-|

by jhowell

Is that administrator rights on your machine or on a domain (assuming your office is not just a workgroup of stand alone workstations)? If it is only to your machine, then you will be unable to execute the shutdown on the remote machine with out using a login that has adminitrativr rights on the machine. An easy check is to try to connect to the administrative shares on the remote machine. From the "Run" enter \\RemoteMachineName\c$ if you see a explorer window with the contents of the machines C drive then your account has the needed rights.

by hitendra_mistry2004

It is giving an error Network path not found when i try to shut down a system with diffrent network.

by cg it

what does shutting down his comp accomplish? stopping downloading porn? or just messing with him?

he'll figure he didn't get his download, check the event viewer and see logon /logoff times and know the computer was turned off. Then change the time... so all you've accomplished really is stopping one download and messing with him.

If you don't like the guy enough to spend time messing with him, might as well turn him in and get him a warning or depending upon the companies policy, fired.

by triathlete1981

had to do it at my place. the same ip was downloading porn during work hours. produced reports for about a month. presented them to mgmt (as mgmt requested). next day, the guy wasn't there anymore.

if you change is logon times to stop at 5pm, all he's going to do is download porn during the day and sap bandwidth.

can the guy. better you than me is my philosophy.

by vectored

I apologize, but your all making it sound like this is the only solution... BAT files are useful, but in this case, since you have administrative permissions, I suggest looking into GPO's. I have had to do similar stripping of priveledges on the network I manage. You can prevent downloading completely without having to know what program or site he is using to get the goods.

by ic-it

it is nearly three years too late. ;-)

I would like to know what happened though. :-)

This discussion is closed to new replies.