?
Solved

not able to run MSI as local system on Windows 10. I can on Win 7

Posted on 2016-10-21
7
Medium Priority
?
93 Views
Last Modified: 2016-11-02
Hello,
We use a custom application. So we have a service on user's computers that runs as local system.

It is working on Window 7 machine. So there is an executable that you run, and then it will run MSI that will run under system context because it calls the service that is running as Local System.

So, I should be able to run Appname.exe even from the regular user prompt because Appname.exe calls MSI that runs as local system.

Now this works on Windows 7 when I run Appname.exe as a regular user. But when I login as regular user it doesn't work on Windows 10

On Win 10, if I login as Local Administrator and run Appname.exe from the command prompt - this works.

The question is. What is in Win 10 that is different from Win 7 so that I can't run MSI as local system from the regular prompt and need to be a local admin.

Thank you very much.
0
Comment
Question by:creative555
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 56

Expert Comment

by:McKnife
ID: 41853982
Two questions:

1 is this for MSI deployment? If so, why don't you use the built-in way (GPO software publishing allows MSI installation even as standard user)
2 how does your app trigger the service? What does the service execute exactly?
0
 

Author Comment

by:creative555
ID: 41854082
See in line

1 is this for MSI deployment? If so, why don't you use the built-in way (GPO software publishing allows MSI installation even as standard user)

Good question. Actually enabling MSI installation is one of the other options we are using. But allowing regular user to run MSI is a security risk as well.

The 2nd option we use is to have a service that runs under local system, so even regular user can run the software that triggers that service that will run msi under local system context. For this option, usually SCCM is used or logon script.

So, we used to be able to just execute exe that would call up service that would run MSI under local system. But now when I execute exe from a regular command prompt the MSI doesn't run. We use this for manual testing that suppose to work and it works on Win 7.

Do you know what is the difference Win 7 vs Win 10 Os that stops MSI from running as local system when user logged on?


2 how does your app trigger the service? What does the service execute exactly?
Service contacts the other server over https, then downloads msi, then installs msi that does re-acling of the files (Security translation). Actually in the log, on Win 10 it stops at Security Translation step.
0
 
LVL 56

Accepted Solution

by:
McKnife earned 2000 total points
ID: 41854092
Ok, do it just the way that MS says we should.
"But allowing regular user to run MSI is a security risk as well" - wrong. The way MS says we should do it works and is secure. It is described here: http://www.advancedinstaller.com/user-guide/tutorial-gpo.html#publish - point 5, publish.
0
Four New Appliances. Same Industry-leading Speeds.

But don't take it from us.  The Firebox M370 is Miercom tested and Miercom approved, outperforming its competitors for stateless and stateful traffic throughput scenarios.  Learn more about the M370, M470, M570 and M670 and find the right solution for your organization today!

 

Author Comment

by:creative555
ID: 41854206
good answer!! the option we used for MSI is allowing users to execute MSI vs publishing MSI where users would have to install it.

I can find out if we can publish MSI. those are two different options.
0
 

Author Comment

by:creative555
ID: 41870363
Looks like we have an old version of subinacle that existed a lot earlier before many changes that were made to the security subsystem.

Do you know any other tools alike subinacle that can do security translations?

 https://www.microsoft.com/en-us/download/details.aspx?id=23510

After extensive troubleshooting we determined it hangs on subinacl process.
0
 
LVL 56

Expert Comment

by:McKnife
ID: 41871135
Please explain what role subinacl plays. Is it part of your msi, or...?
0
 

Author Closing Comment

by:creative555
ID: 41871497
thank you so much!
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question