All Questions
6
questions
114
votes
14
answers
259k
views
How can I always run the command prompt as administrator?
As a developer, I often have the need to open a command prompt for various purposes. For example, I use iisreset to restart my local web server.
I typically open the command window in one of two ways:...
22
votes
6
answers
205k
views
Change Windows 7 file permissions from command prompt
How can I change Windows 7 file permissions using the command prompt?
I want to change permissions in program files, but cacls is not working for me.
9
votes
6
answers
28k
views
Restoring 'TrustedInstaller' as owner for executable in Windows folder
After changing the ownership of executables in the Windows directory (explorer.exe, regedit.exe, etc.), I can't seem to change it back to TrustedInstaller using icacls.exe. Using the GUI method (...
24
votes
5
answers
128k
views
How to display/change the owner of a file on Windows 7
Is there a way to display the owner of folders and files from the command line in Windoews 7 command prompt?
Can you change the owner of a folder or file to some "arbitrary" user which is not your ...
5
votes
2
answers
87k
views
giving permission to program to run with out confirmation in start command windows
I am using this
start /b C:\wamp\wampmanager.exe
command to start a program in my windows( Windows 7 Ultimate - 64 bit).
But then the program want a permission to run
Do you want to allow the ...
3
votes
1
answer
2k
views
How to call a program to be run with admin privileges but under the same user (Windows Command Prompt)
I need to invoke a program with admin privileges from command prompt.
it should prompt to the user an alert such as:
I found many answers like:
runas.exe /user:administrator %~dp0\MY_PROGRAM.BAT
...