taking ownership of files in win7 by formatting hdd


Recommended Posts

i have about 200 gb of data and 300 gb free on a single 500 gb hdd. ive installed quite a few OSes on this hdd and so permissions are screwed up on my personal folders. now i need to fix the permissions and i think a format is in order.. but i can only do it one partition at a time since i dont have another hdd lying around.

so whats the best way of taking back the ownership of files and folders for good.. is a format necessary or not?

http://support.microsoft.com/kb/308421 for XP but with some slight modification, will work on 7


Windows Registry Editor Version 5.00
; Add "Take Ownership" to options in files and folders context menu.
[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
[/CODE]

Save as a .bat or .cmd. Merge. Right click a file or folder and Take Ownership.

The best way to reset the permissions is to move them to a fat32 partition and then move them back. Formatting yes but where are you going to put the files while you are formatting?

You need to invest in a separate physical drive(external or internal) to back up your data and do things like I mentioned above.

This worked in 7 for me..

http://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/

There are a few others out there.. Basicly it adds a right click command for taking ownership of a folder.. so if it's a full partition, select all in the root and do it..

http://support.microsoft.com/kb/308421 for XP but with some slight modification, will work on 7


Windows Registry Editor Version 5.00
; Add "Take Ownership" to options in files and folders context menu.
[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
[/CODE]

Save as a .bat or .cmd. Merge. Right click a file or folder and Take Ownership.

The best way to reset the permissions is to move them to a fat32 partition and then move them back. Formatting yes but where are you going to put the files while you are formatting?

You need to invest in a separate physical drive(external or internal) to back up your data and do things like I mentioned above.

what if i partition my drive this way c: OS win7 100 gb ntfs d: 200gb ntfs e: 200 gb fat32. and shift all data to E: and then back to d: ?

This worked in 7 for me..

http://www.howtogeek...-menu-in-vista/

There are a few others out there.. Basicly it adds a right click command for taking ownership of a folder.. so if it's a full partition, select all in the root and do it..

in root? you mean run as administrator?

You can do this to reset permissions and ownership back to defaults:

Open a command prompt as administrator.


cd /d x:
[/CODE]

replace x with the drive letter of the partition you want to reset.

[CODE]
icacls * /T /Q /C /RESET
[/CODE]

will this take care of the sub directories and files as well?

Formatting and copying the files back will not fix permissions.. unless you move them all to FAT/FAT32 formatted drives.. which is unlikely in this day and age..

I just use what I linked..

Then right click on the folder/file(s) I want done and it'll do it.. including all subdirectories.

But whatever you do, don't run it on everything in your C Drive. it's a bad idea to take ownership of all Windows system files..

Assuming you have your files all on another Harddrive, or partition, just select everything and let it do it's thing..

It's also convenient having it in the right click menu for the future should anything else comeup.. I take permissions on a regular basis, so it's really handy for me.

Formatting and copying the files back will not fix permissions.. unless you move them all to FAT/FAT32 formatted drives.. which is unlikely in this day and age..

I just use what I linked..

Then right click on the folder/file(s) I want done and it'll do it.. including all subdirectories.

But whatever you do, don't run it on everything in your C Drive. it's a bad idea to take ownership of all Windows system files..

Assuming you have your files all on another Harddrive, or partition, just select everything and let it do it's thing..

It's also convenient having it in the right click menu for the future should anything else comeup.. I take permissions on a regular basis, so it's really handy for me.

doesnt work for me ... after taking ownership im still asked for permission..

Yes. It should reset all folders and files on the partition to default permissions and ownership.

this worked i gained 3 gb of space too here are the results. but there are 40000 files which failed.

812340cd08ac35_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\e917b9049b509516d9

086b7d95bfd1ba_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\e993c8cee7969be496

bc268ad05a5f8a_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\ea3938cc6d5a54dc2b

0db97afaac1564_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\ee034e2305a8a74206

653e61e80758ff_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\eeb4d48eb6489f9b31

07a0cec29b90a2_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\f0071afd4bc655b0d9

3ffa2a0a34c0b3_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\f0d4cd721f2da246d5

9aa2bab511edf5_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\f13f56730296700b5e

0cddc8e9031ef0_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\f228190f404d3769d0

bddadc08dd4d68_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\f392467e6f2916220a

a5bc861d9191a2_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\f5ffbf7b1a219aa8ad

a71ef6b75ba1b1_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\f686aace6942fb7f7c

eb231212eef4a4_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\f6a055b0c8a8ea298e

25cd7f896a5f46_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\f8d1eb8f49b60f6b6c

f9a8cd36878c8c_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\f8eba7935c385e99ea

82b6859016df8b_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\f9dd2762503371a30e

d3dd69e9b41b83_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\fa6f5a92cf0fca206b

83213c70578922_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\fa8da55b30efc49169

76ea0162f6bae1_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\fab11982a69ba7bd0a

5e0163c5513bd3_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\fb88a224d8b92efb1a

f9e9359becf9ad_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\fcd41c7a3a5c8e347b

11172f24787fcd_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\fdfe0491b251982141

d164af18d1255a_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\fe79fa7919386c0d42

7232e8e0160f6b_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Crypto\RSA\MachineKeys\ffb53b2bdfa36cf749

422f87d319e671_b45e610c-8920-4c0f-bc9b-41dc73f5a36f: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Device\{113527a4-45d4-4b6f-b

567-97838f1b04b0}: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Device\{8702d817-5aad-4674-9

ef3-4d3decd87120}: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Device\{113527a4-45d4-4b6f-b

567-97838f1b04b0}\background.png: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Device\{113527a4-45d4-4b6f-b

567-97838f1b04b0}\behavior.xml: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Device\{113527a4-45d4-4b6f-b

567-97838f1b04b0}\device.png: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Device\{113527a4-45d4-4b6f-b

567-97838f1b04b0}\overlay.png: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Device\{113527a4-45d4-4b6f-b

567-97838f1b04b0}\superbar.png: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Device\{8702d817-5aad-4674-9

ef3-4d3decd87120}\background.png: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Device\{8702d817-5aad-4674-9

ef3-4d3decd87120}\behavior.xml: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Device\{8702d817-5aad-4674-9

ef3-4d3decd87120}\watermark.png: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{07deb856-fc6e-4fb9-8ad

d-d8f2cf8722c9}: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{e35be42d-f742-4d96-a50

a-1775fb1a7a42}: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{07deb856-fc6e-4fb9-8ad

d-d8f2cf8722c9}\en-US: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{07deb856-fc6e-4fb9-8ad

d-d8f2cf8722c9}\folder.ico: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{07deb856-fc6e-4fb9-8ad

d-d8f2cf8722c9}\netfol.ico: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{07deb856-fc6e-4fb9-8ad

d-d8f2cf8722c9}\pictures.ico: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{07deb856-fc6e-4fb9-8ad

d-d8f2cf8722c9}\resource.xml: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{07deb856-fc6e-4fb9-8ad

d-d8f2cf8722c9}\ringtones.ico: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{07deb856-fc6e-4fb9-8ad

d-d8f2cf8722c9}\settings.ico: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{07deb856-fc6e-4fb9-8ad

d-d8f2cf8722c9}\sync.ico: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{07deb856-fc6e-4fb9-8ad

d-d8f2cf8722c9}\tasks.xml: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{07deb856-fc6e-4fb9-8ad

d-d8f2cf8722c9}\wmp.ico: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{07deb856-fc6e-4fb9-8ad

d-d8f2cf8722c9}\en-US\resource.xml: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{e35be42d-f742-4d96-a50

a-1775fb1a7a42}\en-US: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{e35be42d-f742-4d96-a50

a-1775fb1a7a42}\folder.ico: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{e35be42d-f742-4d96-a50

a-1775fb1a7a42}\print_pref.ico: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{e35be42d-f742-4d96-a50

a-1775fb1a7a42}\print_property.ico: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{e35be42d-f742-4d96-a50

a-1775fb1a7a42}\print_queue.ico: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{e35be42d-f742-4d96-a50

a-1775fb1a7a42}\scan_.ico: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{e35be42d-f742-4d96-a50

a-1775fb1a7a42}\scan_property.ico: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{e35be42d-f742-4d96-a50

a-1775fb1a7a42}\scan_settings.ico: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{e35be42d-f742-4d96-a50

a-1775fb1a7a42}\tasks.xml: Access is denied.

ProgramData\Application Data\Microsoft\Device Stage\Task\{e35be42d-f742-4d96-a50

a-1775fb1a7a42}\en-US\resource.xml: Access is denied.

ProgramData\Application Data\Microsoft\Microsoft Antimalware\Scans\History\Cache

Manager\MpScanCache-0.bin: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures: A

ccess is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile10.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile11.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile12.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile13.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile14.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile15.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile16.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile17.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile18.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile19.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile20.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile21.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile22.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile23.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile24.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile25.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile26.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile27.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile28.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile29.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile30.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile31.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile32.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile33.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile34.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile35.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile36.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile37.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile38.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile39.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile40.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile41.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile42.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile43.bmp: Access is denied.

ProgramData\Application Data\Microsoft\User Account Pictures\Default Pictures\us

ertile44.bmp: Access is denied.

ProgramData\Application Data\Microsoft\Windows\AIT: Access is denied.

ProgramData\Application Data\Microsoft\Windows\DeviceMetadataStore: Access is de

nied.

ProgramData\Application Data\Microsoft\Windows\DeviceMetadataStore\en-US: Access

is denied.

ProgramData\Application Data\Microsoft\Windows\DeviceMetadataStore\en-US\34e548a

8-3268-4dde-bedf-c40f9b6c814a.devicemetadata-ms: Access is denied.

ProgramData\Application Data\Microsoft\Windows\DeviceMetadataStore\en-US\63921ee

f-8415-4368-9201-f0df4af5778f.devicemetadata-ms: Access is denied.

ProgramData\Application Data\Microsoft\Windows NT\MSScan: Access is denied.

ProgramData\Application Data\Microsoft\Windows NT\MSFax\Common Coverpages\en-US:

Access is denied.

ProgramData\Application Data\Microsoft\Windows NT\MSFax\Common Coverpages\en-US\

confident.cov: Access is denied.

ProgramData\Application Data\Microsoft\Windows NT\MSFax\Common Coverpages\en-US\

fyi.cov: Access is denied.

ProgramData\Application Data\Microsoft\Windows NT\MSFax\Common Coverpages\en-US\

generic.cov: Access is denied.

ProgramData\Application Data\Microsoft\Windows NT\MSFax\Common Coverpages\en-US\

urgent.cov: Access is denied.

ProgramData\Application Data\Microsoft\Windows NT\MSFax\VirtualInbox\en-US: Acce

ss is denied.

ProgramData\Application Data\Microsoft\Windows NT\MSFax\VirtualInbox\en-US\Welco

meFax.tif: Access is denied.

ProgramData\Application Data\Microsoft\Windows NT\MSScan\WelcomeScan.jpg: Access

is denied.

ProgramData\Application Data\Microsoft\WwanSvc\Profiles: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\02b651f640ea1b583897a56d757ca986_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\0613f2f85760e740ae74accda8f4bdf7_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\165463895eef87616e6b44bb607ed92c_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\1958f78c2b3b3e68f8582fae95264951_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\2613b7065bcc087e3f8961bc5d4eb812_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\2dd4c686eb02d4c18c54bee2fbc69056_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\34c83d975970e67066c00efcd1063760_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\34e76424639b3a0ecb63fe11b34ab28c_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\366f53794529f32026c7f56a3de096d8_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\376074e5469392938dc2b4d5927c2350_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\3b9234d5bb9326ed0b26a5e1e4444146_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\542b2451f489762af8ab90ae4906b3f2_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\66c5b1d35e06684af5474b49d3af463c_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\6fad7eeb8d9a567c5c36a2dc21e1cd60_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\755569008e2c6503b3b6fc18b17c5bd2_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\787ba76b9c91d3b215c7b7b9c4249e32_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\7c379b53e699614298fd9852bea42400_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\7d6c2efeff3fc3eb2156cad2b352557f_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\801e3a3f82e689f70f1487f04e7d6b92_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\8abd0eddba96e8b07a30cc5818eee65e_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\8af31ee71603de74e73053c58a5a234c_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\a559bb31ee5a5caee4c4baa8f61ba433_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\a825157d57db05033ac3132580cc4ff4_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\a9fa8a97d8c7fa5fd6a2a0e9db5fd830_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\acf5c3151d31f35b0b18c38d634383bf_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\c545d297e8fc0ff8a3bcc4d253bcb5fb_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\cbe44cf2cfc5c13d139e875dd2c9e677_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\d0290d7cce934057d8f3b88b87805fa3_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\f63643bc63a4ffa2931fac40caeac302_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Crypto\RSA\MachineKeys\f708a9fb01d769ab3892e33d0aa7a293_14

294662-de97-4837-bc47-3cc372286232: Access is denied.

ProgramData\Microsoft\Device Stage\Device\{113527a4-45d4-4b6f-b567-97838f1b04b0}

: Access is denied.

ProgramData\Microsoft\Device Stage\Device\{8702d817-5aad-4674-9ef3-4d3decd87120}

: Access is denied.

ProgramData\Microsoft\Device Stage\Task\{07deb856-fc6e-4fb9-8add-d8f2cf8722c9}:

Access is denied.

ProgramData\Microsoft\Device Stage\Task\{e35be42d-f742-4d96-a50a-1775fb1a7a42}:

Access is denied.

ProgramData\Microsoft\Device Stage\Task\{07deb856-fc6e-4fb9-8add-d8f2cf8722c9}\e

n-US: Access is denied.

ProgramData\Microsoft\Device Stage\Task\{e35be42d-f742-4d96-a50a-1775fb1a7a42}\e

n-US: Access is denied.

ProgramData\Microsoft\User Account Pictures\Default Pictures: Access is denied.

ProgramData\Microsoft\Windows\AIT: Access is denied.

ProgramData\Microsoft\Windows\DeviceMetadataStore: Access is denied.

ProgramData\Microsoft\Windows\DeviceMetadataStore\en-US: Access is denied.

ProgramData\Microsoft\Windows NT\MSScan: Access is denied.

ProgramData\Microsoft\Windows NT\MSFax\Common Coverpages\en-US: Access is denied

.

ProgramData\Microsoft\Windows NT\MSFax\VirtualInbox\en-US: Access is denied.

ProgramData\Microsoft\WwanSvc\Profiles: Access is denied.

Successfully processed 393549 files; Failed processing 34939 files

D:\>

I use this one:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\runas]
@="Grant Admin Full Control"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\exefile\shell\runas2]
@="Grant Admin Full Control"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\exefile\shell\runas2\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Grant Admin Full Control"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

