makerofthings7
makerofthings7

Reputation: 61483

Is the Windows 2012 "start menu" or "settings" menu accessible by RUNDLL32?

When I use Windows Server 2012 on a terminal / RDP session I have a hard time getting the Settings menu up (to reboot or shutdown) or clicking the Start menu (which requires a hover in a corner)

The issue is that when I use RDP, desktop sharing, or other remote solution, I can't just press the windows key.

I want to create a shortcut to launch either the "search all programs" or "settings" and place it on the desktop or taskbar. In the past I did something similar to RunDLL32. To customize this I often run DUMPBIN from the C++ SDK. Below is a dump of the Desktop Window Manager, which is one of the few things left running when I close all applications.

Dump of file .\dwmapi.dll

File Type: DLL

  Section contains the following exports for dwmapi.dll

    00000000 characteristics
    53AE2E6F time date stamp Fri Jun 27 22:54:39 2014
        0.00 version
         100 ordinal base
          64 number of functions
          30 number of names

    ordinal hint RVA      name

        111    0 00009D38 DwmAttachMilContent
        115    1 00006790 DwmDefWindowProc
        116    2 00009D38 DwmDetachMilContent
        117    3 00002DA0 DwmEnableBlurBehindWindow
        102    4 000091E0 DwmEnableComposition
        118    5 00006110 DwmEnableMMCSS
        119    6 00006950 DwmExtendFrameIntoClientArea
        120    7 000061D0 DwmFlush
        121    8 00005780 DwmGetColorizationColor
        122    9 00002450 DwmGetCompositionTimingInfo
        123    A 00009D38 DwmGetGraphicsStreamClient
        129    B 00009D38 DwmGetGraphicsStreamTransformHint
        130    C 00009D50 DwmGetTransportAttributes
   ...snip...
PS C:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\bin\dtest>

Question

Is it possible, or how can I get Windows Server 2012 to open the slightly hidden settings or "start menu" via a RunDLL statement or equivalent?

Network connections
RunDll32.exe shell32.dll,Control_RunDLL ncpa.cpl
 
Firewall
RunDll32.exe shell32.dll,Control_RunDLL firewall.cpl
 
Join Domain - rename
RunDll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,4
 
Control Panel
RunDll32.exe shell32.dll,Control_RunDLL
 
Printers for utility servers
Rundll32 Shell32.dll,SHHelpShortcuts_RunDLL PrintersFolder 

Upvotes: 0

Views: 178

Answers (0)

Related Questions