Welcome Guest ( Log In | Register )




Collapse

Top Submitters

· NickTheGreek (127)
·  (127)
· www.yourforum.gr (61)
· nickpar (20)
· Big (1)

Collapse

Random Tutorials

Get Your nod32 working, for all 3.x versions

Tutorial name: Get Your nod32 working, for all 3.x versions
Submitted by: www.yourforum.gr


Collapse

Announcments


Welcome to Tutorial System!


Print this Tutorial 

How-to : Pass a username and password to Windows shutdown.exe command.

Tutorial Information
Name: How-to : Pass a username and password to Windows shutdown.exe command.
Submitter: www.yourforum.gr
Category: Windows Tutorials
Submitted: 23 Nov 2011
Updated: 23 Nov 2011
Views: 680
Rating: This tutorial is unrated.
How-to : Pass a username and password to Windows shutdown.exe command.
View All Tutorials By This Member
View Discussion Topic
Description:
Here was my scenario I found myself in not to long ago. I have an Active Directory domain with a server outside of the domain in it¢s own workgroup. It used different credentials for the administrator account then what the domain uses. One day it stopped responding to RDP and several control programs we have on it so we needed to do a reboot.

Tutorial Instructions
Here was my scenario I found myself in not to long ago. I have an Active Directory domain with a server outside of the domain in it¢s own workgroup. It used different credentials for the administrator account then what the domain uses. One day it stopped responding to RDP and several control programs we have on it so we needed to do a reboot.

No problems right? just type in the command below:

CODE
shutdown /r /t 3 /m \\ServerName


Not so right, right off the bat we get ServerName: Access is denied.(5)

That¢s right we do not have permissions “Yet”… But how do we send permissions to shutdown.exe ? If you do a shutdown /? you will find no switches for username and password but there is a way around this.

We will connect to the servers IPC$ and authenticate then we will run our command. Here is what you do:

First lets make a connection and authenticate by running the following cmd:

CODE
NET USE \\MyServer\IPC$ mypassword /USER:myuser


If successful then we are now ready to run the shutdown cmd in the same window:

CODE
shutdown /r /t 3 /m \\ServerName


Wait a few seconds and and you should get back your prompt which tells you the command was sent successfully. You now have authenticated and sent the shutdown cmd to a remote server using different permissions.

I hope this helps someone out there

Enjoy

Cubert @ squidworks.net

http://www.squidworks.net/2011/07/how-to-pass-a-username-and-password-to-windows-shutdown-exe-command/
Comments
There have been no comments made as of yet. Why not be the first?



1 user(s) active
Active Users 1 guests, 0 members, 0 anonymous members
Sorted by Last Click
Quick Stats
Board Stats There have been a total of 244 tutorials in 6 categories and 0 sub-categories with 117022 views and 24 comments
The newest tutorial is How to Add “Move to” or “Copy to” to Windows 10¢s Context Menu by NickTheGreek

RSS Lo-Fi Version Time is now: 20th June 2025 - 11:16 PM
Skin and Graphics by Dan Ellis and Anubis. Hosting by Forums & More © 2005-2011.
InvisionGames - Your #1 Arcade Games Repository | AllSigs - Signatures for all | Rock Band + Guitar Hero = RockHero ! | The Remoters - Remote Assistance | FileMiners - You ask, We find