?
Solved

Permissions for PStools

Posted on 2010-09-08
9
Medium Priority
?
527 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Recently, I read that Microsoft has analysed statistics for their security intelligence report. It revealed: still, the clear majority of windows users do their daily work as administrator. An administrative account is a burden, security-wise. My ar…
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 this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses
Course of the Month8 days, 22 hours left to enroll

764 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