runas is a Windows command which allows a user to run a specific program under the credentials of another user.
Questions tagged [runas]
322 questions
-1
votes
1 answer
Win7 Runas Administrator rights but user can kill that process
I use win7 Pro 32bit. I have a c:\record.bat file. This bat file run ffmpeg.exe with some parameters to capture desktop screen and save to video .mp4 files.
When I logon with Administrator account, it works well. The Task Manager show that…
-2
votes
1 answer
powershell script - help please - run as
Good day,
please help with powershell script.
I run PS Script with a monitoring tool that runs under the system account as a service. If I change to a user account, then one bat script will not terminate the process to be terminated.
I am writing a…

esetman
- 1
- 1
-2
votes
1 answer
windows Runas always returns "The System cannot find the file specified"
Windows runas.exe application does not work when I use the same syntax shown in runas /?. For example one of the usages shown is, runas /trustlevel program, however, when I use runas /trustlevel<0x20000> calc I get "The system cannot…

VanenDallas
- 13
- 3
-2
votes
1 answer
run as administrator bat file
I have a "conf.bat" file which is set path so that I need to run as admin but I do not want create shortcut. I want to do in bat file by using command?
I want to run as bat file by run as admin I can do using command prompt. When I click bat file,…

dincer.unal
- 67
- 1
- 2
- 13
-3
votes
2 answers
compile a C program that can run as admin without manual settings
okay~ i have searched for this question ,but the ans always solved C++ or C#
i want to fopen ("C:\\myfile.txt","w"); it will permission denied .
how can i compile a C program can run as admin without any manual setting?
i'm using wxDEV-C++…

郭維倫
- 39
- 6
-6
votes
2 answers
How to check if another user of me can access on this current page
In my app I want to check if another user of the app can access a specific route.
How to use the security compoment of Symfony to load the target user context and check the right as if the user call the URL ?
EDIT :
I known the documentation of…

Jean-Baptiste N.
- 21
- 5