Using CACLS with Windows XP Home Edition Using the NTFS File System
In Windows XP Home Edition with the NTFS file system, you can also use the Cacls tool, which is a command-line tool, to display or modify file or folder access control lists (ACLs). For more information about the Cacls tool, including usage and switches, search the Help and Support Center for "cacls."- Click Start, click Run, type cmd, and then click OK.
- Make sure that you are in the root folder of the partition for which you want to gain access to the System Volume Information folder. For example, to gain access the C:\System Volume Information folder, make sure that you are in the root folder of drive C (at a "C:\" prompt).
- Type the following line, and then press ENTER: cacls "driveletter:\System Volume Information" /E /G username:FMake sure to type the quotation marks as indicated. This command adds the specified user to the folder with Full Control permissions.
- Double-click the System Volume Information folder in the root folder to open it.
- If you need to remove the permissions after troubleshooting, type the following line at a command prompt: cacls "driveletter:\System Volume Information" /E /R usernameThis command removes all permissions for the specified user.
The following steps also work if you restart the computer to Safe mode because simple file sharing is automatically turned off when you run the computer in Safe mode.
- Open My Computer, right-click the System Volume Information folder, and then click Properties.
- Click the Security tab.
- Click Add, and then type the name of the user to whom you want to give access to the folder. Typically, this is the account with which you are logged on.
- Click OK, and then click OK again.
- Double-click the System Volume Information folder to open it.
Code:
cacls "C:\system volume information" /t /e /g %username%:F
to reverse it just type
Code:
cacls "C:\system volume information" /t /e /d %username%
Microsoft Windows XP Professional or Windows XP Home Edition Using the FAT32 File System
- Click Start, and then click My Computer.
- On the Tools menu, click Folder Options.
- On the View tab, click Show hidden files and folders.
- Clear the Hide protected operating system files (Recommended) check box. Click Yes when you are prompted to confirm the change.
- Click OK.
- Double-click the System Volume Information folder in the root folder to open it.
Windows XP Professional Using the NTFS File System on a Domain
- Click Start, and then click My Computer.
- On the Tools menu, click Folder Options.
- On the View tab, click Show hidden files and folders.
- Clear the Hide protected operating system files (Recommended) check box. Click Yes when you are prompted to confirm the change.
- Click OK.
- Right-click the System Volume Information folder in the root folder, and then click Sharing and Security.
- Click the Security tab.
- Click Add, and then type the name of the user to whom you want to give access to the folder. Choose the account location if appropriate (either local or from the domain). Typically, this is the account with which you are logged on. Click OK, and then click OK again.
- Double-click the System Volume Information folder in the root folder to open it.
Windows XP Professional using the NTFS File System on a Workgroup or Standalone Computer
- Click Start, and then click My Computer.
- On the Tools menu, click Folder Options.
- On the View tab, click Show hidden files and folders.
- Clear the Hide protected operating system files (Recommended) check box. Click Yes when you are prompted to confirm the change.
- Clear the Use simple file sharing (Recommended) check box.
- Click OK.
- Right-click the System Volume Information folder in the root folder, and then click Properties.
- Click the Security tab.
- Click Add, and then type the name of the user to whom you want to give access to the folder. Typically, this is the account with which you are logged on. Click OK, and then click OK again.
- Double-click the System Volume Information folder in the root folder to open it.
NOTE: The System Volume Information folder is now accessible in normal mode to users of Windows XP Home Edition.
No comments:
Post a Comment