Advertisement

02.03.2008 at 04:40AM PST, ID: 23133081
[x]
Attachment Details

PSEXEC - Access Is Denied

Asked by kevin_uk05 in System Utilities, Windows 2003 Server

Tags: SysInternals, PSEXEC, 1.56

Hi,

I am hoping someone can give me some clarity regarding an issue i am having. I think i know the answer but just wanted to put it out there, to see whether if anyone is able to advise otherwise.

We are using PSEXEC with an account that does not have Administrative rights to the destination server. When typing the following command i receive: psexec -s \\servername cmd

       Couldn't access servername:
       Access is denied.

Once connected to the remote host i want all the commands to run using the local system account, as specified with the "-s" switch.

Am i right in thinking that the initial conection to the servers uses the credentials of the user initiating the connection, but once successfully connected to the server any subseqent commands are then run using the local system account?

Is there anyone to have PSEXEC successfully connect to a remote host with a user that is not an administrator on the server?
Start Free Trial
[+][-]02.03.2008 at 06:39AM PST, ID: 20808764

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.03.2008 at 06:49AM PST, ID: 20808792

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.03.2008 at 06:58AM PST, ID: 20808817

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.03.2008 at 10:34AM PST, ID: 20809481

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.03.2008 at 10:35AM PST, ID: 20809484

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.03.2008 at 04:26PM PST, ID: 20811121

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: System Utilities, Windows 2003 Server
Tags: SysInternals, PSEXEC, 1.56
Sign Up Now!
Solution Provided By: franked_it
Participating Experts: 3
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628