Skip to main content

Questions tagged [elevation]

The act of running a process or script with higher usage rights (e.g. Administrator account).

Filter by
Sorted by
Tagged with
0 votes
0 answers
56 views

Can I force a program to require UAC just to run UN-elevated?

This is the opposite of most questions like "how do I run elevated without triggering UAC?" Instead, I would like to restrict a program to require UAC anytime it runs (aka only ...
ETL's user avatar
  • 451
0 votes
2 answers
681 views

How to prevent / auto-deny permission elevation on Windows 10?

For example, occasionally Oracle Java will randomly lock the screen and ask for elevated permissions to try to install an update. This is extremely annoying when I'm flying a glider online in Condor ...
Steve's user avatar
  • 548
1 vote
1 answer
155 views

Need explanation: Why does "Run as administrator" not actually run as administrator?

Sounds like a similar question (when-i-click-to-run-as-administrator-it-dont-actually-runs-as-administrator) but its something different. Lets set the background: Active directory environment, large ...
Hefaistos68's user avatar
0 votes
0 answers
471 views

Launching an application with admin priviledge in non admin session

In our company, we maintain and deploy a native binary application to our clients' Windows 10 systems. They used to be able to execute it with admin privilege while being in a non admin session, but ...
ctinarelli's user avatar
0 votes
1 answer
1k views

Can't update wsl even when running PowerShell as admin

I'm trying to update my default WSL distribution and even though I'm running PowerShell as an admin I get this error. What am I doing wrong?
Adam Arold's user avatar
0 votes
0 answers
873 views

In an elevated Powershell prompt, why does Get-ScheduledTask always fail with "Catastrophic failure"?

I want to use Powershell to enable and disable a Scheduled task, but Get-ScheduledTask task cannot access all the tasks that appear in the Task Scheduler GUI. I read on StackOverflow that I should try ...
Charlweed's user avatar
  • 255
0 votes
0 answers
2k views

What causes remote desktop connection attempts to hang and then local Ctrl+Alt+Del to be ignored? Workaround without reboot?

I have a Windows 10 Pro machine running Terminal Server. I always have a single logged in session and never logout (only disconnect). Every so often it gets into a state where client RDP connections ...
scooter's user avatar
  • 101
0 votes
0 answers
518 views

How to change network connection to DHCP, as default user without administrator password?

I manage many remote Windows 7 and Windows 10 PCs that are logged on as standard users, where I log on to these via remote control program for necessary maintenance. The PCs are set up with a static ...
XLOB's user avatar
  • 1
1 vote
1 answer
772 views

In Windows (10 specifically) why can a user stop or start a service via services.msc but if attempting to do this via cmd require an elevated shell?

As the title suggests. I had a user who has rights to open services.msc and can start/stop/edit the services with no issue via the GUI. User cannot script the starting of a service (e.g. "net ...
yoonsi's user avatar
  • 111
0 votes
1 answer
2k views

Programatically start cmd with elevated rights

I have a bunch of JavaScript applications which all require a different version of Node.js. I have installed nvm for Windows and now would like to automate the process of starting them all with one ...
Storm's user avatar
  • 121
1 vote
2 answers
3k views

Elevated CMD / PowerShell from existing console of CMD / Powershell

I want know to if there is a command to launch CMD prompt or powershell in elevated privileges from an existing CMD / powershell console. Something along the lines of 'sudo' in *NIX where you don't ...
pragun's user avatar
  • 113
3 votes
1 answer
852 views

In a W10 batch file, how do I retain the current %username% when run elevated?

Sometimes in Windows 10 I want to temporarily grant administrator privileges to a Standard user, like when I'm logged in as that user and want to work without having to enter an admin user's password ...
user428697's user avatar
1 vote
1 answer
660 views

Always reject UAC prompt for a specific program

In Windows 10 (Enterprise, version 2004, build 19041), is it possible to always reject UAC elevation prompts for a specific application executable? This is for a legacy pre-installed internal ...
Elle Fie's user avatar
  • 121
1 vote
0 answers
530 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 ...
Kevin's user avatar
  • 11
0 votes
1 answer
944 views

How to set the default user for authenticating a pamac command on Manjaro Linux

I recently added another user to my Linux installation, which I myself also use. When I try to execute the pamac command, It has always asked for authentication with this header: ==== AUTHENTICATING ...
Oreborous's user avatar
  • 115
1 vote
1 answer
4k views

Does porttalk work in Windows 10?

Porttalk is a driver that enables applications to access hardware's I/Os directly, like it was possible in Windows 98. Porttalk consists basically of two files: porttalk.sys: The actual driver ...
arminb's user avatar
  • 238
1 vote
3 answers
1k views

Is there a way I can make a shortcut itself execute a program as Administrator

Backstory: I have an older Windows 10 PC that I use for some testing. It's always been clean of malware but it gets slower after it's been on for a while. Some of the programs I use on it take a ...
Regular Jo's user avatar
5 votes
2 answers
2k views

On Windows 10 global hotkeys of nonelevated apps do not work from elevated apps

I run some apps on startup like Greenshot, Winamp, that have registered global hotkeys. But these hotkeys do not work in apps that I run with Administrator privileges, so to use hotkeys I first need ...
Petr Kun's user avatar
0 votes
1 answer
637 views

How can I keep the working directory of the invoker (outer) batch file, for the invoked (nested/inner) batch file?

Let me explain what did I mean. I run cmder.exe (via init.bat) inside a cmd.exe console window. See the attached GIF. For this purpose I wrote a little batch script cmr.bat shown below. It does work ...
AlexMelw's user avatar
  • 121
1 vote
0 answers
1k views

Grant Standard user to run one EXE file as an Admin using GPO

I have a domain in Server 2008 where we use a certain program which updates periodically. The domain users do not have any kind of Domain admin or local admin privileges. I would like to create a GPO ...
Dhrumit Patel's user avatar
1 vote
1 answer
9k views

Drag and drop (or copy/paste) into Program Files in Windows 10 [duplicate]

I would like to move a folder from Downloads into Program Files. It used to work in older Windows versions (e.g. 7), but I can't do it in Windows 10 (Version 1607). I tried the following, it always ...
jdm's user avatar
  • 2,085
0 votes
2 answers
4k views

How to run batch file elevated if I know the password?

How can I run a batch file using an elevated account without the UAC dialog popping up, If I know the password for the account I am trying to use? I am looking for a pure batch/powershell answer, if ...
cascading-style's user avatar
1 vote
2 answers
6k views

Elevation: Accquiring the Admin Token in Administrator vs Standard Accounts in Windows

I've recently been confused by how UAC works between Standard accounts and Administrator accounts, As we all know, when UAC is turned on, UAC allows Standard Accounts or Administrator accounts in ...
InterLinked's user avatar
  • 2,586
1 vote
1 answer
4k views

How to display kernel times and Admin processes in Windows 10 taskmanager?

I noticed that comparing to Windows 7, a lot has changed in taskmanager. There are mainly two features I am currently missing: 1.) show kernel times - was present in Win7, is now missing, why? 2.) ...
Erik's user avatar
  • 1,447
