Shortcuts to Modern/Metro applications

Discussion in 'Windows 8' started by noncentz705, Nov 7, 2012.

  1. noncentz705

    noncentz705 MDL Junior Member

    Oct 15, 2012
    65
    68
    0
    #1 noncentz705, Nov 7, 2012
    Last edited by a moderator: Apr 20, 2017
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
  3. noncentz705

    noncentz705 MDL Junior Member

    Oct 15, 2012
    65
    68
    0
    #3 noncentz705, Dec 6, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Launch Applications by URL Protocol (Continued)

    Launch with cmd / .bat files :
    Code:
    START bingnews:
    
    Launch with .vbs :
    Code:
    Set shell=CreateObject("wscript.shell")
    Shell.Run("bingnews:")
    
    Launch from browser :
    Code:
     
    bingnews://search/?q=Your Search Here
    


    For desktop shortcuts:

    Code:
    Method 1
    explorer.exe bingnews:
    
    Method 2
    cmd /c start bingnews:
    
    Method 3 (Creates Internet Shortcut .url) 
    bingnews: 
    

     
  4. noncentz705

    noncentz705 MDL Junior Member

    Oct 15, 2012
    65
    68
    0
    #4 noncentz705, Dec 11, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)
  5. noncentz705

    noncentz705 MDL Junior Member

    Oct 15, 2012
    65
    68
    0
    #5 noncentz705, Dec 11, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Launch applications by sending keystrokes

    Opens the start menu, searches for and launches desired application
    Code:
    ;Using AutoIt/AutoHotKeys
    ;Create script, replace ApplicationName with the desired search query.
    
    #NotrayIcon
    Send ("{RWIN} ApplicationName")
    Sleep (1)
    Send ("{ENTER}")
    Code:
    
    'Using VBScript
    'Open notepad and create a new .vbs file with this code
    
    Set objShell = WScript.CreateObject("WScript.Shell")
    objShell.SendKeys "^{ESC}"
    WScript.Sleep 1
    objShell.SendKeys WScript.Arguments.Item(0)
    WScript.Sleep 1
    objShell.SendKeys "{ENTER}"
    
    'Make a shortcut to the .vbs file.  Right click the shortcut and go to properties. In the  location field enter the desired search query after the path to the .vbs file.
    'Example: %systemdrive%/createdfile.vbs Skype
    

     
  6. moderate

    moderate MDL Guru

    Aug 31, 2009
    3,377
    2,479
    120
    #7 moderate, Mar 26, 2013
    Last edited by a moderator: Apr 20, 2017
    Hello :)

    When
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA
    is set to 0, no Metro app can be launched.

    However "Immersive Control Panel" can be still launched by charm <WinKey+C> selecting <Settings> and selecting <Change PC Settings>.

    But it can't be launched via PowerShell:

    Code:
    start-metroapp microsoft.windows.immersivecontrolpanel
    or
    Code:
    start-metroapp windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel
    
    How can this be? How launching by charm bar avoid LUA/UAC check? Couild it be avoided for other Metro apps too? Or is there any method for launching "Immersive Control Panel" (with LUA/UAC disabled) by PowerShell too? Thanks for reply...

    Q2: Could this (picture below) be corrected nicely? Of course "Server" subkey can be artifically created, but that "Microsoft.Media.PlayReadyClient_2.3.1678.0_x64 and x32" will still not be in the listing probably... :)

    1.jpg
     
  7. noncentz705

    noncentz705 MDL Junior Member

    Oct 15, 2012
    65
    68
    0
    #8 noncentz705, Sep 20, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
  8. moderate

    moderate MDL Guru

    Aug 31, 2009
    3,377
    2,479
    120
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
    #10 abbodi1406, Sep 20, 2013
    Last edited by a moderator: Apr 20, 2017
    No they are not
    they are built-in packages just like windows defender, media player, NetFx... etc.
    to remove them, you have to modify/hack some registry values, or modify the Edition .mum file to unlock/un-hide them so it can be removed

    e.g. here is the Default packages that can be removed with dism (yes they will be removed completely if you just disable them):
    Code:
    Image Version: 6.3.9600.16384
    
    Features listing for package : Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~x86~~6.3.9600.16384
    
    
    ------------------------------------------------------------ | -------
    Feature Name                                                 | State  
    ------------------------------------------------------------ | -------
    Microsoft-Hyper-V-ClientEdition-Package                      | Enabled
    Microsoft-Hyper-V-Common-Drivers-Package                     | Enabled
    Microsoft-Hyper-V-Guest-Integration-Drivers-Package          | Enabled
    Microsoft-Windows-Anytime-Upgrade-Package                    | Enabled
    Microsoft-Windows-NetFx3-OC-Package                          | Enabled
    Microsoft-Windows-NetFx4-US-OC-Package                       | Enabled
    Microsoft-Windows-NetFx2-OC-Package                          | Enabled
    Microsoft-Windows-NetFx3-WCF-OC-Package                      | Enabled
    Microsoft-Windows-NetFx4-WCF-US-OC-Package                   | Enabled
    Microsoft-Windows-NetFx-VCRedist-Package                     | Enabled
    Microsoft-Windows-Printing-XPSServices-Package               | Enabled
    
    and here it's the most of the packages after unlocking them:
    Code:
    Image Version: 6.3.9600.16384
    
    Features listing for package : Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~x86~~6.3.9600.16384
    
    
    ------------------------------------------------------------ | -------
    Feature Name                                                 | State  
    ------------------------------------------------------------ | -------
    Microsoft-Windows-FileManager-Package                        | Enabled
    Microsoft-Windows-Camera-Package                             | Enabled
    Microsoft-Windows-MediaViewer-Package                        | Enabled
    Microsoft-Hyper-V-ClientEdition-Package                      | Enabled
    Microsoft-Hyper-V-Common-Drivers-Package                     | Enabled
    Microsoft-Hyper-V-Guest-Integration-Drivers-Package          | Enabled
    Microsoft-Media-Foundation-Package                           | Enabled
    Microsoft-Windows-Anytime-Upgrade-Package                    | Enabled
    Microsoft-Windows-Anytime-Upgrade-Results-Package            | Enabled
    Microsoft-Windows-BLB-Client-Package                         | Enabled
    Microsoft-Windows-Printing-Foundation-Package                | Enabled
    Microsoft-Windows-BusinessScanning-Feature-Package           | Enabled
    Microsoft-Windows-CodecPack-Basic-Package                    | Enabled
    Microsoft-Windows-DirectoryServices-ADAM-Client-Package      | Enabled
    Microsoft-Windows-GroupPolicy-ClientExtensions-Package       | Enabled
    Microsoft-Windows-GroupPolicy-ClientTools-Package            | Enabled
    Microsoft-Windows-Help-ClientUA-Professional-Package         | Enabled
    Microsoft-Windows-InternetExplorer-Optional-Package          | Enabled
    Microsoft-Windows-IE-Troubleshooters-Package                 | Enabled
    Microsoft-Windows-NetFx3-OC-Package                          | Enabled
    Microsoft-Windows-NetFx4-US-OC-Package                       | Enabled
    Microsoft-Windows-IIS-WebServer-Package                      | Enabled
    Microsoft-Windows-IIS-WebServer-AddOn-2-Package              | Enabled
    Microsoft-Windows-IIS-WebServer-AddOn-Package                | Enabled
    Microsoft-Windows-InternetExplorer-Package                   | Enabled
    Adobe-Flash-For-Windows-Package                              | Enabled
    Microsoft-Windows-Killbits-Package                           | Enabled
    Microsoft-Windows-Links-Package                              | Enabled
    Microsoft-Windows-Media-Format-Package                       | Enabled
    Microsoft-Windows-MediaPlayback-OC-Package                   | Enabled
    Microsoft-Windows-MediaPlayer-Package                        | Enabled
    Microsoft-Windows-Media-Streaming-Package                    | Enabled
    Microsoft-Windows-MobilePC-Client-Premium-Package            | Enabled
    Microsoft-Windows-MSMQ-Client-Package                        | Enabled
    Microsoft-Windows-NetFx2-OC-Package                          | Enabled
    Microsoft-Windows-NetFx3-WCF-OC-Package                      | Enabled
    Microsoft-Windows-NetFx4-WCF-US-OC-Package                   | Enabled
    Microsoft-Windows-NetFx-VCRedist-Package                     | Enabled
    Microsoft-Windows-OfflineFiles-Package                       | Enabled
    Microsoft-Windows-ParentalControls-Package                   | Enabled
    Microsoft-Windows-PeerDist-Client-Package                    | Enabled
    Microsoft-Windows-PeerToPeer-Full-Package                    | Enabled
    Microsoft-Windows-Personalization-Package                    | Enabled
    Microsoft-Windows-Printer-Drivers-Package                    | Enabled
    Microsoft-Windows-Printing-LocalPrinting-Home-Package        | Enabled
    Microsoft-Windows-Printing-PremiumTools-Package              | Enabled
    Microsoft-Windows-Printing-XPSServices-Package               | Enabled
    Microsoft-Windows-RasCMAK-Package                            | Enabled
    Microsoft-Windows-RasRip-Package                             | Enabled
    Microsoft-Windows-RDC-Package                                | Enabled
    Microsoft-Windows-RemoteDesktop-UserModeRDProtocol-Package   | Enabled
    Microsoft-Windows-SecureStartup-Package                      | Enabled
    Microsoft-Windows-ShareMedia-ControlPanel-Package            | Enabled
    Microsoft-Windows-Shell-HomeGroup-Package                    | Enabled
    Microsoft-Windows-SnippingTool-Package                       | Enabled
    Microsoft-Windows-StickyNotes-Package                        | Enabled
    Microsoft-Windows-Store-Client-Package                       | Enabled
    Microsoft-Windows-SystemRestore-Package                      | Enabled
    Microsoft-Windows-TabletPC-Package                           | Enabled
    Microsoft-Windows-Telnet-Client-Package                      | Enabled
    Microsoft-Windows-Telnet-Server-Package                      | Enabled
    Microsoft-Windows-TerminalServices-CommandLineTools-Package  | Enabled
    Microsoft-Windows-TerminalServices-MiscRedirection-Package   | Enabled
    Microsoft-Windows-TerminalServices-WMIProvider-Package       | Enabled
    Microsoft-Windows-TextPrediction-Package                     | Enabled
    Microsoft-Windows-TFTP-Client-Package                        | Enabled
    Microsoft-Windows-VirtualPC-Licensing-Package                | Enabled
    Microsoft-Windows-VirtualPC-USB-RPM-Package                  | Enabled
    Microsoft-Windows-WebcamExperience-Package                   | Enabled
    Microsoft-Windows-WindowsMediaPlayer-Troubleshooters-Package | Enabled
    Microsoft-Windows-WinOcr-Package                             | Enabled
    Microsoft-Windows-WinSATMediaFiles-Package                   | Enabled
    Microsoft-Windows-WMPNetworkSharingService-Package           | Enabled
    Microsoft-Windows-Xps-Foundation-Client-Package              | Enabled
    Networking-MPSSVC-Rules-BusinessEdition-Package              | Enabled
    Server-Help-Package_ClientProfessional                       | Enabled
    Microsoft-Windows-SMB1                                       | Enabled
    Microsoft-Windows-Browser                                    | Enabled
    Microsoft-Windows-Client-EEFContainer-Package                | Enabled
    

    noncentz705
    sorry for the off-topic post :)
     
  10. moderate

    moderate MDL Guru

    Aug 31, 2009
    3,377
    2,479
    120
    OK, so what is real challenge for you, Ladin-Alladin? Put some screws to grenade and blow some Izrael restaurant?

    I like the idea of @noncentz705 guy, he at least did something...
     
  11. shuxley1010

    shuxley1010 MDL Novice

    Oct 21, 2013
    2
    0
    0
    How do I edit the mum file to display the hidden packages?

    Thanks
     
  12. ian82

    ian82 MDL Expert

    Mar 7, 2012
    1,147
    303
    60
    im not getting it, how do I do this? I want to uninstall the Photos app

    please explain to me in a step by step instructions

    thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. butos

    butos MDL Novice

    Nov 8, 2007
    11
    17
    0
    #14 butos, Oct 21, 2013
    Last edited by a moderator: Apr 20, 2017
    unlocking

    I used to unlock hidden packages with WinToolkit but it seems there's a better way to do it...
    Would you mind sharing your unlocking method? And how can you let that list appear with Dism? I use /get-packages but it's not the same...

    Thanx a lot,
    Fil




     
  14. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    #15 Mr Jinje, Oct 21, 2013
    Last edited by a moderator: Apr 20, 2017
  15. mannik77

    mannik77 MDL Novice

    Oct 29, 2013
    10
    13
    0
    Yes please, that would be great! :)
     
  16. spidernz

    spidernz MDL Senior Member

    May 20, 2011
    389
    112
    10
    #17 spidernz, Feb 24, 2014
    Last edited by a moderator: Apr 20, 2017
  17. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,411
    15,486
    210
    #18 MSMG, Feb 24, 2014
    Last edited by a moderator: Apr 20, 2017
    Using WimTweak.exe, you can unhide, remove all the packages even the hidden ones

    1) Mount the WIM Image.

    2) Use the following command to list all packages present in the WIM Image and write the list to packages.txt text file.

    Code:
    WimTweak.exe /n /p <WimMountPath> /l
    
    3) Use the following command to UnHide the selected package in the WIM Image

    Code:
    WimTweak.exe /n /p <WimMountPath> /c <PackageName>
    
    4) Use the following command to Remove the selected package from the WIM Image

    Code:
    DISM.exe /Image:<WimMountPath> /Remove-Package /PackageName:<PackageName>
    

    5) Save & Un-Mount the WIM Image

    Note: You can also use WimTweak.exe to do both UnHide and Removal of the selected package, using the following command

    Code:
    WimTweak.exe /n /p <WimMountPath> /c <PackageName> /r
    
    If you use this, then you don't need to use the 4th step in the above guide.

    Then, when you specify the Package Name to be UnHidden, You just specify the part of the Package Name, so that all the corresponding Package Name with the same name will get Unhidden

    and When you specify the Package Name to be removed, it's the same as above

    but if you using the DISM Method to remove the Packages then you need to specify the whole package name.

    and if you specify the base package name, then the dism will remove the base package name along with the corresponding language pack package and the associated packages to..



     
  18. RanCorX2

    RanCorX2 MDL Addicted

    Jul 19, 2009
    999
    554
    30
    #19 RanCorX2, Mar 7, 2014
    Last edited by a moderator: Apr 20, 2017
  19. RanCorX2

    RanCorX2 MDL Addicted

    Jul 19, 2009
    999
    554
    30
    #20 RanCorX2, Mar 8, 2014
    Last edited: Mar 8, 2014
    i found mum files in C:\Windows\servicing\Packages what do you need to edit to make them appear in dism get features?

    how to do you get Microsoft-Windows-ProfessionalEdition to appear in the features txt file listing everything? i found the mum file and it lists all the components and they are hidden, i set some to visible but they still don't show up.

    please can someone post info on how to do the mum editing?