Save as admin.reg or something and, it will add "Grant Admin Full Control" to right click

Talking about format to take permissions??

Come on really?? I would have to think that if your installing multiple OSes, that you tinker quite a bit.. And you don't even have a basic understanding of NTFS permissions?

What I suggest you do is understand them, then you won't have issues like this!!

Here is the thing, if you ran a different copy of windows its SID would be different then another copy - so when you move drives/partitions either via external drives or just mounted to different copies of windows if permissions were set to accounts vs just the built in system or administrators or everyone, etc. then yeah your not going to have permissions.

Even if you have account billy on windows 1 and then create billy with same password on windows copy 2 -- the SIDs are going to be different and billy from 2 will not have access to files that were set for billy from 1.

This is very easy to correct. You need to be admin on on copy 2, take ownership - then you can set permissions to whatever you want when your owner. If you got denied access to files or directories when changing permissions, this means you were not owner!

Take owner down the tree, then set permissions down the tree! Simple, Easy - basic stuff here for anyone working with NTFS. Which is pretty much everyone these days.. You really really should understand the basic concepts!

this might help

http://www.ntfs.com/ntfs-permissions.htm

Once you have a basic understanding, then you will no longer have these sorts of basic problems.

I use this one:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\runas]
@="Grant Admin Full Control"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\exefile\shell\runas2]
@="Grant Admin Full Control"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\exefile\shell\runas2\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Grant Admin Full Control"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

