![]() ![]() REM If 0 or other was returned, the product was found or another error occurred. Start /wait %DeployServer%setup.exe /config %ConfigFile%Įcho %date% %time% Setup ended with error code %errorlevel%. REM If 1 returned, the product was not found. If %errorlevel%=1 (goto DeployOffice) else (goto End) Reg query HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall%ProductName% REM Check for 32 and 64 bit versions of Office 2010 in regular uninstall key.(Office 64bit would also appear here on a Reg query HKEY_LOCAL_MACHINESOFTWAREWOW6432NODEMicrosoftWindowsCurrentVersionUninstall%ProductName% Check for 32 bit Office in emulated Wow6432 uninstall key ![]() IF NOT “%ProgramFiles(x86)%”=”” (goto ARP64) else (goto ARP86) ![]() REM Set LogLocation to a central directory to collect log files. REM Set ConfigFile to the configuration file to be used for deployment (required) REM Set DeployServer to a network-accessible location containing the Office source files. REM Get ProductName from the Office product’s core Setup.xml file, and then add “office14.” as a prefix. REM Environment customization begins here. Once that complete copy the following code and pasted them into a note pad: In the admTemplate – > admx folder – > copy the file office15.admx to %systemroot%policyDefinitions and also copy the file admTemplateadmxen-usoffice15.adml to %systemroot%PolicyDefinitionsen_US Go to Microsoft website and download the admx file. [hungryfeed url=” ”%5D To Install Office 2013 Via Group Policy When you’re done the setting should look like below. Under Computer Configuration -> Windows Settings – > Scripts -> Startup -> click Add – > Browse and paste the script just create in the box and select and click OK until you’re back to the beginning. Open group policy, create a new group policy or edit an existing one. ![]() \hostsharefilesoffice2007setup.exe /uninstall ProPlus /config. Copy everything from an office 2007 cd or dvd and share the folder with authenticated users. Here’s the script that would uninstall Office 2007 via Group Policy. How to uninstall MS Office 2007/2010 via Group Policy before Install 2013. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |