How can I disable the guest user to close the PC while the Admin is connected?

I'm running Windows 7 Ultimate. I found out how to disable the guest user closing at all via the local security policy, but then they can't stop even if the Admin account is offline.

To clarify a bit, say I want to give my PC to someone, I usually click on change user and connect using the guest account. In this way, they can't access my account because it asks for a password. I want that in such a case, they should not be able to stop the PC as my admin account is always logged.

However, if someone booted the PC themselves and use the guest account, then they should be able to close too, as my Admin account has not been connected.

I'm running Windows 7 Ultimate. I discovered how to disable the guest user closing all through local security policy.

It is the correct method. It is as robust as it is unconditional.

If you want to have your cake and eat it the guest account must use a powerful "agent" to perform the functions of judgment. A scheduled task would be such an agent. It might work as follows:

  1. Create a scheduled task that runs Script1 to perform these tasks:
    -Check if the C:\Shutdown\Shutdown.txt file exists.
    -If not, the output of the script.
    -If this is the case, delete Shutdown.txt.
    -Check if there is an administrator session. If so, the output of the script.
    S ' there is no live administrator session, shut down the computer by using shutdown.exe.
    The task must run under an administrator account once every 3 minutes.
  2. Create a shortcut on the desktop for the Guest user calling Script2 for these tasks:
    -Check if there is an administrator session.
    -If this is the case, create a pop-up to inform the user that the machine cannot be stopped.
    -If it is not, create the C:\Shutdown\Shutdown.txt file. The scheduled task will 'see' this file and will stop the machine.

Tags: Windows

