All Questions
19
questions
0
votes
2
answers
2k
views
run as administrator doesn't elevate process
I am trying to run netsh wlan set hosted network mode=allow as administrator but when I run it from an elevated cmd, or powershell, netsh still replies that:
You must run this command from a command ...
1
vote
1
answer
537
views
Single Shortcut runs both as UAC Admin and UAC Non-Admin
I would like a way to initiate a single command file - but that runs both with the full admin rights and the non-Admin token -
Either running as non-admin - and converting to admin - or running as ...
0
votes
0
answers
31
views
Single Batch script to open any editor/application in elevated administrator access [duplicate]
I have been searching for ages now, for this.
All I want is exactly as I mentioned in my question, I have many editors like Sublime Text, VS Code etc.
But they all seem useless when it comes to edit ...
-3
votes
3
answers
137
views
Windows 7 SYSTEM cmd possibility?
I have an access to system cmd (the one before you login to domain) and a non admin user located on domain. Since SYSTEM user is considered a higher privilege than admin in windows 7, how do I move ...
0
votes
1
answer
10k
views
How to know if someone else is logged to a remote shared PC?
In the company I work for, there are some shared PCs where people can log to remotely. It's boring to ask first who is logged in before login to it yourself, just not to disrupt others work.
With ...
3
votes
3
answers
4k
views
Batch file won't run as administrator unless via cmd prompt
I'm trying to write a batch file that will turn Apache off and copy some files. This is all I have in the script at the moment:
"C:\Apache24\bin\httpd.exe" -k stop
If I either run the batch file ...
1
vote
1
answer
468
views
Can't take ownership of files
On my data drive I have roughly 800 files for which I have only read and execute permissions, but no others.
When trying to change the permissions via Windows Explorer, all fields relating to ...
0
votes
1
answer
871
views
How to disable User Management for Administrator in Window 7?
I have two admins accounts A and B in Window 7. I want to disable User Management for B admin account.
My approach that I took was
I hide the User Management options from control Panel for B from A ...
1
vote
3
answers
28k
views
Get administrative right in windows command line [duplicate]
I am not trying to do cheeky things, but my need is just to have two scripts for adding or removing IP routes using the following command in batch scripts:
Add route:
@echo off
route add -p 20.20....
12
votes
2
answers
39k
views
DllRegisterServer fails with 0x80070005 even on cmd opened as Administrator
This error code is supposed to mean 'Access Denied', and the solution given everywhere on the net (eg. https://stackoverflow.com/questions/3808954/dllunregisterserver-failed-with-error-code-0x80070005)...
6
votes
5
answers
21k
views
Run cmd.exe in Administrator mode without explorer.exe
I've recently had trouble with explorer.exe not working. I found a possible solution here, using sfc.exe. The problem is that I cannot "right-click Command Prompt, and then click Run as ...
12
votes
3
answers
7k
views
If a Windows cmd.exe is running with elevated privileges does anything I execute from its prompt also run with elevated privileges?
If my cmd.exe Window says "Administrator" in the title bar, indicating it was started with elevated privileges, does this mean anything I execute from this command window is also run with elevated ...
2
votes
0
answers
2k
views
Start/stop services from command prompt under non Administrator user, but belonging to administrators group
I have a WIN7 computer with user which is in Administrator group. Let's call it MyUser.
UAC turned ON.
I have several services launched under local system.
When I'm trying to start or stop these ...
3
votes
2
answers
3k
views
Is it possible run CMD.exe as Admin -AND- Start In a different partition?
There are many questions on running CMD.exe as admin on Windows 7, however none of them appear to include a different "Start In" directory / partition.
I can start a command prompt in a different ...
5
votes
2
answers
2k
views
How to make a cmd 'runnable as administrator' under windows 7?
I have written as small .cmd file to be executed as an administrator. I am trying to set its options as 'Run as Administrator' but the check box is not accessible.
Why? How to solve this issue? I am ...