SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
RunAs issue

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
RunAs issue
Author Message
revo1059



Joined: 09 Feb 2017
Posts: 2
Country: United States

Post RunAs issue Reply with quote
Hello, I'm trying to use runas on a non domain (standalone) workstation to let a non admin user run a program. When I try using it under the non admin user OR the admin user I get

RunAs version 2.2.1
Copyright (c) 2003-2007 SoftTree Technologies, Inc.

Logging in as .\admin...
Setting user environment...
Logged in. Impersonating...
Starting process c:\windows\notepad.exe...
Error #1314: A required privilege is not held by the client.

Note: User account running RunAs must be assigned "Act as part of the operation
system" rights and also have "Create token" rights. User account used to run the
process must be assigned "Logon as a batch job" rights.

I've verified that the requirements in the Note are set as directed. Not sure where to go from here.
Thu Feb 09, 2017 2:07 pm View user's profile Send private message
revo1059



Joined: 09 Feb 2017
Posts: 2
Country: United States

Post Reply with quote
Using the /V switch I get the following as the non admin user:

RunAs version 2.2.1
Copyright (c) 2003-2007 SoftTree Technologies, Inc.

Logging in as .\admin...
Setting user environment...
Error #1314 loading user profile! Error ignored.
Error #5 setting user environment! Error ignored.
Logged in. Impersonating...
Binding new process to the user Desktop...
Starting process c:\windows\notepad.exe...
Error #170: The requested resource is in use.

Notepad is not in use and the admin account is not logged in, so I'm not sure what resource is is use. This is a Windows 7 Pro VM. I'm the only user connected.
Thu Feb 09, 2017 2:16 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7833

Post Reply with quote
Quote:
Note: User account running RunAs must be assigned "Act as part of the operation
system" rights and also have "Create token" rights. User account used to run the
process must be assigned "Logon as a batch job" rights.

I've verified that the requirements in the Note are set as directed. Not sure where to go from here.



From your second post it looks like you resolved that issue. You now have all required permissions effective, and you can login as .\admin, but now you get stuck with "The requested resource is in use." The error comes from Windows. The message is too generic to know what's exactly is in use. Please try https://www.google.com/#q=windows+7+starting+process+170+%22The+requested+resource+is+in+use and see if anything in the search results looks similar to your case.

One general recommendation is to try restarting the computer. That normally fixes all kinds of file and resource locking issues.
Fri Feb 10, 2017 4:19 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.