Save as admin.reg or something and, it will add "Grant Admin Full Control" to right click

oddly i cant save anything on the desktop anymore and firefox wont open and the right click on desktop --> new menu has gone empty...

Talking about format to take permissions??

Come on really?? I would have to think that if your installing multiple OSes, that you tinker quite a bit.. And you don't even have a basic understanding of NTFS permissions?

What I suggest you do is understand them, then you won't have issues like this!!

Here is the thing, if you ran a different copy of windows its SID would be different then another copy - so when you move drives/partitions either via external drives or just mounted to different copies of windows if permissions were set to accounts vs just the built in system or administrators or everyone, etc. then yeah your not going to have permissions.

Even if you have account billy on windows 1 and then create billy with same password on windows copy 2 -- the SIDs are going to be different and billy from 2 will not have access to files that were set for billy from 1.

This is very easy to correct. You need to be admin on on copy 2, take ownership - then you can set permissions to whatever you want when your owner. If you got denied access to files or directories when changing permissions, this means you were not owner!

Take owner down the tree, then set permissions down the tree! Simple, Easy - basic stuff here for anyone working with NTFS. Which is pretty much everyone these days.. You really really should understand the basic concepts!

this might help

http://www.ntfs.com/...permissions.htm

Once you have a basic understanding, then you will no longer have these sorts of basic problems.

