💻 Software
How can I create a folder in Program Files with UAC on from the command line?
Fresh7 days ago
Mar 15, 202619712 viewsConfidence Score0%
0%
Problem
Up until now, I've always disabled UAC. Now, I'd like to play by the book and leave it on. My test case is getting to work. When I run it (my user is an admin), I get So, do , hoping this will help. I am prompted for a password. I hit ENTER, and get RUNAS ERROR: Unable to run - mkdir c:\program fil…
Error Output
mkdir c:\program files\foo
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I create a folder in Program Files with UAC on from the command line?
Low Risk
If you logged in account is an "administrator" then you should be able to right-click cmd.exe, "Run AS Administrator", Hit "OK" to UAC, and from there the mkdir should work in Program Files without any further prompting. If you are not a admin user,…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix