New
#1
Receiving "Error: Access is denied" when using fsutil setshortname
I am trying to use the fsutil setshortname to set "Program Files" to PROGRA~1, but the system is giving me an "Error: Access is denied" response. The following is what I have typed:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>cd ..
C:\Windows>cd ..
C:\>fsutil.exe 8dot3name set 0
C:\>fsutil file setshortname "C:\Program Files" PROGRA~1
Error: Access is denied.
C:\>fsutil file setshortname "Program Files" PROGRA~1
Error: Access is denied.
As you can tell, I first tried to do a reference to the path of Program Files, and failed. Then, I tried without the path file and got the same result.
What could be the reason that the system is denying the access? Thanks.
(P.S. This Command Prompt is ran as Administrator, so that shouldn't be the issue)