Questions tagged [elevated]
The elevated tag has no usage guidance.
19
questions
1
vote
1
answer
568
views
Run a Powershell command from a batch script as administrator [closed]
I'm currently writing a batch script that needs to invoke a single Powershell command as administrator.
The batch script is already running in elevated mode.
I have tried the following but it fails ...
-1
votes
1
answer
2k
views
remove exe privileges requirement
Epic Games Launcher requires administrator (elevated) privileges to run games such as GTA V.
I don't want to give my son those privileges, and I don't want to always be around to start the game.
The ...
5
votes
5
answers
100k
views
Run PowerShell script as a different user and elevated
I know this looks like a duplicate question, but I've tried the solutions and they haven't worked for me.
We need to run a script with our domain accounts but also execute it elevated. This isn't an ...
1
vote
0
answers
506
views
Force exe to run in NON ELEVATED mode from Task scheduler
I am admin user. I have 32 bit exe which I have scheduled it from task scheduler to run at every night. Though it is running in elevated mode. How do I force it to run in non elevated mode. I did try ...
0
votes
0
answers
55
views
Mechanisms to be root after ssh login (w/o using sudo)
Our servers are set-up in a way, that after ssh'ing to them using our userid ssh my_user@server(I am immediately greeted with [root@server ~]#
The command id confirms that, indeed, I am root.
However,...
1
vote
2
answers
2k
views
Evaluate text expression
I have a text expression written with single quote in front '-a+b. Then it's substituted as in the image.
I want to evaluate the expression in yellow (evaluate to 4) instead of displaying like that.
...
0
votes
0
answers
92
views
Windows 10 start menu entry missing that target same exe [duplicate]
I want two entries in the Windows 10 Start menu for the same application:
one for normal Start and another one for Start as administrator (elevated), so I no longer need to use the context menu.
I ...
4
votes
1
answer
4k
views
Why can we not "Run as administrator" a batch file with @ in the path?
So we just discovered this weird quirk. Easy enough to avoid but curious if any of the experts here know what's happening.
It seems that if you try to use the right-click "Run as Administrator" on a ...
0
votes
1
answer
1k
views
Open elevated cmd from msys in current directory
I often find myself in need of running a command in msys2 in an elevated cmd shell. How can I quickest open an elevated cmd in the current directory from msys2?
I tried this answer: https://...
0
votes
1
answer
429
views
Automate credentials entry when running elevated in Windows 10
I run a non-admin user account in Windows 10. Also, I have some administrator domain credentials I'm free to use. When Windows needs to run an app elevated, I get a prompt for user/password.
Is there ...
0
votes
2
answers
2k
views
Starting a windows service with net.exe without showing the console window
I want to start a service silently with the net.exe command from a non elevated bat file. But I only want the UAC prompt to be asked for the net.exe and after that I don't want the console window to ...
-1
votes
1
answer
1k
views
how running a program elevated [closed]
I have two computers, say A and B, both running Windows 10 , build 1709,and having :
current User only in Local group "users"
with Local Administrator Account : enabled
UAC : Enabled
Printer ...
0
votes
1
answer
1k
views
How to automatically start cmd file as administrator after installing Windows 10
I am building Windows 10 with autounattend.xml to automate Windows 10 installation.
I also trying to automate installation of programs, that will install after first login.
I create these folders x:\...
2
votes
0
answers
2k
views
"Run as Administrator" context menu item missing after upgrade from XP to 7
I have upgraded from XP pro to 7 ultimate (32bit)
If I leave UAC settings default, I have no "Run as Administrator" menu item in the contextual right-click menu onto an executable. Additionally, ...
1
vote
1
answer
886
views
User rights to read/write win.ini in windows 8.1
I use a program in Windows 8.1 Pro that needs full read/write rights to win.ini.
- Logged in as administrator
- UAC is disabled
- Applications and administrators have full rights to modify win.ini. ...