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

    • Tidal won't monetize AI slop music, company says by David Uzondu Image via Tidal Tidal has announced an AI policy aimed at protecting artists and their crafts, as AI music generation tools continue to improve both in speed and quality. According to the music streaming platform, AI-generated music will be accepted, but these tracks will be held to a "higher standard" of content integrity. Next month, the company plans to auto-identify and tag these uploads. Listeners will spot a special icon next to content that algorithms flag as 100% AI-generated starting mid-July, and the platform hopes to expand this tag to partially generated songs as detection tech improves. Any AI music that exploits an artist's voice or likeness will be taken down, and Tidal will immediately block tracks associated with fraudulent activity, which includes artificial streaming and deceptive content that interferes with real creators. And finally, music that's 100% AI-generated will not be monetized. Tidal said there is "ongoing debate" about whether certain licensed synthetic models deserve payouts, so it's possible that this part will change in the future. Streaming platforms are absolutely getting flooded with AI-generated music because of how easy it is to pump out endless tracks every minute. To give you an idea of how "bad" it is, Deezer alone reported that synthetic uploads now make up about 44% of its daily intake, which translates to roughly 75,000 automated tracks hitting its servers every single day. Interestingly, Deezer found most people cannot tell the difference between human and machine creations, with an Ipsos study revealing that 97% of listeners failed to spot the AI-generated tracks. Spotify's CEO recently pushed back against listeners who call AI music "slop," urging people to stop using the term and instead embrace the creative potential of AI music. The Swedish platform partnered with Universal Music Group to test "legal and controlled" generative AI tools that let subscribers remix songs with AI.
    • According to Microsoft, Cause: One of the drivers controlling the device notified the operating system that the device failed in some manner.   https://support.microsoft.com/en-us/topic/error-codes-in-device-manager-in-windows-524e9e89-4dee-8883-0afa-6bca0456324e
    • This looks awesome, I will request access via Steam later this afternoon!
    • Personally, I’ve found that it’s usually worth investing in the infrastructure you don’t want to replace later, especially cabling. Running Cat6A (or better, depending on your needs) during an upgrade is relatively inexpensive compared to having to re-cable a few years down the road. For switches I try to balance current specs with realistic growth. If my budget allows it Ill choose switches with higher uplink speeds which leaves room for expanding later on, but I don’t necessarily overspend on access ports if the endpoints won’t benefit from them anytime soon. One lesson I’ve learned is that planning for scalability pays off. It’s much easier to add devices, VLANs, or higher-bandwidth workloads when your network infrastructure already supports it than to replace hardware later.  What is your budget like?
  • 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
      539
    2. 2
      +Edouard
      269
    3. 3
      PsYcHoKiLLa
      154
    4. 4
      Steven P.
      99
    5. 5
      macoman
      66
  • Tell a friend

    Love Neowin? Tell a friend!