Avatar of MJB2011
MJB2011
 asked on

Windows 8 - User access control - command line installs.

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?
Windows 8

Avatar of undefined
Last Comment
BruceWWilson

8/22/2022 - Mon
McKnife

Hi.

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

ASKER
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
ASKER CERTIFIED SOLUTION
McKnife

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
McKnife

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.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
BruceWWilson

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.