Menu

Shutdown button is missing (server 2008 r2)

Help
98 guy
2010-03-10
2012-10-29
  • 98 guy

    98 guy - 2010-03-10

    I'm running Multipoint Server 2010 (which is built on top of Server 2008 r2)
    and I installed Classic Shell and I really like it (anything that makes it
    look more like win-98 I'll take - would like to see a file-find that is as
    painless to use as it is in win-98, but that's another issue).

    Multipoint allows a computer to have multiple video-cards and monitors,
    keyboards and mice connected to the same computer, and each
    computer/keyboard/mouse becomes a separate console where someone can log in
    and run apps installed on the computer, access the same files, etc. Multipoint
    can be started in one of 2 modes: Normal mode (multi-user) or Maintenance mode
    (single user - usually administrator). When started in Maintenance mode, the
    shut-down button is there. When started in Normal mode, the shut-down button
    is replaced with "disconnect" instead. If I'm using the default shell, the
    shutdown button is there in both modes. For some reason it's not there when
    running Classic Shell in normal (multi-user) mode. Is this fixable? Otherwise
    I have to put a shutdown shortcut on the desktop.

     
  • Ivo Beltchev

    Ivo Beltchev - 2010-03-10

    The "Shutdown" command is disabled if the start menu detects that it runs in a
    remote session (when the GetSystemMetrics(SM_REMOTESESSION) function returns
    TRUE). So looks like this Multipoint Server is simulating remote sessions to
    support multiple users.

    You can edit the StartMenuItems.ini file and provide your own action when the
    "Shutdown" item is activated. If you change the ShutdownItem.Command from
    "shutdown_box" to something else, it won't disappear any more.
    The simplest thing you can do is make the command just "shutdown". Then it
    will shut down the computer without asking.
    If you have an exe or batch file that already does what you need, set
    ShutdownItem.Command to call that file.

    Here's a brief tutorial how to do something similar: http://sourceforge.net/p
    rojects/classicshell/forums/forum/1049756/topic/3523837

     
  • John_Edward

    John_Edward - 2010-03-10

    Or just open the original start menu by clicking the start button while
    holding shift when you need to shut down the computer :P

     
  • 98 guy

    98 guy - 2010-03-12

    Am I correct in that the file startmenuitems.ini is not normally part of, or
    installed by Classic Shell? And that I have to download it separately (or
    additionally) if I want to do the modifications that you're suggesting? If so,
    where exactly is that file supposed to be put? I think that Classic Shell put
    itself in the root of Program Files - should this .ini file also be put there?

    I've tried exactly that, along with the language ini file, but no matter what
    sort of edits or modifications I do to the startmenuitems.ini file, I see no
    change in the appearance or functions of the start menu buttons of Classic
    Shell. If I make a change to the language file then I do see the change. When
    I bring up the Configuration menu for classic start, the box that lets me add
    the shut-down button is grey'd out. I'd like to change that to enable it. How
    can I do that?

     
  • Ivo Beltchev

    Ivo Beltchev - 2010-03-12

    StartMenuItems.ini is installed with the rest of the files. It should be in
    the install folder like C:\Program Files\Classic Shell. In case it goes
    missing or you mess it up, you can download the original file from here: http
    ://sourceforge.net/projects/classicshell/files/
    . Get ClassicShellIniFiles.zip for the version you
    need.

    The first change you have to do is "uncomment" the line that says
    ";MAIN_MENU.Items=PROGRAMS, ...". You do that by removing the semicolon from
    the beginning of the line. Until you do that any change to the file will be
    ignored. Then do some small change to make sure your modifications take
    effect. A simple thing to try is to remove DOCUMENTS from the list of menu
    items.

    Once you verify that your changes have an effect, we can talk about the exact
    things you need to do to add new commands.

     
  • Anonymous

    Anonymous - 2010-03-12

    Make sure you are running Notepad or the text editor you are using to edit
    that file as admin or you won't be able to modify and save changes to the INI
    file directly thanks to UAC virtualization.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.