Using Psexec with Windows Server 2003?

This question would be better fit for ServerFault.com, but nevertheless...

Up vote 0 down vote favorite 1 share g+ share fb share tw.

I'm trying to run a psexec command to a remote Windows Server 2003 machine. I run the following command: psexec \machinename perfmon. Msc -u machineadmin -p adminpassword -i -s The -i and -s flags will allow me to run the GUI for perfmon.

Msc on the remote machine's desktop interactively. I get the following error when I try to run the above command: Couldn't Access machinename Access denied I'm using psexec version 1.94 and I'm certain that the machinename, user, and password are correct. Does anyone know if there are known issues with psexec on Windows Server 2003 and whether or not there is a fix?

Windows-server-2003 psexec link|improve this question asked Jul 28 '09 at 21:20cmmacphe33 50% accept rate.

This question would be better fit for ServerFault.com, but nevertheless... A few suggestions: Use two slashes before the machinename e.g. \\machinename (maybe that's what you meant the StackOverflow escaped the backslash) *. MSC files are not usually directly executable remotely--you'll want to give the path to "c:\WINDOWS\system32\mmc. Exe" and then the parameters All parameters for psexec should go before the remote program and its parameters.

Is there really a reason to run the process as the System account ('-s') instead of just Administrator? All together, it should look something like this: psexec \\machinename -i -u machineadmin -p adminpassword "c:\WINDOWS\system32\mmc. Exe" "perfmon.msc.

The error says 'access denied'. You may not have the necessary privileges. Try connecting as an admin.

I am connecting as an admin. – cmmacphe Jul 29 '09 at 17:36.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions