All Questions
23
questions
3
votes
2
answers
200
views
In Windows 7 Pro, is it safe to set the "Current owner" to "Administrators ([Name]-PC\Administrators)" of the whole C drive ...?
In Windows 7 Professional, is it safe, within the Advanced Security Settings of the C drive, to set the "Current owner" to "Administrators ([Name]-PC\Administrators)" of the whole drive including "...
0
votes
2
answers
8k
views
Windows 7 Command Line Add Group "Users" To File
I need to change permissions on a file/folder through the command line. I can do this manually by:
Right-click on any file/folder
Properties
Security (tab)
Edit...
Add...
Enter the object names to ...
0
votes
2
answers
687
views
matching dir /a:r and icacls
I am trying to see file permissions on command line. I came across a similar question but cannot understand icacls output.
In the following example, c10.dat is a read-only file, as shown by dir /a:r ...
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:...
0
votes
1
answer
3k
views
Adding users to a directory recursively windows 7
I'm trying to set up my site on IIS, and it would seem I need to add the user group "USERS" to all files/folders within my site. This would require recursively adding a user to the root directory of ...
13
votes
3
answers
44k
views
Command line option to open program as administrator in Windows 7
If I want to open Notepad and edit the hosts file, I have to invoke the Start menu, find the Notepad shortcut, right click and run as administrator, then open the hosts file in Notepad in order to ...
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.
5
votes
6
answers
52k
views
Is it possible to shutdown a remote computer running Windows 7 via Telnet?
I've successfully connected to my Windows 7 desktop over wifi via Telnet from an XP Home netbook. To login, I use the following command:
telnet -l "win7desktop\win7user" win7desktop
win7user in this ...