I installed XP and Vista on my computer, XP on drive C and Vista on drive G. After using XP for a while, I switched to a single XP system. However, the Vista folder in the G drive cannot be deleted. I finally found a method on the Internet, but their method is not very clear. I will try again here.
The procedure is as follows:
First, modify the folder permission.
Control Panel -- folder option -- remove the hook before "use simple sharing"
Right-click the folder and choose Properties to display a secure tag. You can modify the folder permission.
Folder properties-security-advanced-owner-select administrators-select the "Replace sub-container and object owner" check box-OK
Then re-open the folder properties-security-delete the unknown user-select administrators-set the following permissions to full control-advanced-permissions-select administators and select "available applications displayed here "the sub-object project replaces the permission project of all objects "-it will prompt" whether ", select "yes"-OK
OK! The above are all the operation steps. If you want to know the specific reasons, you can refer to the following content. In general, you do not have the permission to delete the folder. The problem is completely solved through the above steps. Of course, this method also applies to similar situations. For example, this folder cannot be deleted using the software killbox, and other software has not tried. If you have any software to delete the Vista folder, please recommend it to me. Thank you. Note that Vista is installed in an NTFS hard disk and cannot be identified by common dos. Therefore, it is troublesome to delete it in pure dos, I don't know if I can delete it under DOS. If you are interested, try it.
Some terms may be incorrect. I laughed, but the method is feasible. I tried it successfully.
Detail: http://www.vista123.com/vista/889.html
When you try to delete folders such as Windows, the system prompts "Cannot delete, access is denied. Why? To reduce the accidental deletion of important system files, Windows Vista,ProgramFolder) and its sub-files (folders) have detailed access permissions. (This is also an important feature of NTFS). Therefore, when we try to delete folders in other systems, access is denied because we do not have the corresponding permissions.
Some experienced friends know that as long as we regain control of this folder, we can delete it. However, when we open the Advanced tab in the properties of the Program Files folder, we find that everything is gray and cannot be set, and there is an unknown user like S-1-5-32-563. Next, I will introduce how to delete this folder.
1. Click "special permissions or Advanced Settings" at the bottom. Click "advanced" next to "advanced" to open the Advanced Security Settings dialog box.
2. Open the "owner" tab. We can see that "the owner of the current project" is the unknown user just mentioned, and this user is the user in Windows Vista. According to NTFS features, if the current computer account obtains the owner, you can change the permissions on this folder. "Change owner to" lists two items: one is administrators, which represents all administrator accounts on the machine and the other is the current Logon account. Here, we select administrators and select the "Replace sub-container and object owner" check box. (Why select it? This involves permission inheritance in NTFS. Normally, when we set the permission for a folder, its sub-folders also have the same permission, but this is only common. If a subfolder does not inherit the permissions of the parent folder, the changes we make to the parent folder, for example, setting the owner does not work for this subfolder. In addition, the Windows Vista system folder contains many of these folders .) Next, click the "application" button, and the system will automatically apply the settings to the subordinate folder.
3. After the operation is completed, we find that the Security tab in the attribute still cannot be changed. However, after closing the dialog box and re-opening it, we can set the permission. Here, we delete the unknown user, grant full control permissions to the administrators, and then click "Apply. However, this is not enough. As we mentioned above, because its sub-folders do not inherit the permission settings of the parent folder, although we are the owner of these sub-folders, we do not have any permissions. Click "advanced. On the "Permissions" tab, similar to setting the owner, select "The project displayed here that can be applied to sub-objects to replace the permission projects of all objects", and click the "Apply" button. The system will prompt whether to continue. Click "yes" and the system will apply the permission settings to the subfolders. Then, click "OK" to close the dialog box, and the Program Files folder will be deleted.
4. In addition, on the "Permissions" tab of advanced settings, there is a check box: "inherit permission projects that can be applied to sub-objects from the parent item, including those explicitly defined here ". You can select or uncheck this check box to set whether the folder inherits the permissions of the parent folder.
Through the above examples, we all know how to uninstall Windows Vista. In the NTFS partition, when we encounter a file or folder that cannot be deleted, we should follow the following steps if we are sure the file or folder is not used:
1. Determine whether the file (folder) has the control permission;
2. If you cannot set permissions, check whether you have sufficient permissions or are the owner of the file (folder;
3. If both of the preceding two files still cannot be deleted, check if the sub-file (folder) does not have permission settings that inherit the parent folder.