Questions tagged [uac]

User Account Control is a technology on Windows Vista and up that improves security on systems by limiting processes to standard user privileges until an administrator manually authorizes privilege elevation.

Filter by
Sorted by
Tagged with
0
votes
1answer
37 views

Is it possible to bypass install UAC prompt without registry editing (Windows 10) [closed]

My computer is controlled by an admin and, as such, I can't run app installer programs. I trust you can imagine how inconvenient this is for me. I have tried the RunAsInvoker command in PowerShell, ...
0
votes
0answers
16 views

Can´t save file on moved USB drive from some programs

I have just bought a new computer and moved 4 USB extended harddrives and connected to the new computer. 3 works fine but on one drive I constantly got "you need to have admin rights" to ...
0
votes
0answers
14 views

Run a NON-ELEVATED command from an already elevated batch file in Windows 10 [duplicate]

I have a batch file that runs at startup with admin privileges (using Task Scheduler) and does some maintenance tasks. However, there is a problem. I have a certain maintenance task I need to do which ...
0
votes
1answer
50 views

PowerShell self-elevating script does not work if writing it as a function in user profile

Putting this code in a PowerShell script makes it self-elevating: if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole( [Security.Principal....
0
votes
0answers
44 views

Deleting a file on the command promt does not work

I want to programmatically delete all the files in some folders periodically. I tried to delete them with the "del" command and even with the /f option but the file just stays in place. cmd....
0
votes
0answers
19 views

User Account Control keeps turning on by itself after I turn it off [duplicate]

User Account Control keeps turning on by itself after I turn it off. How do I stop this? I don't have the Pro edition of windows so I don't have group policy editor. My windows user is an ...
1
vote
0answers
63 views

How can I find out what app has been blocked by my administrator in Windows 10?

My workplace has blocked the Microsoft Store and various other apps from running on our laptops for security reasons. I have no issues with that but I have noticed every so often when I unlock my ...
0
votes
0answers
29 views

Using ICACLS to only allowing Administrator to access a folder. All other users to be denied access

I need only Administrators to be able to access a particular folder. None other than Administrator should be allowed to access that folder. This has to be achieved using icacls command. I have used ...
8
votes
2answers
3k views

Disabling UAC on a work computer, at least the audio notifications

I have work laptop which is set to highest UAC notification setting. It is extremely annoying, especially the bleeboops when I try to launch the task manager. I am able to set UAC to never notify, but ...
0
votes
0answers
1k views

Exploit completed but no session was created

I was trying a pen-test on my PC by WSL and Kali and everything was fine until the payload was created and executed on my target PC, also getting a session back. After the first step, I get: msf6 >...
2
votes
1answer
46 views

How to give permanent UACs permission to an application?

I've installed some programs that always require permission to run (like aText, Cmder, clover .... etc), I gave them the permissions they needed once I installed them, but whenever I try to run them ...
2
votes
1answer
64 views

Command or keyboard shortcut to run 'cmd' as administrator in Win10?

I have the following scenario: I have a script (running on a Linux computer, but that's not very important) that logs on via RDP to multiple Windows 10 machines, brings up an elevated CMD window and ...
0
votes
0answers
28 views

Why does an UAC prompt appear when running MMC with the ADUC snap-in as a separate user?

I've saved a custom MSC file containing the ADUC snap-in; due to the way that my test environment is configured, I need to run the snap-in as a separate user with domain admin permissions (rather than ...
1
vote
1answer
5k views

Disable UAC for a specific program (Windows 10)

On Windows 8.1, the following registry change allowed a user with Administrator privileges to launch a particular application without the User Access Control popup warning about changes being made to ...
0
votes
1answer
21 views

How to allow a standard user run a specific application without admin password?

I made a standard account for a friend and we downloaded an application. However when opening this application, it asks to run as administrator and asks for the admin password. Is there a way I can ...
2
votes
0answers
153 views

Notepad++ stuck in Administrator mode, no solution but found a clue

I've notepad++ stuck in Administrator mode: stuck in Administrator Debug info: Notepad++ v7.9.1 (64-bit) Build time : Nov 2 2020 - 01:07:46 Path : C:\Program Files\Notepad++\notepad++.exe Admin ...
0
votes
0answers
17 views

How can I set up a secure Windows PC for gaming cafe?

How can I set up a secure Windows PC that can be used for gaming, but doesn't allow installing additional files, like in gaming cafe? I want to allow users to log into any launcher like Epic Games or ...
2
votes
0answers
65 views

How to set the order in which administrative accounts are offered in UAC prompts?

I have installed Windows 10 Enterprise 1909 on several of my PCs. For my daily work, I am using an account which is not in the Administrators group. This means that I am running into UAC prompts quite ...
0
votes
1answer
98 views

CMD Run as admin yields “Windows Cannot access Specified device, path, or file”

For some reason when I run cmd as administrator This happens: However if I run cmd normally (unprivledged) or if I disable UAC completely, command prompt pops up normally. SFC and check disk did not ...
0
votes
0answers
17 views

Windows RDP Cannot Open Services

I connect to my office computer via the Remote Desktop and whenever I need to use the services console the UAC prompt opens up twice and it opens up 2 empty "Management Console" windows. ...
0
votes
1answer
497 views

Context menu missing for OneDrive

I have got a windows 10 pro workstation (not domain joined, version 1909) with two local user accounts. User-A (member of Users) and User-B (member of Administrators). Both users have seperate ...
-1
votes
1answer
150 views

Set Custom 'User Account Control Settings' UAC in Windows 10 Version 2004 OS Build: 19041.508

I was wondering if there is a way to create custom UAC Settings on windows 10, Primarily to turn of Notification or warning when I click on Run As Administrator in the right click context menu. I ...
0
votes
0answers
143 views

How do I disable Windows requiring password to launch a program?

I have a standard account on my pc for my friend to use. If he wants to launch a certain program, it always asks for the administrator password for him to be able to launch the program. How can I ...
0
votes
1answer
82 views

Everything is running with administrator privileges— how do I explicitly run something as a user?

This is on a domain-attached workstation on which I have local admin access. I'm not sure if our IT department set a GPO or something, but every single program I launch-- regardless of whether I ...
0
votes
2answers
225 views

Windows user permissions mean that Epson 2 Scan Utility must be 'Run As Administrator'

I have a Windows 10 64-bit Dell laptop where the account I normally log into was set up by a company which no longer exists. The user name is "Administrator" and here are the details for ...
0
votes
2answers
37 views

How to change default Administrator

When I open CMD as Administrator, the path is C:\Users\Asus. What I want is the default path when I open CMD is C:\Users\Cloud___. I have made this user as Administrator, but it doesn't work. Can ...
0
votes
0answers
33 views

How to prevent UAC from pre-selecting a user?

Is it possible in some way to force the UAC promt to ask always for an administrator's username? I've noticed that in some cases, the standard-user's username is preselected (see the following ...
0
votes
0answers
47 views

PowerShell scripts are disabled to run in my system [duplicate]

I was recently watching a YouTube video of Hak5 and one of his videos were of the vulnerability of bypassing UAC and escalation of privileges through a .ps1 script. You can check the video out here. ...
0
votes
1answer
43 views

Windows 10 UAC and compiling C++

I'm trying to code some basic c++ on atom ide or notepad++. I followed some tutorials on youtube and I downloaded the mingw c++ compiler and it has installed properly (I think) and I've added it to my ...
0
votes
0answers
44 views

Creating a Task, then a Shortcut to run an application a avoid the dialog warning about making changes to computer

A few years ago, another superuser (magicandre1981) told how to run the Task Scheduler to create a task and then create a shortcut to run an application to circumvent the dialog/warning asking if you ...
0
votes
1answer
93 views

Windows local admin disabled. Can I use domain admin to install software on my machine?

I am new to Security so excuse my dilettante question. At work my laptop's local admin is disabled and I can't install software as UAC prompts for admin creds. I was wondering if I get an admin domain ...
1
vote
1answer
498 views

.bat file not executed after conda activate py36

I got a .bat file containing: call C:\ProgramData\Anaconda3\Scripts\activate.bat conda activate py36 python C:\Users\User\button5.py conda deactivate If I run it directly from command line it works, ...
0
votes
1answer
83 views

Register elevated privileges on installation

I'm currently creating an installer for a software I wrote. This software will be installed into the "Program Files" folder. Since the application also includes an updater, it will need to ...
1
vote
2answers
104 views

Windows Administrator, programs execution and UAC [duplicate]

I'm try to reproduce the same behavior of my work laptop with my personal computer. In my work laptop, I'm administrator. There are a few more accounts like ITadmin and similars but my account has ...
0
votes
1answer
151 views

How to whitelist msiexec called from an app whitelisted via RunAsInvoker

I whitelisted a legacy app via the RunAsInvoker registry key, which works fine. However, when the user selects the repair option offered by the app, the whitelisted app actually executes msiexec /fa ...
0
votes
0answers
298 views

Why do I get UAC warning about unknown publisher when the installer is properly signed?

I have an installer from Microsoft website. I've confirmed using signtool.exe that this is indeed from Microsoft: signtool.exe verify /pa /v C:\Users\yegle\Downloads\wsl_update_x64.msi Verifying: C:\...
0
votes
0answers
15 views

Account sometimes partially lose administrator status

Windows 10 1903 x64 For a few months now, sometimes, my account (Local Administrator) will partially lose its administrator privileges, making things happen such as: task manager, when launched ...
1
vote
1answer
36 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 ...
0
votes
0answers
37 views

Create admin shortcut for msix packaged apps

In MSIX packaged FullTrust (win32) apps clicking on the .exe shows error dialog instead of launching the application. Hence, following articles describing creating admin shortcut for traditional ...
0
votes
0answers
29 views

How can I use UAC/Elevated permissions as normal user in Double Commander?

I run Double Commander as normal user, but sometime some operations need UAC/Elevated Access, in total commander this is simple "run as admin" for said operation. In double commander this is ...
5
votes
2answers
796 views

Block websites for standard user but allow for admin account

This is for a home PC (not on any domain). My kid is a monster when it comes to clicking where he is messing around settings (varying from either installing addons in browser or change windows ...
0
votes
0answers
46 views

Digital signature of .exe files in the C:\Windows directory

I'm asking this purely out of curiosity. When you start e.g. regedit, you get prompted with the blue standard UAC dialog that claims that Microsoft is the editor. Now if you copy regedit.exe from C:\...
-2
votes
1answer
30 views

Set Exit Path Dependent on Whether User Clicks Yes or No

I have a batch file that requests UAC privileges. When the UAC box pops up and a user clicks the no button I want to display message No administration privileges granted. Now exiting. and then wait ...
0
votes
2answers
1k views

Win10 How to whitelist Apps for Admin Privileges?

i have a few applications that need admin privileges everytime i run them, and i always give them. Can i somehow whitelist certain applications to run as admin without me clicking "Yes"? I do not want ...
0
votes
0answers
565 views

Windows: run a program as different user and elevate

I'm (at home) the domain admin and users don't have local admin rights. One user on Windows 10 wants to run the Badlion client (some Minecraft anti-cheat software), which requires administrative ...
1
vote
0answers
185 views

Use mklink in MSYS2, with runas Administrator prompt?

I've seen Use mklink in msys - however, the answer there: cmd //c 'mklink link target' ... requires that you start a MSYS2 shell with administrative privileges first. What I would like instead, is ...
1
vote
1answer
139 views

Batch file with elevated permissions is not working?

After seeing this solution: How to run batch file command with elevated permissions? I put this in a batch file: powershell -command "Start-Process cmd -ArgumentList '/c %CD% && elevated.bat'...
2
votes
1answer
2k views

Elevating to admin rights when running in a SSH shell on Windows

I am logging into a Windows Server 2016 box on GCP via SSH. That leaves me logged into a powershell session, but I need to have Admin privileges to successfully run some commands. I do not have ...
1
vote
2answers
67 views

Set Windows 10 password grace period / timeout

I'm using Windows 10 as a member of the Administrators group. I've set up my group policy for UAC such that Windows prompts for credentials whenever something requires elevated access. On more ...
0
votes
1answer
54 views

Strange UAC crash, can't shut down pc without signing out first

When I try to power off my pc (Running Windows 10 Pro 1909) it just does nothing, but it also seems that it's somehow messing up UAC. How I found this out was by trying to launch something, the UAC ...

1
2 3 4 5
15