This again uses the special runas verb in Windows Vista and higher, which Ive covered earlier (REF RunAs). The above command will assign ownership to the currently logged-in user. Click OK. 20. If a user is not the owner of a file or folder or has no permissions to access the file, he gets the access is denied error when accessing the object. Shift to Security tab from General (selected by default). A) Click/tap on the Download button below to download the .reg file below, and go to. this is great and it work (Take Ownership), I was able to replace the bad DLL in SysWoW64. Or, if it's just a normal file lock with some word document or something, go to Computer Management, Shared Folders > Open Files. Here are the steps: Right-click the folder. Example 3: To assign Full Control permissions for the user named John, use this command: Youll see the following output:if(typeof ez_ad_units!='undefined'){ez_ad_units.push([[300,250],'winhelponline_com-leader-1','ezslot_4',113,'0','0'])};__ez_fad_position('div-gpt-ad-winhelponline_com-leader-1-0'); SUCCESS: The file (or folder): folder_name now owned by by user computername\username. I am guessing your program is not playing well with UAC or the UAC settings have changed. To add a "Take Ownership" option to the right-click menu, do the following: Once you completed the steps, you can simply right-click any file or folder, and you should now see a new "Take Ownership" item on the menu. To do so, Press the Windows key to bring up Search (Start) menu. Sometimes, the icacls.exe /setowner command-line can encounter the following error: This can happen when it encounters an NTFS hard link. To access the command, you need to press and hold the SHIFT key and then right-click on a file or folder. @Stephen: thanks for the idea. Thanks. He loves to troubleshoot and write about Windows. Furthermore, you can find the "Troubleshooting Login Issues" section which can answer your unresolved problems and .