Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

access denied

Posted on 2016-11-01
7
Medium Priority
?
26 Views
Last Modified: 2016-11-24
i have a HDD with XP on, my PC is not booting so i removed the HDD and inserted it as  external, i am trying to copy the data off to backup, but eachtime i say copy and paste it gives me the following error: you don't currently have permission to access this folder.
0
Comment
Question by:Bizfolio
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 27

Expert Comment

by:MacroShadow
ID: 41868129
Assuming you have a admin account, copy the following text to a text file, save it as GrantPermissions.vbs and run it from the HDD now connected as an external drive.
    Dim oShell, oFSO, oNetWork, oFile, strSysDir, strPath, strScriptDir, strUserName, strToolPath, strCommand

    Set oFSO = CreateObject("Scripting.FileSystemObject")
    Set oShell = CreateObject("WScript.Shell")
    Set oNetWork = CreateObject("WScript.NetWork")

    strSysDir = oFSO.GetSpecialFolder(1).Path
    If Right(strSysDir, 1) <> "\" Then strSysDir = strSysDir & "\"

    strToolPath = strSysDir & "icacls.exe"
    strPath = Wscript.ScriptFullName
    Set oFile = oFSO.GetFile(strPath)
    strScriptDir = oFSO.GetParentFolderName(oFile)
    strUserName = oNetWork.UserName

    strCommand = """" & strToolPath & """" & "" & strScriptDir & "" & "  /grant " & """ & strUserName & """ & ":(OI)(CI)F /T"

    oShell.Run strCommand, 1, True

Open in new window

0
 

Author Comment

by:Bizfolio
ID: 41868199
hi
I followed the steps above, but still no luck.

any other suggestions?
0
 
LVL 27

Expert Comment

by:MacroShadow
ID: 41868207
Right-click on the drive, select Properties.
In the Security tab add the required permissions.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:Bizfolio
ID: 41868250
nope still not working
0
 
LVL 25

Accepted Solution

by:
NVIT earned 1000 total points (awarded by participants)
ID: 41868605
Take ownership of the drive.

Click Start , click All programs , and click Accessories . 2. Right-click Command Prompt and click Run as administrator . takeown /F (external drive letter) and press Enter

http://answers.microsoft.com/en-us/windows/forum/windows_7-security/access-denied-on-external-hard-drive/a534c0e9-0f19-4d1a-be93-52d7b1a0e922

If the OS is XP, takeown may not be available. Instead, use the Security tab per https://technet.microsoft.com/en-us/library/Cc753659.aspx
0
 
LVL 27

Assisted Solution

by:MacroShadow
MacroShadow earned 1000 total points (awarded by participants)
ID: 41875623
You can use a freeware app NTFS Access to quickly and easily remedy your problem.
0
 
LVL 27

Expert Comment

by:MacroShadow
ID: 41900305
Question not closed by OP. I recommend a point split between the two answers which should solve the OPs question.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question