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

    • Just another reason (aside from many others) not to use Edge. Firefox 153.0b5 DEx64 has a similar feature added recently in prior builds that I will turn off at some point when I get around to it. It's the new "Something looks suspicious" page that pops up here and there. It cleverly hides itself between web pages that I've actually visited; as a result, you know, of selecting a web page and telling the browser where to go. The interesting thing is that it does not produce these warnings from pages that I, as the only intelligent user of the browser in my system, have ever directed the browser to open! What seems to be happening is that the browser looks at all the goofy ad links on a web page I do actually open and selects one that "looks suspicious" and then creates the "something looks suspicious" web page, which is neatly inserted, as mentioned, between web pages my RB ("real brain") has directed the browser to load in a session. The thing is, I usually look at links I am considering to follow before I ask the browser to load them, and in cases I have noticed where the link does indeed look suspicious, most of the time I will choose to not follow the link at all. Doesn't everyone do this or something similar? I am picky about what I voluntarily load... (I don't like links that start off fine, with a site designaiton that seems normal enough but then is followed by indecipherable alphanumeric strings many, many lines long, etc. I tend to reject those because they look suspicious. They may not be, but I don't care... I'll stay with Firefox, of course, if for no other reason than they usually let you turn off the junk you don't like. And because it isn't Edge... But at some point Microsoft will come to realize that putting your bookmarks on the left side is a Good Thing for a lot of people, just as Microsoft discovered when it had the bright idea of nailing the Windows taskbar to the bottom of the screen, when for decades Microsoft browsers had left that placement up to the user. They have finally reversed the obscenity of that decision. Finally.
    • Google was using the old CATPCHAs data to train their LLMs. What is the say they won't use this camera data of users to train their LLM? these companies need some strict regulations!
    • Depends on what you need. Might be a bit clearer on what you plan to do with it. Sort of a waste if you get the newest and greatest, but don't know how to use it.
    • NTLite 2026.06.11200 by Razvan Serea NTLite is a Windows configuration tool that allows you to modify your existing Windows install or an image yet to be deployed, remove Windows components, configure and integrate, speed up the Windows deployment process. Reduce Windows footprint on your RAM and storage drive memory. Remove components of your choice, guarded by compatibility safety mechanisms, which speed up finding that sweet spot. Windows Unattended feature support, providing many commonly used options on a single page for easy setup. Easily integrate a single or multiple drivers, update or language packages. Package integration features smart sorting, enabling you to seamlessly add packages for integration and the tool will apply them in the appropriate order, keeping hotfix compatibility in check. One of the important new features of NTLite (compared to its predecessors) is the ability to modify an already installed the operating system, by removing unnecessary components. Supports Windows 11, 10, 8.1 and 7, x86 and x64, live and image. Server editions of the same versions, excluding support for component removals and feature configuration. ARM64 image support in the alpha stage. Does not support Checked/Debug, Embedded, IoT editions, nor Vista or XP. NTLite 2026.06.11200 changelog: New Secure Boot Migration support: Verification, certificate staging, and boot-manager/sector update across the Image, Updates, Apply, and Create-ISO pages (2023 CA migration, optional 2011 revocation, Anti-rollback, Boot sector choice etc) Secure Boot Host Readiness: Live host Secure Boot migration monitor and Servicing-task control Option under Image page - C:\Windows row, or load the host as the target - Updates - Secure Boot Image: 'Sort mounted images first' option for the image list in Menu-Settings UI: Hover description card for Components and Unattended pages, selectable text and quick access to Compatibility options Command line: Relay commands into the already-running instance Enables controlling already running NTLite via ntlite.exe Use /NewInstance to launch an additional instance using CLI operations (premium) UI: 'New instance' option via main menu instead of a secondary ntlite.exe prompt Apply: Hide individual Apply-page notes with a per-note dismiss (X), critical excluded Settings: 'Unsigned RDP file launch warnings' tweak (RDP client), bypassing the April 2026 security-update prompt on RDP connections Upgrade Image: Live OS and deployed image editing now unlocked on free/test licenses, same licensing as images Image: 'Recompress' option in manual dialog Remove Editions to shrink the WIM in one session Image: SWM part size set inline on the Apply page and image dialogs, split-size popup retired Image: Relative 'Last change' dates; editions grouped by build time to reduce noise Image: 'Forget - Missing' on the Edit-cache menu to mass drop entries whose folder is gone Components: Root groups reorganized - user-facing groups first, system/critical last Components: Show filter options to view components by Template or App-type, since Apps are now merged into groups Presets: Delete confirmation now lists the multi-selected preset names UI: Design update propagated to the rest of the tool UI: Filter and search match words in any order and partially, better results filtering Components Unattended: Input-locale language derives from the user locale, with an independent keyboard picker, enables combinations previously unavailable Unattended: Input-locale now allows for a user value override Unattended: Localization OOBE WinPE now can be copied with the new WinPE Copy OOBE localization toggle, enter locale settings once for both stages Updates: Downloader greys and locks updates the image already carries (hotfix and MSIX) Updates: Resume interrupted update downloads Command line: Many upgrades, see /?, now prints help to the console or redirected output UI-Translation: Finnish language added, also thanks for Chinese Traditional (Matt), French (tistou77), Italian (clarensio), Russian (RDS), Swedish (1FF), Vietnamese (Vu Anh Vu) Fix Components: Containers removal breaking Apps deployment Components: Microsoft Account had leftovers when Easy Migrate is kept Image: Export to an existing WIM improvements, Append renamed to Merge Image: Improved 26H1 live removal support Image: No more 'X:\ not accessible' popup for certain drives during image scan Presets: Manual image refresh picks up presets added/removed outside the app Tweaks: Disabled visual-effect animations no longer return after first logon on a new profile Tweaks: Live Visual Effects toggles (animations, drag full windows, font smoothing) now apply correctly Download: NTLite 2026.06.11200 | 20.5 MB (Free, paid upgrade available) Link: NTLite Home Page | NTLite Features | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Ah. La Fontana De Incontinentia ! Bella ! Bella !
  • Recent Achievements

    • 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
    • First Post
      carols23 earned a badge
      First Post
    • One Month Later
      Tom Willson earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      504
    2. 2
      +Edouard
      257
    3. 3
      PsYcHoKiLLa
      151
    4. 4
      Steven P.
      93
    5. 5
      macoman
      67
  • Tell a friend

    Love Neowin? Tell a friend!