Similar Questions

  • How can I disable the warning "this connection is not approved", which appears almost each time I try to go to a Web page via Firefox? I use 10 64-bit Windows.

    I just upgraded to 10 64-bit Windows. The version of Firefox that works now on this OS regularly displays a blocking window that told me that "this connection is not approved" when I try to connect to a third-party site. A screenshot of the window copy is attached. How to disable this warning? I can't continue to use Firefox if I can't find the 'off' switch, which so far has escaped me.

    Yes, this is the feature, and it is lit.

    How it works, is that ESET intercepts all your browser connections to filter the content. If it is an HTTP connection, it is transparent. For an HTTPS connection, ESET must present a certificate of 'false' for Firefox site so it can be the "man in the middle" and decipher and read the answer (otherwise, it's gibberish, of course).

    ESET is supposed to insert his signature certificate in both the Windows certificate store (used by IE and Chrome) separated from Firefox AND the browser certificate store accepts the false certificates. But it does not always work. In this case, you can import the certificate manually in Firefox. If all goes well, which has been covered in the manual, but otherwise it's basically along these lines:

    (1) search or save a copy of the ESET signature certificate (it is a file in DER format that usually has the .cer extension). Is your second screen shot what appears when you click View Certificate? Try this:

    • Click the Details tab, click the button "Copy to File. This will start the Export Wizard.
    • In the wizard, choose the DER format and save in a suitable location (for example, your Documents folder).

    (2) import the file into Firefox as follows:

    • In Firefox, open the Certificate Manager to:
      "3-bar" menu button (or tools) > Options > advanced > mini-onglet Certificates > "view certificates" button.
    • Click on mini - the References tab, then on the 'Import' button and find the DER file. Note: I suggest allowing the certificate for websites only.

    I have attached a few screenshots of reference sample.

  • How can I disable the popup control in the user account that appears on my desktop to allow or reject the changes when I open a program without changing my user account settings.

    Original title: uac

    How can I disable the popup control in the user account that appears on my desktop to allow or reject the changes when I open a program without changing my user account settings.

    You want should not do that. These pop-up UAC is there to ensure the interaction of the user before executing a command or program. Disabling, allows even unwanted programs (= malware, viruses, Trojans) go ahead and implement themselves on your system without being noticed.

  • How can I disable the slide iOS 9 over "feature"?

    How can I disable the slide iOS 9 over "feature"? I continually, accidentally continues to activation of the slide feature, when I slide to the right. How can I activate the feature slide off that it's a constant nuisance?

    I had to use the iPad Guide to refresh my memory so I'll give you the quote.

    "Disable drag above. Go to settings > general > multitasking, and then disable allow multiple applications. »

    From: Apple Inc. "iPad for iOS 9.3 User Guide." Apple Inc., 2015. iBooks.

    These documents can be protected by copyright.

    Find this book on the iBook Store: https://itun.es/us/U4OT9.l

  • Each image or photo I watch is saved to the file. How can I disable the who.

    Each image or photo I watch is saved to the file. How can I disable the who.

    You can not turn it off because it is what allows you to view
    the pictures... they are copied into the temporary Internet files
    folder.

    Files can be eliminated by deleting the contents of your
    The temporary Internet files folder.

    If you want to view the contents of your
    The temporary Internet files folder... try the following steps...

    Reach... Start / run... Type or Copy/Paste...the following...

    %USERPROFILE%\Local Settings\Temporary Internet Files

    Press on... Come in...

    Remove all the Temporary Internet Files folder.

    More info...

    How to find your TIF (Temporary Internet Files) folder.

    Open a folder and go... Tools / Folder Options / View tab.

    ... To check "Show the hidden files and folders" / apply / OK.

    Now... you'll find your TIF file to the following location:

    C:\Documents and Settings\Votre user Name\ name
    Local Settings\Temporary Internet Files

    More information:

    (260897) how to remove the content of the
    Folder Temporary Internet Files
    http://support.Microsoft.com/?kbid=260897

    Also... to run Disk Cleanup can be worth a try:

    (310312) description of the disk cleanup
    Tool in Windows XP
    http://support.Microsoft.com/?kbid=310312

  • How can I disable the USE of INFORMATION in the .msi - DRIVE DC file

    How can I disable The USE of INFORMATION in the .msi file? I used the wizard to activate online services, but after I installed is not there in the preferences. It reappears in some way after that I have run CD a few times, returns the INFORMATION of USE. Someone knows how to remove it in the wizard so that it doesn't make the use of Adobe? I want this feature to be turned off at the time of installation and not have to change this setting after installation.

    Thank you!

    I don't know what ' it is not there in the preferences "way, but what you want is the following:

    BUsageMeasurement Set to 0. See user measure.

    Ben

  • How can I disable the color management in my Epson Stylus Photo R1900

    How can I disable the color management in my Epson Stylus Photo R1900 printer? I use the Epson laetest driver, I use Adobe Photoshop CS5 and I'm on OSX 10.5.8.

    Thank you

    Joe

    If you select "Photoshop manages color" the Epson R1900 with the commune 7.0 Updater installed on top of the 6. something driver automatically disables the printer color management.

    If for any reason any it is working properly, the R1900 user guide is available online. Page 28 and 29 of this guide shows how to turn off the Epson printer color management.

  • How can I disable the voicemail transcription service?

    How can I disable the function of transcription of voice mail on my iPhone 7 more?

    Hello

    Go to settings-accessibility disable voice.

    See you soon

    Brian

  • How can I disable the voice when you type with iOS 10.0.1

    How can I disable the voice when you type using iOS 10.0.1?

    GO to settings - general - accessibility-speech - Feedback-turnoff typo Word...

  • How can I DISABLE the module "signature" when I want TO use an older add-on?

    I the MAGNIFICENT Add on 1 - ClickWeather and now has a message on the 'signature' module Now... I DON'T want to use a product of INFERIOR quality such as suggested in the name of the add - on.

    I would use the add-on that I already have on my Firefox, 1-ClickWeather. So, how can I disable the 'signature' on an individual add-on module? It is said to "Act with caution", but it does not show Me the details of my time. I reinstalled the add-on, but it does not yet record my position.

    Yes, I KNOW it is no longer supported, but has always worked until this past Saturday. It was abandoned several years ago but was kept alive by a single poster whose comments have disappeared. I have the add-on on my computer. I continued to update the continuous Firefox updates. Now, I want to again but there's this ridiculous thing on the module "signature" and «proceed with caution...» »

    You cannot delete the warning, but in 42 Firefox extension should always work.

    See:

     Firefox 40-42: Firefox warns about signatures but doesn't enforce them.
  • How can I disable the newtab most used feature display sites. I want the new tab to open the page displayed in the newtab:url in the topic: function config

    How can I disable the newtab most used feature display sites. I want the new tab to open the page displayed in the newtab:url in the topic: function config

    41 of Firefox is no longer uses the browser.newtab.url setting in about: config because he was constantly attacked by malware. From 41 of Firefox, you need an add-on to change the new tab page.

    Here are a few options (I'm learning more all the time):

    • If you are already using the extension classic restaurateur theme: There is an option somewhere (!) in his dialogues of the parameters to select another page in the new tab.

    Setting up substitute again tab

    After installing this extension, you must use the Options page to set the new desired tab page (instead of use subject: config).

    Open the page modules using either:

    • CTRL + SHIFT + a (Mac: Cmd + shift + a)
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then on the side right, find the new tab override and click the Options button. (See first screenshot attached).

    Depending on the size of your screen, you may need to scroll down to enter the address in the form. (See second screenshot attached). For example:

    • (Default) page thumbnails = > subject: newtab
    • Blank tab = > subject: empty
    • Built-in Firefox homepage = > topic: welcome
    • Any other page = > full URL of the page

    Then tab or click this form field and you can test using Ctrl + t.

    Success?

    Once you have set it as you wish, you can close the Add-ons page (or use the back button to return to the list of Extensions of this Options page).

  • How can I disable the auto-hide known file attachments, and why are still on the 10 internet pages where I have to download something if I use firefo

    How can I disable the auto-hide known file attachments and why are they always about 10 Web pages where I have to download something when I use mozila firefox?

    Windows computer

    Ignore the link of the player Shockwave that probably, you mustn't he compared to Flash player because it is barely used nowadays.

    FredMcD, you really need correct/update your clipboard for that.

    The downloadable Shockwave player version (not flashing) is 12.1.3.153 and not 15.0.0.152 as you can be confusing which version of the flashplayer reached before.

    Flash player is 15.0.0.189 and not 14.0.0.179 as you can see at https://www.adobe.com/software/flash/about/

    Flash player is used for good Flash videos like Youtube and Flash games in Shockwave player is little used compared to Flash, for things such as games and online learning tools.

    And please, don't say "I asked. It's the way it is displayed on the site"as you said last time in https://support.mozilla.org/en-US/questions/1026518 , because who says little about why you're wrong ad versions and calling Shockwave player, Shockwave Flash.

  • How can I disable the automatic renewal of an app?

    How can I disable the automatic renewal of an application I bought?

    Applications on the MAc App Store are a time purchase only. There is no renewal.

    The app offers a renewable subscription to certain services with inside, if that is managed through the application Web site if the subscription has been activated it, or can be managed inside your Apple if that was used to activate the subscription ID.

    View, change or cancel your subscription - Apple Support

  • How can I disable the animation when I'm on the home page of Firefox?

    I have Firefox as the page start page that appears whenever I run Firefox. But I don't like animations that always appear now that I've upgraded to 29.0.1 for Mac. (The shooting star and the animation of 'space invaders'.) They are distracting. How can I disable the animations?

    If you prefer not to see excerpts on the topic: home page, you can set the pref browser.aboutHomeSnippets.updateUrl an empty string on the about: config page.
    Delete the storage\moz-safe-about + House in the closed Firefox with Firefox profile folder (Firefox > Quit) remove the snippets stored in IndexedDB and use Firefox default value.

    You can use this button to go to the Firefox profile folder currently in use:

    • Help > troubleshooting information > profile directory: see file (Linux: open the directory;) Mac: View in the Finder)

    You can reset the browser.aboutHomeSnippets.updateUrl the default pref to reactivate the code snippets.

  • How can I disable the message ' exit page / stay on the page.

    How can I disable the message ' exit page / stay on the page "Please explain step by step so if he is inserting java script.

    Thank you

    Install this Greasemonkey script should help: https://userscripts.org/scripts/show/23865

    (Note that this might break some sites, and is not approved/controlled by Mozilla in any way shape.)

  • How can I disable the 'top sites' history of cleaning does not remove this and confusing and a risk to privacy

    How can I disable the 'top sites' history of cleaning does not remove this and confusing and a risk to privacy.
    It also serves as the sites I want to keep are my favorites
    Is there an alternatively an add-on for this

    Hi Wayne_a,

    If you are concerened about your privacy you can turn off this feature:

    Disable the new tab Page

Maybe you are looking for