• <noscript id="ecgc0"><kbd id="ecgc0"></kbd></noscript>
    <menu id="ecgc0"></menu>
  • <tt id="ecgc0"></tt>

    電腦系統如何取得管理員所有權

    大師日常平凡在利用操作系統的時辰,有沒有碰見過不讓我們刪除文件的環境呢,在這種環境下,往往是因為我們沒有取得辦理員所有權導致的,所以在這篇經驗中,我將標的目的大師介紹若何取得辦理員所有權,大師速來圍不雅我的經驗啦。

    東西/原料

    • 注冊表編纂器

    方式/步調

    1. 1

      起首,我們在桌面上新建一個文本文檔,然后復制下一個步調中的代碼。

    2. 2

      代碼如下:

      Windows Registry Editor Version 5.00

      [HKEY_CLASSES_ROOT\*\shell\runas]

      @="獲取辦理員所有權"

      "NoWorkingDirectory"=""

      [HKEY_CLASSES_ROOT\*\shell\runas\command]

      @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

      "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

      [HKEY_CLASSES_ROOT\exefile\shell\runas2]

      @="獲取辦理員所有權"

      "NoWorkingDirectory"=""

      [HKEY_CLASSES_ROOT\exefile\shell\runas2\command]

      @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

      "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

      [HKEY_CLASSES_ROOT\Directory\shell\runas]

      @="獲取辦理員所有權"

      "NoWorkingDirectory"=""

      [HKEY_CLASSES_ROOT\Directory\shell\runas\command]

      @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

      "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

      只復制粗體的代碼粘貼到文本文檔即可。

    3. 3

      然后接下來,將該文本文件保留為.reg后綴格局的文件,然后雙擊運行該文件,將其導入注冊表。

    4. 4

      導入注冊表今后,若是碰到無法刪除文件或者文件夾,對著該文件或者文件夾擊右鍵,選擇“取得辦理員所有權”。

    5. 5

      最后,當文件號令行法式運行完畢之后,我們就可以順遂的刪除文件或者執行其他操作啦。

    注重事項

    • 電腦日常操作經驗,為作者日常平凡操作過程所總結出來的經驗,若是你喜好本經驗,請繼續存眷本系列文檔,后期將會推出更多優異的文章。
    • 此經驗文字原創,圖片原創,經本人親測后編寫,轉載請注明!
    • 若是你感覺本篇經驗對你有幫忙,請存眷下作者,投上貴重的一票,感謝!
    • 發表于 2018-10-06 00:00
    • 閱讀 ( 594 )
    • 分類:其他類型

    你可能感興趣的文章

    相關問題

    0 條評論

    請先 登錄 后評論
    admin
    admin

    0 篇文章

    作家榜 ?

    1. xiaonan123 189 文章
    2. 湯依妹兒 97 文章
    3. luogf229 46 文章
    4. jy02406749 45 文章
    5. 小凡 34 文章
    6. Daisy萌 32 文章
    7. 我的QQ3117863681 24 文章
    8. 華志健 23 文章

    推薦文章

    聯系我們:uytrv@hotmail.com 問答工具
  • <noscript id="ecgc0"><kbd id="ecgc0"></kbd></noscript>
    <menu id="ecgc0"></menu>
  • <tt id="ecgc0"></tt>
    久久久久精品国产麻豆