Shutdown when other users logged on.


Recommended Posts

I've searched on google and can't seem to find anything on this, so hoping you guys can help out.

I've got my Media Center in the living room. Each night I remote into it (into a hidden remote$ user account) from my laptop to set up the conversions for the night, then set it to shut down after they are finished. However, it is not shutting down as the 'are you sure you want to shut down as other users are logged on' message comes up. Is there any way to disable this message?

I can't remote into the 'main' media center user account as I don't want a password set up on it.

Thanks in advance.

Edited by SHoTTa35
Added tags
Link to comment
https://www.neowin.net/forum/topic/1034485-shutdown-when-other-users-logged-on/
Share on other sites

  On 25/10/2011 at 13:22, lars77 said:

Have you already tried a forced shutdown? e.g. bring up an elevated cmd prompt & enter


shutdown /s /f /t 0
[/CODE]

(you can run shutdown /? to see all the available options)

I've tried it, and it does work. But The conversion program I use can't run command lines once finished. :-/

Can't you give your main media center account a password and just have it auto-login?

  Quote
Try logging in as administrator first.

Type in netplwiz into the start menu search box.

Uncheck the box that says “Users must enter a user name and password to use this computer”, and then hit Apply.

You’ll see a username and password box. Enter in the appropriate information here and hit OK:

Now the username will still auto logon but now it will have a password to it which may be the answers for your situation.

Or log out your main account when logged in as remote and then run your conversions.

  On 25/10/2011 at 19:01, StealMySoda said:

I've tried it, and it does work. But The conversion program I use can't run command lines once finished. :-/

You could try running the program through a batch file, & force the batch file to wait for your conversion program to finish before doing the shutdown? e.g. something along these lines:

cmd.exe /c start /wait yourconversion.exe
shutdown /s /f /t 0

If not that, then somehow keeping the other account from being auto logged in, or making sure it's logged out, like Reason mentioned.

  On 25/10/2011 at 21:17, lars77 said:

You could try running the program through a batch file, & force the batch file to wait for your conversion program to finish before doing the shutdown?

Good point. If the app has a "quit when done" option (which I assume it would, since it has a "shutdown when done"), this might just work.

Or, you could also raise the issue with the developers of said app. They may be nice enough to put a "run command when done" option for you :)

I would just run the conversion on the main account that is logged in.. Just setup a password on the account, which can be auto logged into this will allow you to rdp to the account - use a /admin on the connection and you will get for sure the same session that is logged in local.

This way when the app goes to shutdown the machine there will be no issues of any other session running on the machine and it should shut down just fine.

This topic is now closed to further replies.
  • Posts

    • Who is teaching people how to hold writing instruments like this? Such pain
    • You can now customize the email actions toolbar in Outlook for Android and iOS by David Uzondu Microsoft has announced a new feature that will finally allow you to customize the action toolbar in Outlook for Android and iOS. For a long time, the main actions you could take on an email were stuck in a static position in the top-right corner. Deleting, archiving, or marking something as unread meant reaching your thumb all the way up there. Now, that entire bar has been moved to a, perhaps, much more sensible spot at the bottom of the screen. Here's how it works. When you open an email, you will see a new toolbar at the bottom of the screen. This bar holds several actions you can take, like Reply, Delete, and so on. Any commands that cannot fit are tucked away behind a "More options" button. To change the layout, you just tap that button. From there, you can tap More options (...) > Reorder, as shown in the following screenshot: Then, from there, you just drag and drop the actions you want onto the main bar. Once you set it, the layout stays the same across all your accounts. Now, it is not without its quirks. There are a couple of known issues, like the fact that your layout might change depending on your screen size or if you flip your phone horizontally. If your custom actions do not fit, they will get bumped to the overflow menu automatically. You will also see more grayed-out, disabled buttons than before. Microsoft says this is intentional so actions do not disappear from view entirely. This update is currently rolling out to anyone running at least Build 4.2522.0 on Android or Build 4.2522 on iOS.
    • Neat and welcome functionality...
    • Hey, some don't give a damn about STDs and gain pleasure from living animalistic lifestyles. Different strokes for different folks...
  • Recent Achievements

    • Week One Done
      dennis Nebeker earned a badge
      Week One Done
    • One Year In
      timothytoots earned a badge
      One Year In
    • One Month Later
      CHUNWEI earned a badge
      One Month Later
    • Week One Done
      TIGOSS earned a badge
      Week One Done
    • First Post
      henryj earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      467
    2. 2
      +FloatingFatMan
      193
    3. 3
      ATLien_0
      165
    4. 4
      Xenon
      78
    5. 5
      wakjak
      72
  • Tell a friend

    Love Neowin? Tell a friend!