?
Solved

Windows 8 - User access control - command line installs.

Posted on 2013-12-04
5
Medium Priority
?
436 Views
Last Modified: 2014-08-04
Hi all,

Just started using Windows 8 for testing on my domain. Before starting an unattended build through CCM Im just installing software to test compatibility.

One issue that I have come across is not being able to run silent command line installs. Even with a simple command line install of a MSI file with a /q im getting nothing. I right click and run as administrator (though logged in as a administrator) - nothing.

OK, so I thought it must be the UAC. I turn this down to its lowest setting and repeat the process. Still nothing.

Finally i run disable the UAC completely via the registry and Hooray it worked!  

This seems a little extreme in order to get a command line silent install to work.

Can anyone shed any light on this?
0
Comment
Question by:MJB2011
[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
  • 3
5 Comments
 
LVL 56

Expert Comment

by:McKnife
ID: 39696125
Hi.

This Problem was present with Vista and win7 also.
Do you know what elevation is, or where should we start?
0
 

Author Comment

by:MJB2011
ID: 39696506
THanks McKnife having previously built and deployed a windows 7 unattended build im more than aware of elevation, however I was able to get past most issues with windows 7 by simply dropping the UAC to its lowest setting. Rebooting and continuing. However with windows 8 this doesn't seem to be the case.

It doesnt appear that I can install anything silently via command without running the following

C:\Windows\System32\cmd.exe /c %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
0
 
LVL 56

Accepted Solution

by:
McKnife earned 1000 total points
ID: 39696546
Ok, some hints for a start: you cannot right click .msi files and select "run as administrator" out of the box. Either they auto-elevate (if UAC is on, they almost always do), or you would need to start the command line elevated and start the msi from there.

Better approach: use software deployment via GPOs or GPO-startup scripts. The startup scripts are executed as user "system". The system account is not stopped by UAC.
Leave UAC as it is. In no software rollout I did (Vista/7/8) I ever needed to tune UAC.

If you feel that is not helpful, please let's take one MSI like 7zipx64 and you tell me what problems you would have installing that MSI and what method you use.
0
 
LVL 56

Expert Comment

by:McKnife
ID: 39756119
Hi MJB2011.

I hope I could help you. If you need more info, just say, as the C grade indicates that my solution was explicitly lacking information.
0
 

Expert Comment

by:BruceWWilson
ID: 40240226
I have a system agent I would like to install on 59 desktops in separate workgroups (no domain). The installer is .msi with no prompts. I would like to deploy the software remotely and run with a batch file. UAC stops the install with a prompt for user interaction to agree to run the software. I am not terribly familiar with ELEVATION but I have tried to run the installer from an ADMIN command line.
0

Featured Post

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

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

The Samsung SSD 840 EVO and 840 EVO mSATA have a well-known problem with a drop in read performance. I first learned about this in an interesting thread here at Experts Exchange: http://www.experts-exchange.com/Hardware/Storage/Hard_Drives/Q_2852…
Security measures require Windows be logged in using Standard User login (not Administrator).  Yet, sometimes an application has to be run “As Administrator” from a Standard User login.  This paper describes how to create a shortcut icon to launch a…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

719 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