Unattend MSI install by admin user
we have need programmatically (powershell) install vendor signed msi within process running user that's part of local administrators group. used typical msiexec /qn option fails below error.
==
installation success or error status: 1625.
info 1625.this installation forbidden system policy. contact system administrator.
==
the os windows server 2008 r2 sp1 , machine not part of domain, local workgroup. powershell process launched windows service configured logon user that's member of local administrators group.
after playing lot of security policy settings, found solution by marking policy "user account control: run administrators in admin approval mode" disabled. question know if best/recommended way? or there better (more secure) way achieve want.
any input highly appreciated.
thanks rags
thanks rags posting provided , confers no rights.
hi raghavendra,
based on description, before disable setting, can try launching powershell administrator. if doesn’t work, can choose temporarily disable setting.
the setting "user account control: run administrators in admin approval mode" determines behavior of user account control (uac) policies entire system. setting turns uac on or off.
the best practice setting is: enable policy allow other uac features , policies function. if security setting configured disabled, security center notifies user overall security of operating system has been reduced.
as result, after installed msi package, should enable setting, , need restart computer make change effective.
regarding setting, following article can referred more information.
user account control: run administrators in admin approval mode
http://technet.microsoft.com/en-us/library/jj852217.aspx
best regards,
frank shen
Windows Server > Group Policy
Comments
Post a Comment