do people look down on you too much? i just need the issue fixed not a reciprocation of frustration.

oddly i cant save anything on the desktop anymore and firefox wont open and the right click on desktop --> new menu has gone empty...

Can you open an Elevated Command Prompt (Right click CMD > Run as Admin) ?

If you can, do that and in CMD type: sfc /scannow

Then hit enter and let it run the scan, reboot and see if that improves anything

Also, in CMD, type: net user administrator /active:yes

Hit enter > log off > Administrator account will be shown > log into Admin account and try again

do people look down on you too much? i just need the issue fixed not a reciprocation of frustration.

Most of us on Neowin try to help people fix the problem they are experiencing there and then, Budman tries to educate people so it doesn't happen again / you know why it happened in the first place ;)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • That is $130 more than I paid for my 4TB a year ago. How is this a deal?
    • JetBrains' new AI-first 'IDE' JetBrains Air is now on Windows by David Uzondu JetBrains has announced that JetBrains Air, its Agentic Development Environment (ADE) is now available for download on Windows x64 and ARM. You might not be familiar with JetBrains Air. It's this new desktop app that the company launched back in March 2026 to let developers hand off tasks to AI agents instead of writing every line manually. You can see it as more of an Agentic Development Environment (ADE) rather than a traditional Integrated Development Environment (IDE). The latter builds its features around a central text editor, while the former arranges everything around the AI agent itself. Here's how JetBrains describes it: Air was born from the ashes of Fleet, an experimental editor that the company quietly killed in December 2025 after realizing that competing directly with VS Code was a losing battle. The company repurposed Fleet's lightweight, modern architecture to build Air, transforming a basic code editor into a workspace for running multiple AI agents. When Air launched, it was only available for macOS. It wasn't until earlier this month that Linux users got a chance to play with the software. Now that Air is on Windows, you can do things like map out a complex feature in Plan mode and watch an AI write the implementation plan to a markdown file before writing any code. You can iterate on this plan, add references to specific classes or files, and choose whether to run the agent locally or inside an isolated Git worktree. Running agents in parallel means you can have Claude refactor a database schema in one branch while Codex writes tests in another, leaving you free to do other important things. You can even set up a pipeline where Claude writes the code, and Codex reviews it. At the moment, Air is free. If you have a JetBrains AI Pro or Ultimate subscription, you get full access to the built-in agents, though there's also the option to Bring Your Own Key (BYOK) to run APIs from Anthropic, OpenAI, or Google. If you're interested, here are the download links for both x64 and ARM64.
    • Depending how you’re wiring it internally, but try to put it inside conduit, that way in the future you can more easily replace cables, compared to running inside studs alone At least cat6a too
    • I bet Meta has lots of info on you anyway, gathered by other means. And Google, and Microsoft, and every other tech giant. If you use some form of modern electronic device, they own you already...
  • Recent Achievements

    • Reacting Well
      NovaEdgeX earned a badge
      Reacting Well
    • Week One Done
      NovaEdgeX earned a badge
      Week One Done
    • One Year In
      BA the Curmudgeon earned a badge
      One Year In
    • Conversation Starter
      rosiecharles earned a badge
      Conversation Starter
    • First Post
      KMilenkoski1202 earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      530
    2. 2
      +Edouard
      264
    3. 3
      PsYcHoKiLLa
      149
    4. 4
      Steven P.
      97
    5. 5
      macoman
      60
  • Tell a friend

    Love Neowin? Tell a friend!