2 votes
2 answers
1k views

"Yes" is disabled in Windows 10 elevation dialog

I can't elevate to administrator on my installation of Windows 10. When I try, I get the normal message: Do you want to allow this app to make changes to your PC? There is a "Yes" button and a "No"...
Gerico's user avatar
  • 817
0 votes
2 answers
325 views

Why does the Windows Experience Index assessment require elevation?

What does the assessment do that can't be done under standard (limited) user permissions? And if the action(s) that necessitate elevation were allowed to be run by a standard user without elevation, ...
Dan Henderson's user avatar
3 votes
2 answers
4k views

Locked out of Admin Account

I created an admin account in windows 7. Did the "Special Accounts" registry edit to hide the admin account. Changed the current logged in user to a standard account and restarted the computer. The ...
Bmoe's user avatar
  • 131
0 votes
0 answers
155 views

"Run as administrator" failing without message on Windows8.1, but "Run as different user" and consecutive "Run as administrator" working

Run as administrator now is broken the second time for me again after recreating user account locally. Neither on the command line nor via the context menu I can run as programs as an administrator ...
till's user avatar
  • 274
11 votes
5 answers
6k views

Run un-elevated command from an elevated prompt?

Is it possible to run a command without elevated privileges from batch file that was run with elevated privileges?
laggingreflex's user avatar
1 vote
2 answers
5k views

Check for elevation at command prompt [duplicate]

I'm trying to find a way to authoritatively show whether a command prompt is running elevated or not, from the command prompt (CMD.exe), on a stock Windows installation. Most methods I've seen rely on ...
Iszi's user avatar
  • 14k
1 vote
1 answer
77 views

How can I tell if my script is being run in elevated mode?

This is mainly to change the prompt for elevated shells in Cygwin. I need to know a fast command of either Windows or Cygwin that tells me whether i'm elevated in Windows 7.
LatinSuD's user avatar
  • 1,296
0 votes
1 answer
70 views

Query regarding UAC and editing files in Windows system folders

If I try to edit a text file in a system folder such as Program Files or Windows with Notepad (or an image with Paint, or... you get the idea) and then save it I get an "Access denied" error. Now I ...
A_r's user avatar
  • 1
1 vote
0 answers
199 views

Can I set Ubuntu or Fedora to use a UAC-style prompt when something fails due to privileges?

Can I set Ubuntu or Fedora to use a UAC-style prompt when something fails due to privileges? As in, in Nautilus, when I open a .run installer and it requires root, can I have it automatically burst an ...
vorboyvo's user avatar
0 votes
2 answers
2k views

