我是一個mac用戶,使我第一次進入Windows開發,我遇到了一些令人困惑的管理員權限錯誤。我正在通過我剛剛設置的macbook pro上的Bootcamp運行Windows 10安裝(我沒有「激活窗口」,即沒有支付它,不知道這是否會影響我的問題)。我是管理員和也在系統上的唯一用戶,這是我確認通過設置應用首先檢查,然後通過運行下面的命令:在Windows中的不一致的管理員權限
C:\Users\will\code\chrome-native-messaging>net user "%username%"
User name will
Full Name
Comment
User's comment
Country/region code 000 (System Default)
Account active Yes
Account expires Never
Password last set 9/26/2016 1:38:13 PM
Password expires Never
Password changeable 9/26/2016 1:38:13 PM
Password required No
User may change password Yes
Workstations allowed All
Logon script
User profile
Home directory
Last logon 9/28/2016 1:03:42 PM
Logon hours allowed All
Local Group Memberships *Administrators *Ssh Users
Global Group memberships *None
The command completed successfully.
C:\Users\will\code\chrome-native-messaging>net localgroup administrators
Alias name administrators
Comment Administrators have complete and unrestricted access to the computer/domain
Members
-------------------------------------------------------------------------------
Administrator
will
The command completed successfully.
然而,當我運行另一個命令在SO建議thread來驗證我的管理狀態,我得到一個錯誤access denied
:
C:\Users\will\code\chrome-native-messaging>fsutil dirty query %systemdrive%
Error: Access is denied.
如何成功運行此命令任何指針都大加讚賞。謝謝!
您的命令提示符未使用提升的權限運行。 –