Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Permissions for PStools

Posted on 2010-09-08
9
Medium Priority
?
534 Views
Last Modified: 2013-12-04
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
Comment
Question by:joemckamey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 8

Expert Comment

by:ConUladh
ID: 33630500
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
 

Author Comment

by:joemckamey
ID: 33630785
It is different and I gave that user access as an administrator.  Do I have to reboot to make that take affect?
0
 
LVL 8

Accepted Solution

by:
ConUladh earned 2000 total points
ID: 33630920
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
Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

 
LVL 8

Expert Comment

by:ConUladh
ID: 33630923
and no you don't need to reboot
0
 

Author Comment

by:joemckamey
ID: 33630980
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
 
LVL 8

Expert Comment

by:ConUladh
ID: 33631039
-u <username> -p <password>

0
 

Author Comment

by:joemckamey
ID: 33631072
THANKS!!
0
 
LVL 8

Expert Comment

by:ConUladh
ID: 33631119
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
 

Author Comment

by:joemckamey
ID: 33631198
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

Featured Post

2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

Question has a verified solution.

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

Article by: btan
The intent is not to repeat what many has know about Ransomware but more to join its dots of what is it, who are the victims, why it exists, when and how we respond on infection. Lastly, sum up in a glance to share such information with more to help…
Security measures require Windows be logged in using Standard User login (not Administrator).  Yet, sometimes an application has to be run “As Administrator” from a Standard User login.  This paper describes how to create a shortcut icon to launch a…
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…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

610 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