Phil's notepad

Wannabe athlete & IT Ninja

Posts Tagged ‘gpo

The Easy way to remove deployed printer

leave a comment »

In Print Management, click ‘Deployed Printers’
in the list of deployed printed right click the printer you wish to remove, click on “Deploy with Group Policy”,

deploy

 

You will then see the the GPO policy that has been used to deploy the printer, click to highlight it and click remove, then OK. Give it a minute and then refresh the settings pane in GP management and you will see the printer has been removed.

 

deploy2

 

Written by Phil

October 4, 2016 at 10:48 am

Posted in Tech

Tagged with , , , , ,

(work in progress) Office 365 Click-To-Run Deploment

leave a comment »

Office 365 Click-To-(not)Run Deployment Through Group Policy

Ive just spent the whole day trying to deploy Office 365 to a test environment

Step 1. Download the office365  deployment tool
Step 2. Customise installation Configuration file
Step 3. Download Office365 source files
Step 4. Create 365 install GPO
Step 5. Create uninstall GPO for previous office versions

 

Step 1. Download the Office365 deployment tool

Office 2013 Deployment
https://www.microsoft.com/en-gb/download/details.aspx?id=36778

Office 2016 Deployment
https://www.microsoft.com/en-us/download/details.aspx?id=49117

Step 2. Customise Configuration file

 

in my initial tests i’ll have the UAI set to ‘Full’ just so i can see any errors

reference and further reading
 https://technet.microsoft.com/en-gb/library/jj219426.aspx#BKMK_ConfigurationElement


Step 3. Download Office365 source files

what might seam like a very easy step but i spent at least two hours here. make sure you have a stable internet connection

o365 error

without looking at the download log and the folder size there is no way of telling whether the download completed successfully so don’t ignore those logs, look though them and check download is approximately 1.6gb

to download your install files, run the deployment tool in cmd with the /download + location of your config file

i.e

Setup.exe /download  \\deploymentfolder\configfile.xml

in addition to checking the logs, this might be coincidence but i finally managed to download the install files when i moved from a file share to  a local folder. when the download was complete i then moved the folder back to my file share in preparation for deployment

Capture

What a successful download log should look like

Timestamp Process TID Area Category EventID Level Message Correlation
11/30/2015 16:11:26.135 SETUP (0x6e0) 0x320 Click-To-Run amaxd Medium DownloadOffice::DownloadPackages: Getting Office for culture: en-us
11/30/2015 16:11:26.135 SETUP (0x6e0) 0x320 Click-To-Run amaxd Medium DownloadOffice::DownloadPackages: Getting Office for culture: x-none
11/30/2015 16:11:26.135 SETUP (0x6e0) 0x320 Click-To-Run amaxe Medium DownloadOffice::DownloadPackages: Getting Office in directory: \\domain\centralfolders\GPOApps\Office365\O365Deployment\Office\Data
11/30/2015 16:11:26.135 SETUP (0x6e0) 0x320 Click-To-Run amaxf Medium DownloadOffice::DownloadPackages: Getting version cab file.
11/30/2015 16:11:26.431 SETUP (0x6e0) 0x320 Click-To-Run amecw Medium Descriptor::Load: Reading Available value from descriptor: 15.0.4771.1004
11/30/2015 16:11:26.431 SETUP (0x6e0) 0x320 Click-To-Run amecx Medium Descriptor::Load: Prereq Node exists. Being parsing it.
11/30/2015 16:11:26.431 SETUP (0x6e0) 0x320 Click-To-Run amecy Medium Descriptor::Load: Reading Bootstrapper value from descriptor: 15.0
11/30/2015 16:11:26.494 SETUP (0x6e0) 0x320 Click-To-Run amaxg Medium DownloadOffice::DownloadPackages: Getting Office lcid: 1033
11/30/2015 16:12:11.716 SETUP (0x6e0) 0x320 Click-To-Run amaxh Medium DownloadOffice::DownloadPackages: Succesfully downloaded .dat file
11/30/2015 16:12:13.213 SETUP (0x6e0) 0x320 Click-To-Run amaxi Medium DownloadOffice::DownloadPackages: Succesfully downloaded client cab
11/30/2015 16:12:14.773 SETUP (0x6e0) 0x320 Click-To-Run amaxj Medium DownloadOffice::DownloadPackages: Succesfully downloaded 64bit client cab
11/30/2015 16:12:14.929 SETUP (0x6e0) 0x320 Click-To-Run amaxk Medium DownloadOffice::DownloadPackages: Succesfully downloaded stream cab for culture.
11/30/2015 16:12:14.929 SETUP (0x6e0) 0x320 Click-To-Run amaxg Medium DownloadOffice::DownloadPackages: Getting Office lcid: 0
11/30/2015 16:15:40.121 SETUP (0x6e0) 0x320 Click-To-Run amaxh Medium DownloadOffice::DownloadPackages: Succesfully downloaded .dat file
11/30/2015 16:15:40.776 SETUP (0x6e0) 0x320 Click-To-Run amaxk Medium DownloadOffice::DownloadPackages: Succesfully downloaded stream cab for culture.
11/30/2015 16:15:41.291 SETUP (0x6e0) 0x320 Click-To-Run amaxl Medium DownloadOffice::DownloadPackages: Succesfully downloaded stream cab for culture.
11/30/2015 16:15:41.291 SETUP (0x6e0) 0x320 Click-To-Run amaxb Medium DownloadOffice::HandleStateAction: Succesfully downloaded.
11/30/2015 16:15:41.291 SETUP (0x6e0) 0x320 Click-To-Run aoh72 Medium ExitBootStateMachine::HandleStateAction: Bootstrapper workflow exiting with result: 0x0
11/30/2015 16:15:41.291 SETUP (0x6e0) 0x320 Click-To-Run Telemetry aoh9z Medium AdminBootstrapper::Main: Installation came back with 0.
11/30/2015 16:15:41.291 SETUP (0x6e0) 0x320 Logging Liblet aqc99 Medium Logging liblet uninitializing.

Reference
https://technet.microsoft.com/en-us/library/jj219424.aspx#BKMK_DownloadC2R

https://technet.microsoft.com/en-gb/library/jj219424.aspx

 

Uninstalling Prevoius version of Office

we had just upgraded to office 2013 Pro and as you may already know, through the office 2013 configuration tool you are able to set the installation to uninstall all prevoious versions of office or keep both versions for an easier transition if you wished. sadly this feature is not available when upgrading to Office365 (not at the moment anyway) you cant event have both version installed its one or the other

to uninstall office 2013 i set up a shut scrip and deployed it via group policy

reference page: https://technet.microsoft.com/en-us/library/cc178956.aspx

here is the what my batch text looks like

 

 

 

Written by Phil

November 30, 2015 at 4:32 pm

Design a site like this with WordPress.com
Get started