Sælir vaktarar, ég er með smá vandamál. Þannig er að ég þarf að nálgast skrár sem ég hafði bæði gert "hidden" og greinilega sett einhverja vörn því það kemur alltaf "Windows Photo Viewer can't open this picture because you don't have the correct permissions to access the file location." Ef ég ætla að eyða skrá þá kemur "File Access Denied" glugginn sem segir að ég þurfi administrator permission til að eyða skránni, ég ýti á continue þá kemur aftur sami gluggi en núna "You require permission from (heitið á tölvunni) to make changes to this file".
Einnig sumar skrár eru með hakað í "Encrypt contents to secure data" og ef ég reyni að afhaka þá kemur "An error occurred while applying attributes to the file: .... Access is denied".
Þessar skrár eru frá gamalli tölvu sem var að keyra Windows XP ef ég man rétt en ég er núna með Windows 8. Er einhver með lausn á þessu vandamáli? Kannski eitthvað forrit sem getur endurheimt aðgang að þessum skrám?
Access denied vandamál
-
- Vaktari
- Póstar: 2277
- Skráði sig: Fim 02. Sep 2010 18:20
- Reputation: 20
- Staðsetning: Grafarvogur
- Hafðu samband:
- Staða: Ótengdur
Re: Access denied vandamál
Ef þú ert að hreinsa til af svona gamalli tölvu er eflaust einfaldast að færa það sem skiptir máli yfir á flakkara og formatta svo tölvuna.
-
- Stjórnandi
- Póstar: 6354
- Skráði sig: Þri 19. Ágú 2008 20:58
- Reputation: 161
- Staða: Ótengdur
Re: Access denied vandamál
Hægri klikk á möppuna -> Security -> Advanced -> Veldu userana sem þú vilt hafa, oftast er það Administrators, SYSTEM og Creator/þinn user. Hakaðu í Replace all child object permission entries from this object neðst í glugganum, ýttu á OK og samþykktu næstu skref.
Re: Access denied vandamál
Var einhvern tíman að basla við þetta.
Þetta hjálpaði mér:
This is how you can delete these folders.
I'm going to pretend that the name of the folder we want to delete is abc123; replace that with the actual folder name. You can save yourself a lot of typing by using the TAB key; when typing a command you can just enter the first two or three characters of the folder name and then press TAB. You need to press ENTER after typing each command. Double-check each command (and in particular make sure you haven't accidentally specified a folder you don't want deleted!) before pressing ENTER.
Start by opening an administrative command prompt. You do this by clicking on the Start Menu, typing cmd and pressing CONTROL-SHIFT-ENTER. You should get a confirmation prompt, and might need to enter an administrative password. Then, in the command prompt:
cd /d c:\
dir /ad
You should see a list of folders, including the folders you want to delete as well as various Windows folders such as Program Files and Users.
md empty
robocopy /e /purge /b empty abc123
What we've done here is to create an empty folder and tell Robocopy to copy it over top of the folder we're trying to delete. The /purge tells Robocopy to delete the files and the /b tells Robocopy to bypass file security. Robocopy will list the files in the folder as it deletes them, and will also produce a summary at the end showing how many files were deleted (look for the column titled Extras).
Repeat the robocopy command for each of the folders you want to delete. You don't need to repeat the md command each time.
Robocopy won't remove the folder itself, so we will do that separately:
takeown /F abc123
icacls abc123 /grant administrators:F
rd abc123
The first command takes ownership of the folder so that we can change the permissions, the second gives us permission to remove it, and the last line removes it. Repeat these three commands for each folder you want to delete.
Finally, we remove the empty folder we created, since we don't need it any more:
rd empty
Hope this helps.olders
Þetta hjálpaði mér:
This is how you can delete these folders.
I'm going to pretend that the name of the folder we want to delete is abc123; replace that with the actual folder name. You can save yourself a lot of typing by using the TAB key; when typing a command you can just enter the first two or three characters of the folder name and then press TAB. You need to press ENTER after typing each command. Double-check each command (and in particular make sure you haven't accidentally specified a folder you don't want deleted!) before pressing ENTER.
Start by opening an administrative command prompt. You do this by clicking on the Start Menu, typing cmd and pressing CONTROL-SHIFT-ENTER. You should get a confirmation prompt, and might need to enter an administrative password. Then, in the command prompt:
cd /d c:\
dir /ad
You should see a list of folders, including the folders you want to delete as well as various Windows folders such as Program Files and Users.
md empty
robocopy /e /purge /b empty abc123
What we've done here is to create an empty folder and tell Robocopy to copy it over top of the folder we're trying to delete. The /purge tells Robocopy to delete the files and the /b tells Robocopy to bypass file security. Robocopy will list the files in the folder as it deletes them, and will also produce a summary at the end showing how many files were deleted (look for the column titled Extras).
Repeat the robocopy command for each of the folders you want to delete. You don't need to repeat the md command each time.
Robocopy won't remove the folder itself, so we will do that separately:
takeown /F abc123
icacls abc123 /grant administrators:F
rd abc123
The first command takes ownership of the folder so that we can change the permissions, the second gives us permission to remove it, and the last line removes it. Repeat these three commands for each folder you want to delete.
Finally, we remove the empty folder we created, since we don't need it any more:
rd empty
Hope this helps.olders