OneDrive 하위에 위치한 Documents, Desktop 폴더에 대한 권한 변경 시 "Unable to display current owner"
이상하군요, OneDrive 하위에 윈도우 시스템의 전통적인 Documents 폴더와 Dekstop 폴더가 위치하고 있습니다. 문제는, 해당 폴더들을 삭제하려는 데 "Access Denied" 오류가 발생하며 심지어 속성 창의 보안 탭에 가도 다음과 같은 메시지와 함께,
You must have Read permissions to view the properties of this object.
Click Continue to attempt the operation with administrative permissions.
You do not have permission to view or edit this object's permission settings.
변경할 수 있는 여지를 안 두고 있습니다.
검색해 보면 다음의 글이 나오긴 하는데,
Fix Unable to display current owner error on Windows 10
; https://www.thewindowsclub.com/fix-unable-to-display-current-owner-error-on-windows-10
해당 방법을 사용해도 역시나 마찬가지입니다.
C:\Users\%USERNAME%\OneDrive> takeown /F c:\Users\%USERNAME%\OneDrive\Desktop /a /r /d y
ERROR: Access is denied.
C:\Users\%USERNAME%\OneDrive> icacls c:\Users\%USERNAME%\OneDrive\Desktop /grant administrators:F /t
c:\Users\%USERNAME%\OneDrive\Desktop: Access is denied.
Successfully processed 0 files; Failed processing 1 files
(위의 방법은 OneDrive 하위 폴더가 아닌 경우 적용해 볼 수 있습니다.)
해결 방법은, 레지스트리를 모두 검색해서 "...[생략]...\OneDrive\Desktop" 경로를 갖는 설정을 모두 "c:\Users\%USERNAME%\Desktop"으로 변경한 다음 재부팅을 한 후에야 해당 폴더들을 정상적으로 삭제할 수 있었습니다.
참고로, OneDrive 폴더 하위의 "Desktop", "Documents" 폴더 등을 삭제할 수 있어도 레지스트리 설정이 남아 있는 한 재부팅 후 다시 생성되는 것이 반복됩니다.
[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]