如何防止“輔助”帳戶關閉Windows8?

共享一臺家庭電腦在大多數情況下都很好,但是如果有人透過他們的帳戶關閉了電腦,而你的工作文件還在開啟,會發生什麼呢?有沒有辦法阻止其他帳戶關閉計算機?...

如何防止“輔助”帳戶關閉Windows8?

共享一臺家庭電腦在大多數情況下都很好,但是如果有人透過他們的帳戶關閉了電腦,而你的工作文件還在開啟,會發生什麼呢?有沒有辦法阻止其他帳戶關閉計算機?

今天的問答環節是由SuperUser提供的,SuperUser是Stack Exchange的一個分支,是一個由社群驅動的問答網站分組。

問題

超級使用者讀者RobithNurielHaq想知道如何防止計算機上的其他使用者關閉:

I am using Windows 8.1 and have set up a child account for my son. When he wants to use the computer, I switch to his child account without signing out of mine (because I have a lot of open documents that I still work on and do not want to close them yet).

One day, when he finished using the computer, he shut it down immediately. When the computer shut down, I lost all of my open documents. It was a disaster. Is there a way to disable his account’s power button on the Charms Bar, or at least to prevent a shut down if other accounts are still logged on?

Robith有沒有辦法阻止其他人關閉電腦,這樣他所有的工作就不會丟失?

答案

超級使用者貢獻者和31415為我們提供了答案:

Solution

There are different ways to shut down the system, so you have to take that into account in order to avoid the issue entirely.

Preliminary steps

1. Make sure the user accounts you want to restrict are logged off.

2. Log on with an administrator account, and open an elevated command prompt.

Disable all shut down butt*** and menus for a specific user

1. Type or paste the following command in the command prompt by replacing <User> with the actual folder, then press Enter:

  • reg load “HKU\User” “%SystemDrive%\Users\<User>\NTUSER.DAT”

2. Execute the commands below:

  • reg add “HKU\User\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer” /v “NoClose” /t REG_DWORD /d 1 /f
  • reg unload “HKU\User”

3. Repeat steps 1-2 for any other user you want to limit.

Revoke shut down privileges assigned to standard users

1. Download the Windows Server 2003 Resource Kit Tools.

2. Extract the downloaded rktools.exe file using 7-Zip.

3. Open the folder containing the extracted files, and extract the rktools.msi using 7-Zip. Among all the files there is one called ntrights.exe.

4. Navigate to the folder containing ntrights.exe by running the commands below (after replacing the folder path inside quotes):

  • cd /d “X:\Some\folder”
  • ntrights.exe -u Users -r SeShutdownPrivilege
  • ntrights.exe -u Users -r SeRemoteShutdownPrivilege

Remove the shut down button on the logon screen

Execute this command:

  • reg add “HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System” /v “ShutdownWithoutLogon” /t REG_DWORD /d 0 /f

References


有什麼要補充的解釋嗎?在評論中發出聲音。想從其他精通技術的Stack Exchange使用者那裡瞭解更多答案嗎?在這裡檢視完整的討論主題。

  • 發表於 2021-04-11 11:19
  • 閱讀 ( 29 )
  • 分類:網際網路

你可能感興趣的文章

如何在windows 10中建立備份管理員帳戶

如果你是唯一一個使用電腦的人,那麼管理使用者帳戶就相當容易了。你用你自己的帳戶登入,這個帳戶很可能是管理員帳戶,不需要考慮其他什麼。 ...

  • 發佈於 2021-03-15 00:51
  • 閲讀 ( 40 )

如何在一次點選中刪除您的web帳戶

...你在網上分享了太多的資訊,以及這些資訊在未來幾年裡如何被用來對付你。 ...

  • 發佈於 2021-03-16 12:20
  • 閲讀 ( 49 )

6個最煩人的windows特性及其修復方法

...本功能,因為它為您的系統提供安全更新。謝天謝地,在windows8和windows10中它變得更加平滑了。現在你可以選擇一個方便的時間重新啟動,而不是像Windows7那樣不停地要求你重新啟動。根據您的Windows版本,您可能會遇到不同的問...

  • 發佈於 2021-03-16 14:34
  • 閲讀 ( 47 )

如何停用(或刪除)您的pinterest帳戶

...騙局?如果您想停用或完全刪除您的Pinterest帳戶,下面是如何做到這一點。 ...

  • 發佈於 2021-03-17 09:28
  • 閲讀 ( 56 )

如何刪除您的易趣帳戶

... 如何刪除您的易趣帳戶 ...

  • 發佈於 2021-03-24 00:45
  • 閲讀 ( 46 )

如何啟用雙因素身份驗證和保護您的環帳戶

...進行更改。 相關:為什麼你應該使用密碼管理器,以及如何開始 聯機更改密碼 從Ring的網站開始。從那裡,點選右上角的“登入”按鈕。 接下來,登入您的帳戶。 將滑鼠懸停在右上角的姓名上,然後選擇“帳戶”選項。 單...

  • 發佈於 2021-04-02 20:03
  • 閲讀 ( 57 )

如何在iphone、ipad和mac上關閉facetime

...你這麼做了,你就不能撥打或接聽FaceTime電話了。 相關:如何在iPhone、iPad或Mac上進行FaceTime通話 如何在iphone和ipad上關閉facetime 需要注意的一點是,當您在iPhone或iPad上禁用FaceTime時,您將停止接收影片通話通知。但對來電者來說...

  • 發佈於 2021-04-03 05:11
  • 閲讀 ( 55 )

windows登錄檔解密:你能用它做什麼

...統的登入螢幕,那麼這個登錄檔駭客就適合你了。它是為windows8建立的,但仍然適用於windows10的最新版本。 將“取得所有權”新增到上下文選單:在Windows上,檔案由使用者“擁有”。如果您是一個經常更改檔案所有權的高階使...

  • 發佈於 2021-04-04 23:18
  • 閲讀 ( 55 )

如何在windows 10上禁用通知

...不會不斷更新新內容。 如何禁用鎖屏通知 相關:如何在Windows8或10上自定義鎖屏 Windows10還允許應用程式在鎖屏上以狀態訊息的形式顯示通知。如果不想在鎖屏上看到狀態訊息,可以將其刪除。 要控制鎖屏上顯示的內容,請轉至...

  • 發佈於 2021-04-06 16:26
  • 閲讀 ( 44 )

如何防止意外觸碰homepod

...些東西。不過,有一種方法可以防止意外接觸。 相關:如何阻止HomePod閱讀你的簡訊給其他人 要做到這一點,實際上您將利用HomePod中包含的一些輔助功能。雖然這些功能在技術上是為殘疾使用者準備的,但這些功能對任何人都...

  • 發佈於 2021-04-06 16:49
  • 閲讀 ( 40 )
doa2578
doa2578

0 篇文章

作家榜

  1. admin 0 文章
  2. 孫小欽 0 文章
  3. JVhby0 0 文章
  4. fvpvzrr 0 文章
  5. 0sus8kksc 0 文章
  6. zsfn1903 0 文章
  7. w91395898 0 文章
  8. SuperQueen123 0 文章

相關推薦