• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 542
  • Last Modified:

Permissions for PStools

I am using the program PStools to start a program remotely inside my network.  However, I keep getting permission issues.  The script I am running to start the program connects fine then windows tells me Access Denied.  I am sure I need to give some kind of permission to my computer.  I can send the command from my domain server and it works.  Exact same command from a different PC doesn't.  I can't always use the server to send the command so I would like to figure out the permission issue.  Any help would be appreciated!
0
joemckamey
Asked:
joemckamey
  • 5
  • 4
1 Solution
 
ConUladhCommented:
The user you're running the script as probably needs to be an administrator on the target machine, is the user you're logging onto the DC as different from the user you log on as when you try it from another computer?
0
 
joemckameyGeneral ManagerAuthor Commented:
It is different and I gave that user access as an administrator.  Do I have to reboot to make that take affect?
0
 
ConUladhCommented:
Assuming you're using psexec you can include username and password in the command. So create a test local account on the target machine and add it to the local administrators group. Then when launching the command include the username and password.

Apologies if you're already doing this, I'm assuming you are curently relying on pasthrough authentication.
0
Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

 
ConUladhCommented:
and no you don't need to reboot
0
 
joemckameyGeneral ManagerAuthor Commented:
I don't do much command line work, so forgive me if this is elementary.  What is the syntax to include the username and password?
0
 
ConUladhCommented:
-u <username> -p <password>

0
 
joemckameyGeneral ManagerAuthor Commented:
THANKS!!
0
 
ConUladhCommented:
No prob, technically this is a workaround as i would think passthrough authentication should work but hey if it works and you're happy...:)
0
 
joemckameyGeneral ManagerAuthor Commented:
Actually the passthrough did work.  I wonder if it just took a few moments for the permissions to refresh.  I tried it before lunch and it denied but after lunch it worked.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now