Add "Run as administrator" to MSP files


  1. Posts : 176
    Windows 10 Enterprise x64 1709
       26 Apr 2018 #1

    Add "Run as administrator" to MSP files


    To add support for MSP files as well, I made some changes but won't work, please advise :)

    Code:
    [HKEY_CLASSES_ROOT\MSI.Package\Shell\RunAS]
    "HasLUAShield"=""
    [HKEY_CLASSES_ROOT\MSP.Package\Shell\RunAS]
    "HasLUAShield"=""
    [HKEY_CLASSES_ROOT\MSI.Package\Shell\RunAS\Command]
    @=hex(2):22,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
      00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,\
      73,00,69,00,65,00,78,00,65,00,63,00,2e,00,65,00,78,00,65,00,22,00,20,00,2f,\
      00,69,00,20,00,22,00,25,00,31,00,22,00,20,00,25,00,2a,00,00,00
    [HKEY_CLASSES_ROOT\MSP.Package\Shell\RunAS\Command]
    @=hex(2):22,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
      00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,\
      73,00,69,00,65,00,78,00,65,00,63,00,2e,00,65,00,78,00,65,00,22,00,20,00,2f,\
      00,69,00,20,00,22,00,25,00,31,00,22,00,20,00,25,00,2a,00,00,00
      My ComputerSystem Spec

  2. Berton's Avatar
    Posts : 5,877
    Win10 Home and Pro, Win10 Insider Preview, WinXP Home Premium, Linux Mint
       27 Apr 2018 #2

    Just curious, since the .msp files are patches [versus .msi which are installer files] wouldn't it be just as easy to right-click one and choose Apply to get it installed?
      My ComputerSystem Spec


  3. Posts : 176
    Windows 10 Enterprise x64 1709
    Thread Starter
       27 Apr 2018 #3

    This question can be asked for MSI files as well, so we can say that doing so for MSI files is also useless, since eventually we'll get to the Admin mode when needed even if we don't run MSI files as Admin!
      My ComputerSystem Spec


 

Related Threads
Hi, as with many I have upgraded to Windows 10 today and it is going well except for the fact I am unable to save any files or create new ones in the Documents and Pictures folders or any sub-folders within these folders, and I have no idea why it...
After i installed windows 10 on my Asus N53SV, the keyboard doesnt work properly. I look on the internet for help, but it looks like im the only one. I tried uninstall and reinstall almost everything i know. From keyboard driver, touchpad, etc....
I'm generally pretty self sufficient on Windows, and have gone 9 years on the same laptop (an Asus M50VM-A1) without issue. Until now. I am receiving "the file name is not valid" and/or "there are no more files" errors any time I try to Save As...
Why I have "Run as Administrator" on all files context menu, it is supposed to be just on executables and batch files, right?
Run as administrator - Add to MSI File Context Menu - Windows 7 Help Forums Is this still applicable for windows 10? I have not yet attempted to do this. In my Downloads folder there are right click options to Install / Repair / Uninstall...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 14:20.
Find Us