Quantcast
Viewing all articles
Browse latest Browse all 5094

How to remove files that can not remove by 'You require permission from TrustedInstaller ...' on Windows Server 2008

After verifying backups by restoring files to alternate location, it sometimes happens that we can not remove restored files by 'You require permission from TrustedInstaller to make changes to this file' error as Figure 1. This most likely happens when restoring system or program files. Owner of unremovable files is TrustedInstaller user, and only this user has full control right.

Figure 1 File Access Denied

Image may be NSFW.
Clik here to view.

Figure 2 Owner of unremovable files

Image may be NSFW.
Clik here to view.

Figure 3 Permissions of unremovable files

Image may be NSFW.
Clik here to view.

We can manage to remove files by changing owner and permissions of unremovable files. Here is an example of removing System State files restored to C:\restore(See HOWTO36039 for how to restore System State to an alternate location).

Step 1 - Open Security tab in properties window

Figure 4 Select a folder where System State files are restored

Image may be NSFW.
Clik here to view.

Figure 5 Click Advanced button in Seciruty tab

Image may be NSFW.
Clik here to view.

Step 2 - Change owner of files and subfolders

Figure 6 Click Edit button in Owner tab

Image may be NSFW.
Clik here to view.

Figure 7 Check 'Replace owner on subcontainers and objects'

Image may be NSFW.
Clik here to view.

Step 3 - Change permisson of files and subfolders

Figure 8 Click Change permissions button

Image may be NSFW.
Clik here to view.

Figure 9 Check 'Replace all childobject permissions ...'

Image may be NSFW.
Clik here to view.

Step 4 - Remove restored files

Figure 10 Delete folder

Image may be NSFW.
Clik here to view.

Figure 11 Delete system files

Image may be NSFW.
Clik here to view.

Figure 12 Completed!!

Image may be NSFW.
Clik here to view.

 


Viewing all articles
Browse latest Browse all 5094

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>