How can I force elevation when working with security tab of file/folder properties in windows 7/2008?

In Windows 7 and above (maybe Vista), UAC comes to play when trying to assign permissions to files and folders via the security tab in file/folder properties. If I am a member of local administrators ...
Peter's user avatar
  • 121
2 votes
1 answer
1k views

Problems elevating permissions while running a batch (CMD) file

I’ve put together a batch (CMD) file that we use to check various things on select servers. What is posted below is almost everything (minus sensitive info). If launched with the proper command line,...
SOSidb's user avatar
  • 533
1 vote
1 answer
4k views

Find Out the TrustLevel of a Running Process

I can run processes with a specific TrustLevel like this: RunAs /TrustLevel:0x20000 process.exe But, how do I find out the TrustLevel of a process that is already running? Is there any app available ...
Elmo's user avatar
  • 14.8k
2 votes
1 answer
691 views

Run process which "requires" elevation as non-elevated process or make it "think" it's "elevated"?

I have application which I don't want to tamper with my system settings, they require me to run them as administrator but I don't want that. I am 100% sure the applications will work without elevated ...
user avatar
1 vote
0 answers
56 views

Generic way to allow drag and drop to an elevated process? [duplicate]

On Windows 7 (and I think also Vista) an elevated process will not by default accept items dragged and dropped onto it. I have a few programs which I have to run elevated, which is nicely accomplished ...
0xC0000022L's user avatar
  • 7,414
1 vote
0 answers
66 views

I get no elevate dialog anymore

Whenever I launch a program, try to save files in 'C:\Program Files' and more, I don't get the Administrator Privileges dialog anymore. (Started about a month ago) I can't run the chrome flash plugin ...
omni96's user avatar
  • 31
2 votes
1 answer
1k views

Current user (not admin) appears in "Run as Administator"

When I try to run some program as administrator, I always get dialog box asking me to choose user and type password. But I also get it with normal user, say, George. Moreover, I have logged in as ...
George Sovetov's user avatar
1 vote
0 answers
106 views

Is there a tool that will automatically fix programs requesting elevation when they don't need it

I have heard of the external manifest trick to get programs not to ask for elevation when they really don't need it. Is there a program that will automatically modify or add a manifest to an ...
Chase's user avatar
  • 169
5 votes
2 answers
7k views

Windows 8 Task Manager without elevating?

In Windows Vista and Windows 7, the task manager ran non-elevated, and you didn't face a UAC prompt unless you chose "View Processes of All Users". In Windows 8 Preview, out of the box the Task ...
Ben Voigt's user avatar
  • 7,316
7 votes
2 answers
16k views

Start elevated command prompt in %UserProfile% directory by default?

When I start an elevated Command Prompt in Windows 7 or Windows Vista, the initial directory is the %SystemRoot%\system32 directory. This is the default Windows behavior, and is not a problem ...
Merlyn Morgan-Graham's user avatar
12 votes
1 answer
1k views

How to deny elevation to a program?

Does Windows have an "automatically deny elevation request" list? If a user is a "standard user", it is possible to have Windows automatically deny any elevation requests by changing the ...
Ian Boyd's user avatar
  • 22.7k
0 votes
1 answer
2k views

Windows Task Manager: How to see elevation status? [duplicate]

Possible Duplicate: How can I tell whether a process is running with administrator permissions? Windows 7 Task Manager, Processes tab. When I run a programm, batch ... elevated (run as ...
Horst Walter's user avatar
  • 2,063
7 votes
2 answers
465 views

I want to make an item on a Windows 7 Jump List run as administrator

Only occasionally I have to open a Visual Studio project with a VS instance running under admin. This is a little inconvenient because I can't use the short-cut for that project in the VS Jump List. ...
ProfK's user avatar
  • 2,711
1 vote
1 answer
2k views

How do I use RUNAS with the Administrator account disabled in Windows 7

My user account is an administrator account (well in the Administrator group technically). As I understand this I am always running in the standard user context except when elevation is required, ...
mindless.panda's user avatar
2 votes
3 answers
17k views

Is there a way to extract elevation data from Google Earth?

I'm searching for a way to get "elevation" data from Google Earth maps in a file and then to do level curves. Do you know one?
kokbira's user avatar
  • 5,419
8 votes
2 answers
18k views

How do I easily elevate when running a .jar file?

When trying to run an installer Jar file, I am getting an error saying that write access is denied to create a directory under the Program Files folder. Right click -> Run as Administrator is not ...
Merlyn Morgan-Graham's user avatar
5 votes
2 answers
3k views

Force running a program as non-administrator in Vista

I've just installed, on Vista 32-bit, a program which in my opinion shouldn't require administrator rights. It's not installed in a system directory, and its purpose shouldn't obviously require any ...
Peter Taylor's user avatar