[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Shutdown PC remotely as another user.

Posted on 2005-04-07
2
Medium Priority
?
1,604 Views
Last Modified: 2008-01-09
Hi Experts , I have a question about remote shutdown in a Windows based Network.I need to shutdown a remote PC (XP Pro ) from XP Pro PC.
ok let's say, the source one is PC1 and the target is PC2(to be shutdown).
On PC1 I'm  connected as a regular user.I know the Administrator's username nad password for PC2.
If I create the same administrator user on PC1 with the same password and log on , using command prompt, when I issue
shutdown -r -m \\PC2 -t 30

it works , but when I 'm logged as a regular user on the local computer- Access is denied.
Is there a way to run this when I'm connected as regular user on PC1.
I do  not want to use Run as command to run the command prompt as Administrator and issue the command.
I want to automate this.
So , my question is , is there a way to automate shutdown process on a remote pc, when I'm connected on the local one as a regular user for that local PC and know the Administrator username and password for the remote PC.
0
Comment
Question by:adrian_ang
2 Comments
 
LVL 6

Accepted Solution

by:
youre1m earned 750 total points
ID: 13724765
Yes. Map a drive to from pc1 to \\pc2\c$ and uthenticate using the admin account and password. Now you will  have access to shut the machine down remotely.
You could put this into a .bat file if you wanted:

net use z: \\pc2\c$ /user\administrator password
shutdown -r -m \\PC2 -t 30
0
 
LVL 5

Author Comment

by:adrian_ang
ID: 13770387
I just want to investigate further :

shutdown \\Computername\share password /user\Administrator

if someone else experience that probelm and searches EE.

Thank You , youre1m!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month17 days, 23 hours left to enroll

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question