We have 115 workstations that are running Office 2003 currently. We need to deploy office to these workstations in small groups at a time (Security groups with computer accounts added to them).
I know my MSP / Silent install works as I followed the Microsoft official guides to create the BAT file / MSP file / Config.xml file. When I double click the .bat file (I also tried .cmd) the installation works 100% when logged onto the workstations as a local admin / domain admin account with installation rights on the machine.
When I login as a standard user the .bat file will never launch the installation of Office 2010. I simply can't get this to work and have tried several KB articles and several different settings to get Office 2010 to successfully deploy automatically to even one single workstation without manually logging into the machines and executing the .bat file... (28 machines were done this way already).
I need to find a solution to why this isn't working. In theory a startup script runs as the system account / local computer account which has installation rights on the system. If this is so and the startup script is applied to the OU that the computer account is inside of and the security filtering has the specific computer names applied to it as being assigned to that GPO and the GPO is enforced and you can see that the computer has the policy listed as applied to the workstation... then the script should execute at logon as the user even if the user is not a local admin / domain admin of any sorts.
Can anyone lend any insite as to why my script is not working? It is a Microsoft script that was edited.
Run as a startup Script link:
http://technet.microsoft.com/en-US/library/cc754995.aspx
Microsoft BAT file and MY bat file:
http://technet.microsoft.com/en-us/library/ff602181(v=office.14).aspx
setlocal
REM *********************************************************************
REM Environment customization begins here. Modify variables below.
REM *********************************************************************
REM Get ProductName from the Office product's core Setup.xml file, and then add "office14." as a prefix.
set ProductName=Office14.PROPLUS
REM Set DeployServer to a network-accessible location containing the Office source files.
set DeployServer=\\SERVERNAME\Office_2010
REM Set ConfigFile to the configuration file to be used for deployment (required)
set ConfigFile=\\SERVERNAME\Office_2010\x86\ProPlus.WW\config.xml
REM Set LogLocation to a central directory to collect log files.
set LogLocation=\\SERVERNAME\Office_2010\LogFiles
REM *********************************************************************
REM Deployment code begins here. Do not modify anything below this line.
REM *********************************************************************
IF NOT "%ProgramFiles(x86)%"=="" (goto ARP64) else (goto ARP86)
REM Operating system is X64. Check for 32 bit Office in emulated Wow6432 uninstall key
:ARP64
reg query HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE\Microsoft\Windows\CurrentVersion\Uninstall\%ProductName%
if NOT %errorlevel%==1 (goto End)
REM Check for 32 and 64 bit versions of Office 2010 in regular uninstall key.(Office 64bit would also appear here on a 64bit OS)
:ARP86
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ProductName%
if %errorlevel%==1 (goto DeployOffice) else (goto End)
REM If 1 returned, the product was not found. Run setup here.
:DeployOffice
start /wait %DeployServer%\setup.exe /config %ConfigFile%
echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt
REM If 0 or other was returned, the product was found or another error occurred. Do nothing.
:End
Endlocal
Here is config.xml
<Configuration Product="ProPlus">
<!-- <Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" /> -->
<!-- <Logging Type="standard" Path="%temp%" Template="Microsoft Office Professional Plus Setup(*).txt" /> -->
<!-- <USERNAME Value="BLABLA" /> -->
<!-- <COMPANYNAME Value="BLABLA INC" /> -->
<!-- <INSTALLLOCATION Value="%programfiles%\Microsoft Office" /> -->
<!-- <LIS CACHEACTION="CacheOnly" /> -->
<!-- <LIS SOURCELIST="\\server1\share\Office;\\server2\share\Office" /> -->
<!-- <DistributionPoint Location="\\server\share\Office" /> -->
<!-- <OptionState Id="OptionID" State="absent" Children="force" /> -->
<!-- <Setting Id="SETUP_REBOOT" Value="IfNeeded" /> -->
<!-- <Command Path="%windir%\system32\msiexec.exe" Args="/i\\server\share\my.msi" QuietArg="/q" ChainPosition="after" Execute="install" /> -->
</Configuration>
Here is the GPO (Settings kind of cryptic sorry)
Policieshide
Windows Settingshide
Scriptshide
Startuphide
For this GPO, Script order: Not configuredName Parameters
\\admin.domainname.local\SYSVOL\admin.domainname.org.local\scripts\DeployOffice2010.bat
Administrative Templateshide
Policy definitions (ADMX files) retrieved from the local machine.System/Scriptshide
Policy Setting Comment
Maximum wait time for Group Policy scripts Enabled
Seconds: 0
Range is 0 to 32000, use 0 for infinite wait time
Any ideas why this won't execute as a startup script on the workstations when the GPO settings have been verified (On both Win XP and Win 7 machines as applied policies on the machines but yet running the .bat file manually installs perfectly?)
I have tested this multiple times on both XP and Win 7 machines so UAC would not be the issue. Maybe something I am missing in the script anyone familiar with deploying Office 2010 using MSP / XML / BAT / OCT?
Other links:
http://technet.microsoft.com/en-us/library/ff602181(v=office.14).aspx
http://technet.microsoft.com/en-us/library/ff602181.aspx
http://technet.microsoft.com/en-US/library/cc754995.aspx
Thanks in advance!