विंडोज 8 को बंद करने से आप 'माध्यमिक' खातों को कैसे रोकते हैं?

विषयसूची:

विंडोज 8 को बंद करने से आप 'माध्यमिक' खातों को कैसे रोकते हैं?
विंडोज 8 को बंद करने से आप 'माध्यमिक' खातों को कैसे रोकते हैं?
Anonim
एक पारिवारिक कंप्यूटर साझा करना ज्यादातर समय काम करता है, लेकिन क्या होता है यदि कोई कंप्यूटर को अपने खाते के माध्यम से बंद कर देता है, जबकि आपके पास अभी भी कार्य दस्तावेज़ आपके पास खुले हैं? क्या कंप्यूटर को बंद करने से अन्य खातों को रोकने का कोई तरीका है?
एक पारिवारिक कंप्यूटर साझा करना ज्यादातर समय काम करता है, लेकिन क्या होता है यदि कोई कंप्यूटर को अपने खाते के माध्यम से बंद कर देता है, जबकि आपके पास अभी भी कार्य दस्तावेज़ आपके पास खुले हैं? क्या कंप्यूटर को बंद करने से अन्य खातों को रोकने का कोई तरीका है?

आज का प्रश्न और उत्तर सत्र हमारे पास सुपरयूसर की सौजन्य है - स्टैक एक्सचेंज का एक उपविभाग, क्यू एंड ए वेब साइट्स का एक समुदाय संचालित समूह।

प्रश्न

सुपर यूज़र रीडर रोबिथ नूरियल हक जानना चाहते हैं कि अन्य उपयोगकर्ताओं को अपने कंप्यूटर पर इसे बंद करने से कैसे रोकें:

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?

क्या रोबिथ को दूसरों को कंप्यूटर बंद करने से रोकने का कोई तरीका है ताकि उसका पूरा काम गुम हो जाए?

उत्तर

SuperUser योगदानकर्ता और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 buttons and menus for a specific user

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

reg load “HKUUser” “%SystemDrive%UsersNTUSER.DAT”

2. Execute the commands below:

  • reg add “HKUUserSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer” /v “NoClose” /t REG_DWORD /d 1 /f
  • reg unload “HKUUser”

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:Somefolder”
  • 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 “HKLMSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem” /v “ShutdownWithoutLogon” /t REG_DWORD /d 0 /f

References

  • Command Prompt: frequently asked questions
  • reg – Command-Line Reference
  • NTrights – User Privileges | SS64.com
  • Remove and prevent access to the Shut Down, Restart, Sleep, and Hibernate commands
  • Shut down the system – User Rights Assignment
  • Shutdown: Allow system to be shut down without having to log on

स्पष्टीकरण में जोड़ने के लिए कुछ है? टिप्पणियों में विचार व्यक्त करो। अन्य तकनीक-समझदार स्टैक एक्सचेंज उपयोगकर्ताओं से अधिक उत्तरों पढ़ना चाहते हैं? यहां पूर्ण चर्चा धागा देखें।

सिफारिश की: