Basically, this means running the Command Prompt program cmd. You'll know if you need to run a particular command from within an elevated Command Prompt because it'll clearly tell you that in an error message after running the command. For example, when you try to execute the sfc command from a normal Command Prompt window, you'll get the "You must be an administrator running a console session in order to use the sfc utility" message. Try the chkdsk command and you'll get an "Access Denied as you do not have sufficient privileges or the disk may be locked by another process.
You have to invoke this utility running in elevated mode and make sure the disk is unlocked" error. Other commands give other messages, but regardless of how the message is phrased, or what Command Prompt command we're talking about, the solution is simple: open an elevated Command Prompt and execute the command again.
Don't let all the discussion above convince you that you should, or need to, run Command Prompt as an administrator for most commands. For almost all Command Prompt commands, no matter what version of Windows, it's perfectly okay to execute them from a standard Command Prompt window. To be able to open an elevated Command Prompt window, either a your Windows user account must already have administrator privileges, or b you must know the password to another account on the computer that has administrator privileges.
Most home computer user's accounts are set up as administrator accounts, so this isn't usually a concern. There's a very easy way to tell if the Command Prompt window you've opened is elevated or not: it's elevated if the window title says Administrator ; it's not elevated if the window title just says Command Prompt.
An elevated Command Prompt window opens to the system32 folder. If you plan on frequently using an elevated Command Prompt then you should consider creating a new shortcut to Command Prompt that automatically starts the program with administrator-level access.
In Windows XP , users have Administrator privileges by default. When you open a Command Prompt in XP it will be elevated unless you have another type of profile. Actively scan device characteristics for identification. Use precise geolocation data. Select personalised content. Do not post in this forum Sign in to vote. Moved by jrv Thursday, April 5, PM off topic. Saturday, June 10, AM. This is not really an end user forum. It is a technical forum for Admin scripting. Best regards, Andy Please remember to mark the replies as answers if they help.
Hi, just want to confirm if this issue was resolved? The You have to invoke this utility running in elevated mode and make sure the disk is unlocked error message is not new to experienced Windows users, who use the Command Prompt regularly. This is how one user on Microsoft Answers forum described the problem:. How can I resolve this problem. Tank you. Note: This solution can cause problems if you take ownership of the system drive, so be extra cautious while using this solution.
Hope you were able to resolve the You have to invoke this utility running in elevated mode and make sure the disk is unlocked error message?
If so, you can share your experience with us by commenting below. What is the difference between chkdsk R and F? Microsoft has a detailed page for chkdsk. Does chkdsk erase data? It finds unidentifiable data areas on the disk, and can save them as. Is chkdsk safe? Under normal circumstances, it's perfectly safe as long as you're using the one designed for your version of Windows. However, it is possible that there are important files on the bad clusters, which haven't been marked as bad, and those clusters may be working intermittently.
How long should chkdsk take Windows 10? The chkdsk process is usually completed in 5 hours for 1TB drives, and if you're scanning a 3TB drive, the required time triples.
As we already mentioned, chkdsk scan can take a while depending on the size of the selected partition.
0コメント