Wednesday, February 24, 2010

How many clicks I need to delete a file owned by "TrustedInstaller"

If you have the problem with this crap Vista based Windows Server 2008 that you want to delete a file owned by "TrustedInstaller", how many clicks do you need?

1.) Right Click on the file
2.) Left Click on "Properties"
3.) Left Click "Security Tab"
4.) Left Click "Advanced" Button
5.) Left Click "Owner" Tab
6.) Left Click "Edit" Button
7.) Left Click UAC "Continue" Button
8.) Left Click "Administrators"
9.) Left Click "OK" Button
10.) Left Click "OK" Button of Security Dialog
11.) Left Click "OK" Button
12.) Left Click "Edit" Button
13.) Left Click UAC "Continue" Button
14.) Left Click "Administrators" Button
15.) Left Click "Full Control" Checkbox
16.) Left Click "OK" Button
17.) Left Click "OK" Button
18.) Right Click "File"
19.) Left Click "Delete"
20.) Left Click "Continue" Button
21.) Left Click UAC "Continue" Button

And you need to do this for every single file.

Are you fucking kidding me?

Thanks god
there are a few commandline utilities that do the job just as expected:

start an elevated "cmd"

Use:

takeown /f <FileOrDirectory> /r /a
icacls <FileOrDirectory> /grant administrators:F /t

1 comment:

สล็อต เว็บตรง ขั้นต่ำ 1 บาท said...

pg สล็อต เว็บตรง ขั้นต่ำ 1 บาท แตกง่าย ผู้เล่นสามารถเพลิดเพลินไปกับเกมสล็อต PG ได้อย่างมั่นใจและอุ่นใจที่ได้เข้าร่วมการเดิมพันในเว็บไซต์เชิญชวนนี้ได้เสมอ