<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dave.harris.uno</title>
	<atom:link href="http://dave.harris.uno/feed/" rel="self" type="application/rss+xml" />
	<link>https://dave.harris.uno</link>
	<description>IT Pro and Gadgeteer</description>
	<lastBuildDate>Wed, 10 Oct 2018 08:50:39 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.9.13</generator>
	<item>
		<title>Polycom Trio 8800 Visual+ with Office 365 and PSTN</title>
		<link>https://dave.harris.uno/polycom-trio-8800-visual-with-office-365-and-pstn/</link>
		<comments>https://dave.harris.uno/polycom-trio-8800-visual-with-office-365-and-pstn/#respond</comments>
		<pubDate>Wed, 10 Oct 2018 08:50:39 +0000</pubDate>
		<dc:creator><![CDATA[Dave]]></dc:creator>
				<category><![CDATA[Sysadmin Stuff]]></category>
		<category><![CDATA[365]]></category>
		<category><![CDATA[Polycom]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[VC]]></category>

		<guid isPermaLink="false">https://dave.harris.uno/?p=4021</guid>
		<description><![CDATA[<p>As part of a longer plan to move away from an on-premise PBX and convert all meeting rooms into fully fledged VC rooms I explored a few devices that are available for this. SurfaceHub &#8211; Fantastic but pricey, but by ... <a class="more-link" href="https://dave.harris.uno/polycom-trio-8800-visual-with-office-365-and-pstn/">Read More &#187;</a></p>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/polycom-trio-8800-visual-with-office-365-and-pstn/">Polycom Trio 8800 Visual+ with Office 365 and PSTN</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>As part of a longer plan to move away from an on-premise PBX and convert all meeting rooms into fully fledged VC rooms I explored a few devices that are available for this.</p>
<ul>
<li>SurfaceHub &#8211; Fantastic but pricey, but by far the best device here, simple to use and just works out of the box ~$14k if you can get hold of one, but might be worth waiting now for V2.</li>
<li>Ascendo Vibe &#8211; Not bad, has touch screen, Windows 10 under the hood, bit glitchy and Miracast currently has a known issue and was unusable and laggy ~$4k</li>
<li>BlueJeans &#8211; Software solution I watched on Dolby hardware. Supported dual screens and web-based screen scaring meant it worked on any device. Requirement for an on-premise server to manage part of this setup meant it was never really an option.</li>
<li>PolyCom Trio 8800 &#8211; The option I ended up with. You use your own TV, no touch screen of course, but supports AirPlay and Miracast, works as a Bluetooth speaker phone, webcam included, displays upcoming meetings on the display, simple to use, background and phone can fully customised and branded ~$1500. At this price I can kit out almost all the meeting rooms for the same price as one Surface Hub unit.</li>
</ul>
<p>For the Trio 8800 (Note that the 8500 version even though it uses the same Visual+ box does <strong>not</strong> support Miracast and Airplay) I simply purchased a &#8220;Common Area Phone&#8221; license in 365.</p>
<p><a href="https://dave.harris.uno/wp-content/files/2018/10/41KEIHkWKQL._SX425_.jpg"><img class="aligncenter size-medium wp-image-4022" src="https://dave.harris.uno/wp-content/files/2018/10/41KEIHkWKQL._SX425_-300x231.jpg" alt="" width="300" height="231" srcset="https://dave.harris.uno/wp-content/files/2018/10/41KEIHkWKQL._SX425_-300x231.jpg 300w, https://dave.harris.uno/wp-content/files/2018/10/41KEIHkWKQL._SX425_.jpg 425w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>Next was tricky, all I needed was a calling plan to allow dial out via PSTN, but this is bought via the Add-ons section which I didn&#8217;t have showing. (Using calling credits would be preferred, <a href="https://office365.uservoice.com/forums/273493-office-365-admin/suggestions/32612569-skype-communication-credits-to-act-as-a-calling">there is a UserVoice thread for this</a> so please Vote up!)</p>
<p>After a case with MS, it turns out that I need to buy a qualifying license first via MS and then I have the options available, all my licenses are purchased via a partner and so I could buy the calling plan, very odd.</p>
<p><em>Please be aware that in order to see the Add-ins button , you need to have at least one of the main subscriptions (Business Premium, Business Essentials, Enterprise E1, E3, E5, ProPlus directly from us &#8211; Admin &gt; Billing &gt; Purchase services.</em><br />
<em>Even if you have any of the subscriptions above purchased from a partner, the Add-ins button will not be available in the portal.</em><br />
<em>If you have any questions or concerns, please let me know.</em></p>
<p>The room itself already existed in 365 so I had to assign a password to this account and then assign the correct licenses:</p>
<pre>$credential = Get-Credential
$session = New-PSSession -ConfigurationName Microsoft.Exchanged -ConectionUri https://outlook.office365.com/powershell-liveid/ -Credential $credential -Authentication Basic -AllowRedirection
Import-PSSession $session
$passwd = ConvertTo-SecureString -String  -AsPlainText -Force
Set-Mailbox -Identity “” -EnableRoomMailboxAccount $true -RoomMailboxPassword $passwd
Remove-PSSession $session
</pre>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/polycom-trio-8800-visual-with-office-365-and-pstn/">Polycom Trio 8800 Visual+ with Office 365 and PSTN</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://dave.harris.uno/polycom-trio-8800-visual-with-office-365-and-pstn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deploying Office Document Templates with Intune and Group Policy</title>
		<link>https://dave.harris.uno/deploying-office-document-templates-with-intune-and-group-policy/</link>
		<comments>https://dave.harris.uno/deploying-office-document-templates-with-intune-and-group-policy/#respond</comments>
		<pubDate>Thu, 26 Jul 2018 20:15:55 +0000</pubDate>
		<dc:creator><![CDATA[Dave]]></dc:creator>
				<category><![CDATA[Sysadmin Stuff]]></category>
		<category><![CDATA[Intune]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Registry]]></category>

		<guid isPermaLink="false">https://dave.harris.uno/?p=4011</guid>
		<description><![CDATA[<p>With a move to O365 and AAD, some of the old GP features were missing a little, and pushing out office templates to all users was one of them, but with a bit of registry changing, this should be possible. ... <a class="more-link" href="https://dave.harris.uno/deploying-office-document-templates-with-intune-and-group-policy/">Read More &#187;</a></p>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/deploying-office-document-templates-with-intune-and-group-policy/">Deploying Office Document Templates with Intune and Group Policy</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>With a move to O365 and AAD, some of the old GP features were missing a little, and pushing out office templates to all users was one of them, but with a bit of registry changing, this should be possible.</p>
<p>In short, the office document template files are stored in SharePoint in a document library, as .dotx, .xltx and .potx.</p>
<p>Then you can change the office settings to show the personal templates by default and point them to your SharePoint location with some basic registry changes.</p>
<p>For Intune, simply deploy this PowerShell script to all devices:</p>
<pre>Set-Location "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
Set-Location ZoneMap\Domains
New-Item tennant.sharepoint.com
Set-Location tennant.sharepoint.com
New-ItemProperty . -Name https -Value 2 -Type DWORD

$ie = New-Object -com InternetExplorer.Application 
$ie.visible=$false
$ie.navigate("https://tennant.sharepoint.com/branding/templates") 
start-sleep 10

New-ItemProperty -Path HKCU:\Software\Microsoft\Office\16.0\Word\Options -Name PersonalTemplates –Force -Value "\\tennant.sharepoint.com@SSL\DavWWWRoot\Branding\Templates" -PropertyType "ExpandString"
New-ItemProperty -Path HKCU:\Software\Microsoft\Office\16.0\PowerPoint\Options -Name PersonalTemplates –Force -Value "\\tennant.sharepoint.com@SSL\DavWWWRoot\Branding\Templates" -PropertyType "ExpandString"

New-ItemProperty -Path HKCU:\Software\Microsoft\Office\16.0\Word\Options -Name officestartdefaulttab –Force -Value 1 -PropertyType "DWord"
New-ItemProperty -Path HKCU:\Software\Microsoft\Office\16.0\PowerPoint\Options -Name officestartdefaulttab –Force -Value 1 -PropertyType "DWord"</pre>
<p>For Group Policy, I set the following as a login script for the user and then set the registry items in the GPO:</p>
<pre>Set-Location "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
Set-Location ZoneMap\Domains
New-Item tennant.sharepoint.com
Set-Location tennant.sharepoint.com
New-ItemProperty . -Name https -Value 2 -Type DWORD

$ie = New-Object -com InternetExplorer.Application 
$ie.visible=$false
$ie.navigate("https://tennant.sharepoint.com/branding/templates") 
start-sleep 10</pre>
<p>Enjoy!</p>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/deploying-office-document-templates-with-intune-and-group-policy/">Deploying Office Document Templates with Intune and Group Policy</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://dave.harris.uno/deploying-office-document-templates-with-intune-and-group-policy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>USB Windows Deployment with AutoUnattend and Chocolatey</title>
		<link>https://dave.harris.uno/usb-windows-deployment-with-autounattend-and-chocolatey/</link>
		<comments>https://dave.harris.uno/usb-windows-deployment-with-autounattend-and-chocolatey/#respond</comments>
		<pubDate>Fri, 06 Jul 2018 11:51:39 +0000</pubDate>
		<dc:creator><![CDATA[Dave]]></dc:creator>
				<category><![CDATA[Sysadmin Stuff]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[Chocolatey]]></category>
		<category><![CDATA[W10]]></category>

		<guid isPermaLink="false">https://dave.harris.uno/?p=4005</guid>
		<description><![CDATA[<p>With no local on-prem servers, I need a way to quickly build machines. The obvious answer was via USB (PXE booting from WDS had been my choice previously but that would require a machine or VM, and new machines need ... <a class="more-link" href="https://dave.harris.uno/usb-windows-deployment-with-autounattend-and-chocolatey/">Read More &#187;</a></p>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/usb-windows-deployment-with-autounattend-and-chocolatey/">USB Windows Deployment with AutoUnattend and Chocolatey</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>With no local on-prem servers, I need a way to quickly build machines.</p>
<p>The obvious answer was via USB (PXE booting from WDS had been my choice previously but that would require a machine or VM, and new machines need to be built across many locations, and I&#8217;m trying to keep this really simple)</p>
<p>First step is to create a bootable USB stick using the <a href="https://www.microsoft.com/en-gb/software-download/windows10">media creation tool</a>.</p>
<p>With that installed, I then popped my <a href="https://dave.harris.uno/wp-content/files/2018/07/AutoUnattend.xml_.txt">AutoUnattend.xml</a> file on the root of the memory stick. This takes care of all the options and also installs any software and adds the Wi-Fi.</p>
<p>I then created a folder within &#8220;sources&#8221; on the USB stick called &#8220;$oem$&#8221; and within that a folder called &#8220;$1&#8221;. Within that I created a folder called &#8220;Company&#8221; and within that &#8220;Scripts&#8221;, &#8220;Software&#8221; and &#8220;Configs&#8221;. ie:</p>
<p><em>e:\sources\$oem$\$1\Company\scripts</em></p>
<p>Anything in $oem$\$1 will be added to the c:\ root of your fresh install, so I added stuff here that I needed to reference in the latter stage of the build.</p>
<p>I added in the Wi-Fi key so it would auto-connect to that, that was simple a case of exporting the current key to and XML file with:</p>
<p><em>netsh wlan export profile &#8220;WiFi Name&#8221; folder=c:\temp</em></p>
<p>And this is then added with:</p>
<p><em>netsh wlan add profile filename=&#8221;c:\Company\Configs\WiFi-Company.xml&#8221;</em></p>
<p>The cleverness then comes in the form of <a href="https://chocolatey.org/">Chocolcatey</a> which goes off and always gets the latest packages and installs them all silently, saving me all the hassle of keeping them updated and working out all the various switches and configs to install them silently. This is called in the AutoUnattend file with:</p>
<p><em>&lt;CommandLine&gt;&#8221;c:\Company\Scripts\chocolatey.bat&#8221;&lt;/CommandLine&gt;</em></p>
<p>This batch file looks as follows:</p>
<pre>"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" &amp;&amp; SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
choco install adobereader-update -y
choco install notepadplusplus.install -y
choco install googlechrome -y
choco install office365proplus -y
choco install microsoft-teams -y

@echo off

REM Get Computer Manufacturer
FOR /F "tokens=2 delims='='" %%A in ('wmic ComputerSystem Get Manufacturer /value') do SET manufacturer=%%A

IF "%manufacturer%"=="Microsoft Corporation" (
    ECHO Microsoft Machine
)

IF "%manufacturer%"=="Dell Inc." (
    ECHO Dell Machine
    choco install dellcommandupdate -y
)

IF "%manufacturer%"=="LENOVO" (
    ECHO Lenovo Machine
    choco install lenovo-thinkvantage-system-update -y
)
</pre>
<p>It installs some software that is machine specific too, ie the Dell update software, only on Dell machines.</p>
<p>It then deletes the files I added and reboots the machine as the last steps (8 &amp; 9)<br />
Start to finish it took about 20 minutes to completely rebuild a machine this way, pretty cool.</p>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/usb-windows-deployment-with-autounattend-and-chocolatey/">USB Windows Deployment with AutoUnattend and Chocolatey</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://dave.harris.uno/usb-windows-deployment-with-autounattend-and-chocolatey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This could be due to CredSSP encryption oracle remidiation</title>
		<link>https://dave.harris.uno/this-could-be-due-to-credssp-encryption-oracle-remidiation/</link>
		<comments>https://dave.harris.uno/this-could-be-due-to-credssp-encryption-oracle-remidiation/#respond</comments>
		<pubDate>Thu, 24 May 2018 13:16:16 +0000</pubDate>
		<dc:creator><![CDATA[Dave]]></dc:creator>
				<category><![CDATA[Sysadmin Stuff]]></category>
		<category><![CDATA[CredSSP]]></category>
		<category><![CDATA[Fix]]></category>
		<category><![CDATA[Policy]]></category>
		<category><![CDATA[RDP]]></category>

		<guid isPermaLink="false">https://dave.harris.uno/?p=3997</guid>
		<description><![CDATA[<p>A quick fix when connecting to an unpatched Server 2012 R2 via RDP from a recently patched Windows 10 workstation. Navigate to: Computer Configuration &#62; Administrative Templates &#62; system &#62; Credentials Delegation &#62; Encryption Oracle Remediation. Edit the local policy ... <a class="more-link" href="https://dave.harris.uno/this-could-be-due-to-credssp-encryption-oracle-remidiation/">Read More &#187;</a></p>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/this-could-be-due-to-credssp-encryption-oracle-remidiation/">This could be due to CredSSP encryption oracle remidiation</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>A quick fix when connecting to an unpatched Server 2012 R2 via RDP from a recently patched Windows 10 workstation.</p>
<p><a href="https://dave.harris.uno/wp-content/files/2018/05/CredSSP.png"><img class="aligncenter size-medium wp-image-3999" src="https://dave.harris.uno/wp-content/files/2018/05/CredSSP-300x123.png" alt="" width="300" height="123" srcset="https://dave.harris.uno/wp-content/files/2018/05/CredSSP-300x123.png 300w, https://dave.harris.uno/wp-content/files/2018/05/CredSSP.png 469w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>Navigate to: Computer Configuration &gt; Administrative Templates &gt; system &gt; Credentials Delegation &gt; Encryption Oracle Remediation.</p>
<p>Edit the local policy and set &#8220;Encryption Oracle Remediation&#8221; to &#8220;Vulnerable&#8221;.</p>
<p><a href="https://dave.harris.uno/wp-content/files/2018/05/EOR.jpg"><img class="aligncenter size-medium wp-image-4000" src="https://dave.harris.uno/wp-content/files/2018/05/EOR-300x278.jpg" alt="" width="300" height="278" srcset="https://dave.harris.uno/wp-content/files/2018/05/EOR-300x278.jpg 300w, https://dave.harris.uno/wp-content/files/2018/05/EOR-768x712.jpg 768w, https://dave.harris.uno/wp-content/files/2018/05/EOR.jpg 940w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>This is just a quick fix, obviously, you should get everything patched ASAP and set this back to &#8220;Not Configured&#8221;.</p>
<p><strong>References:</strong></p>
<ul>
<li>https://www.virtualizationhowto.com/2018/05/windows-10-rdp-credssp-encryption-oracle-remediation-error-fix/</li>
</ul>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/this-could-be-due-to-credssp-encryption-oracle-remidiation/">This could be due to CredSSP encryption oracle remidiation</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://dave.harris.uno/this-could-be-due-to-credssp-encryption-oracle-remidiation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exporting Google and Bing Results with PowerShell</title>
		<link>https://dave.harris.uno/exporting-google-and-bing-results-with-powershell/</link>
		<comments>https://dave.harris.uno/exporting-google-and-bing-results-with-powershell/#respond</comments>
		<pubDate>Thu, 24 May 2018 13:04:02 +0000</pubDate>
		<dc:creator><![CDATA[Dave]]></dc:creator>
				<category><![CDATA[Sysadmin Stuff]]></category>
		<category><![CDATA[Bing]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">https://dave.harris.uno/?p=3993</guid>
		<description><![CDATA[<p>Whilst doing a bit of SEO work, I needed to remove some URL&#8217;s from both Bing and Google using their webmaster tools. Rather than doing it manually and copying the links from each page, I ended up writing some PowerShell, ... <a class="more-link" href="https://dave.harris.uno/exporting-google-and-bing-results-with-powershell/">Read More &#187;</a></p>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/exporting-google-and-bing-results-with-powershell/">Exporting Google and Bing Results with PowerShell</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Whilst doing a bit of SEO work, I needed to remove some URL&#8217;s from both Bing and Google using their webmaster tools.</p>
<p>Rather than doing it manually and copying the links from each page, I ended up writing some PowerShell, which may or may not slightly violate the TOC&#8217;s, so this is purely for educational use, ok? (The sleep is to prevent the Search Engines blocking you, which will happen if you make too many requests in a short space of time)</p>
<pre>#variables
$mydomain = "www.mydomain.com"
$sleepinterval = 4
$loopmax = 30

#scrape google
clear-host
for ($i=0; $i -le $loopmax; $i++){
    start-sleep $sleepinterval
    $url = "https://www.google.com/search?q=site:$mydomain&amp;start=" + $i*10
    ((Invoke-WebRequest –Uri $url).Links | Where-Object {$_.href -like “*://$mydomain*”} ).href | ForEach-Object {
    $temp = $_
    $temp = $temp.split(":")
    $temp2 = $temp[4]
        try{
            $temp2.replace("//","").split("%")[0]
        }catch{
        }
    }
}

#scrape bing
clear-host
for ($i=0; $i -le $loopmax; $i++){
    start-sleep $sleepinterval
    $page = ($i*10)+1
    $url = "https://www.bing.com/search?q=site%3a$mydomain&amp;sp=1&amp;first=$page" 
    #write-host $url
    ((Invoke-WebRequest –Uri $url).Links | Where-Object {$_.href -like “*://$mydomain*”} ).href | ForEach-Object {
    write-host $_
    }
}</pre>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/exporting-google-and-bing-results-with-powershell/">Exporting Google and Bing Results with PowerShell</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://dave.harris.uno/exporting-google-and-bing-results-with-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 1803 &#8220;Choose which folders appear on start&#8221; GPO</title>
		<link>https://dave.harris.uno/windows-1803-choose-which-folders-appear-on-start-gpo/</link>
		<comments>https://dave.harris.uno/windows-1803-choose-which-folders-appear-on-start-gpo/#respond</comments>
		<pubDate>Thu, 17 May 2018 08:30:28 +0000</pubDate>
		<dc:creator><![CDATA[Dave]]></dc:creator>
				<category><![CDATA[Sysadmin Stuff]]></category>

		<guid isPermaLink="false">https://dave.harris.uno/?p=3979</guid>
		<description><![CDATA[<p>I have a setup with quite a few laptops on a separate locked down domain. I recently rolled out Windows 1803 to these and noticed that the start menu now, by default, had additional links to documents and pictures. Whilst ... <a class="more-link" href="https://dave.harris.uno/windows-1803-choose-which-folders-appear-on-start-gpo/">Read More &#187;</a></p>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/windows-1803-choose-which-folders-appear-on-start-gpo/">Windows 1803 &#8220;Choose which folders appear on start&#8221; GPO</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>I have a setup with quite a few laptops on a separate locked down domain. I recently rolled out Windows 1803 to these and noticed that the start menu now, by default, had additional links to documents and pictures. Whilst not the end of the world by a long way, I really wanted these machines to be really clean, and remove all clutter.</p>
<p><a href="https://dave.harris.uno/wp-content/files/2018/05/startmenubefore.jpg"><img class="aligncenter size-medium wp-image-3985" src="https://dave.harris.uno/wp-content/files/2018/05/startmenubefore.jpg" alt="" width="58" height="278" /></a></p>
<p>I couldn&#8217;t find an easy way to change this via GPO, I don&#8217;t ever modify my vanilla image but instead perform all post image configuration using GPO.</p>
<p><a href="https://dave.harris.uno/wp-content/files/2018/05/choosefolders.jpg"><img class="aligncenter size-medium wp-image-3988" src="https://dave.harris.uno/wp-content/files/2018/05/choosefolders-224x300.jpg" alt="" width="224" height="300" srcset="https://dave.harris.uno/wp-content/files/2018/05/choosefolders-224x300.jpg 224w, https://dave.harris.uno/wp-content/files/2018/05/choosefolders.jpg 528w" sizes="(max-width: 224px) 100vw, 224px" /></a></p>
<p>After a bit of digging, I found the registry entry to control this was:</p>
<pre>Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$de${08bcda64-e0b9-4793-b135-2fe3549a3d8b}$$windows.data.unifiedtile.startglobalproperties\Current
<a href="https://dave.harris.uno/wp-content/files/2018/05/1803reg.jpg"><img class="aligncenter size-medium wp-image-3987" src="https://dave.harris.uno/wp-content/files/2018/05/1803reg-300x144.jpg" alt="" width="300" height="144" srcset="https://dave.harris.uno/wp-content/files/2018/05/1803reg-300x144.jpg 300w, https://dave.harris.uno/wp-content/files/2018/05/1803reg.jpg 662w" sizes="(max-width: 300px) 100vw, 300px" /></a>However, the random string after $de$ was different on each laptop, and I couldn't find another reference to this random string anywhere, almost like it was put in to stop automated modification of its contents. Looking at 1709 build it seems to be under:</pre>
<pre>Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$$windows.data.unifiedtile.startglobalproperties\Current<a href="https://dave.harris.uno/wp-content/files/2018/05/1709location.png"><img class="aligncenter size-medium wp-image-3986" src="https://dave.harris.uno/wp-content/files/2018/05/1709location-300x67.png" alt="" width="300" height="67" srcset="https://dave.harris.uno/wp-content/files/2018/05/1709location-300x67.png 300w, https://dave.harris.uno/wp-content/files/2018/05/1709location.png 402w" sizes="(max-width: 300px) 100vw, 300px" /></a>Which would have been far easier to reference and change.</pre>
<p>Anyway, on the 1803 build, with all the items turned off, the REG_BINARY value became:</p>
<pre>"02,00,00,00,FB,F1,44,D5,EE,EC,D3,01,00,00,00,00,43,42,01,00,C2,3C,01,C2,46,01,C5,5A,01,00"</pre>
<p>So, I ended up writing a PowerShell script to find the key I wanted and sett the value so that all the icons were removed. It;&#8217;s worth noting that you then need to log off and back on for this to take effect. (or just kill explorer.exe of course)</p>
<p>Oddly, trying to Set-ItemPropery I couldn&#8217;t get to work, so I ended up removing the Data key and then creating it again with the value to clear all the icons.</p>
<pre>Get-ChildItem "HKCU:\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\" -Recurse | Where-Object {$_.pspath -like "*.startglobalproperties"} | ForEach-Object { 

$NoIcons = "02,00,00,00,FB,F1,44,D5,EE,EC,D3,01,00,00,00,00,43,42,01,00,C2,3C,01,C2,46,01,C5,5A,01,00"
$RegPath = $_.pspath + "\current"
$AttrName  = "Data"
$hexified = $NoIcons .Split(',') | % { "0x$_"}

Get-Item -path $regPath | Remove-ItemProperty -Name $AttrName
New-ItemProperty -Path $RegPath -Name $AttrName -PropertyType Binary -Value ([byte[]]$hexified) 
</pre>
<p>This is then deployed a Login script with the parameters &#8220;-executionpolicy Bypass&#8221;</p>
<p><a href="https://dave.harris.uno/wp-content/files/2018/05/gpologinscript.png"><img class="aligncenter size-medium wp-image-3989" src="https://dave.harris.uno/wp-content/files/2018/05/gpologinscript-263x300.png" alt="" width="263" height="300" srcset="https://dave.harris.uno/wp-content/files/2018/05/gpologinscript-263x300.png 263w, https://dave.harris.uno/wp-content/files/2018/05/gpologinscript.png 406w" sizes="(max-width: 263px) 100vw, 263px" /></a></p>
<p><a href="https://dave.harris.uno/wp-content/files/2018/05/startmenuafter.jpg"><img class="aligncenter size-full wp-image-3984" src="https://dave.harris.uno/wp-content/files/2018/05/startmenuafter.jpg" alt="" width="54" height="126" /></a></p>
<p><strong>References:     </strong></p>
<ul>
<li><a href="https://fleexlab.blogspot.co.uk/2017/05/the-windows-cloudstore.html">https://fleexlab.blogspot.co.uk/2017/05/the-windows-cloudstore.html</a></li>
</ul>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/windows-1803-choose-which-folders-appear-on-start-gpo/">Windows 1803 &#8220;Choose which folders appear on start&#8221; GPO</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://dave.harris.uno/windows-1803-choose-which-folders-appear-on-start-gpo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No API, no problem. Logging into websites with PowerShell</title>
		<link>https://dave.harris.uno/no-api-no-problem-logging-into-websites-with-powershell/</link>
		<comments>https://dave.harris.uno/no-api-no-problem-logging-into-websites-with-powershell/#respond</comments>
		<pubDate>Tue, 24 Apr 2018 15:33:36 +0000</pubDate>
		<dc:creator><![CDATA[Dave]]></dc:creator>
				<category><![CDATA[Sysadmin Stuff]]></category>
		<category><![CDATA[Automation]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Teamer]]></category>

		<guid isPermaLink="false">https://dave.harris.uno/?p=3960</guid>
		<description><![CDATA[<p>In the name of automating everything, a recent opportunity arose to make life a bit easier when it came to organising a regular sporting event. However, the 2 websites that we use don&#8217;t have any API support whatsoever.  A little ... <a class="more-link" href="https://dave.harris.uno/no-api-no-problem-logging-into-websites-with-powershell/">Read More &#187;</a></p>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/no-api-no-problem-logging-into-websites-with-powershell/">No API, no problem. Logging into websites with PowerShell</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>In the name of automating everything, a recent opportunity arose to make life a bit easier when it came to organising a regular sporting event. However, the 2 websites that we use don&#8217;t have any API support whatsoever.  A little annoying, but I was fairly confident that I could find a workaround anyway.</p>
<p>The plan was some like this:</p>
<p>A master task that would run every Tuesday morning (we play on a Monday evening).Find out if the day of the game Monday next week is a bank holiday, if it is, post a Teamer message saying this and leave it there until the next week. If not, login to <a href="https://teamer.net/">Teamer.net</a> and create an event for the next week. Then send the notifications to all players. Then create a secondary task to check teamer every hour to see how many people have confirmed that they can play.  My magic number variable was set at 10. So, If the number of people confirmed LT 10, exit. However also check that if the current date time GT 14:00 on the day of the game then cancel the game on teamer and add the reason of &#8220;Not enough players&#8221;. Also, cancel this secondary scheduled task. If the number of confirmed players GE 10, then login to the website for the sports hall and check that it is available for the time we want. If it isn&#8217;t, cancel the game on teamer and give the reason of &#8220;Hall unavailable&#8221;. If it is available then add a message on Teamer to book the hall ASAP. In both these cases, cancel the second scheduled task. Pretty simple.</p>
<p>I won&#8217;t paste all the code, but here are some snippets:</p>
<p>Logging in to the website</p>
<pre>$url = "https://teamer.net/session/new"
$username = "email@domain.com" 
$password = "mypassy" 
$magicnumber = 10

#login to teamer 
$ie = New-Object -com InternetExplorer.Application 
start-sleep 2
$ie.visible=$true
$ie.navigate($url) 
while($ie.ReadyState -ne 4) {start-sleep -m 100} 
$ie.document.getElementById("email").value= $username 
$ie.document.getElementById("password").value = $password 
$ie.document.forms(0).submit()
start-sleep 5 
</pre>
<p>Find out if next week is a bank holiday and set date time variables</p>
<pre>$result = Invoke-WebRequest "https://www.gov.uk/bank-holidays.json" -Method Get | convertfrom-json
$nextmonday = (Get-Date).AddDays(6).ToString("yyyy-MM-dd")
$nextmonday_teamerformat = (Get-Date).AddDays(6).ToString("dd/MM/yyyy 20:50")

$gameonbh = $false
foreach($event in $result."england-and-wales".events)
{
    if($event.date -eq $nextmonday){
        $gameonbh = $true
    }
}</pre>
<p>Click Add Event and Populate</p>
<pre>#open add event window
    $Click=$ie.document.getElementByID("Stop6")
    $Click.click();
    while($ie.ReadyState -ne 4) {start-sleep -m 100} 
    start-sleep 5 

    #enter details
    $ie.document.getElementByID("ane_the_event_type").value = "Training" 
    $ie.document.getElementByID("datepicker_event_date").value = $nextmonday_teamerformat
    $ie.document.getElementByID("new_event_venue").value = "Sports Hall, UK"
    
    $ie.document.getElementByID("new_keyword").value = "Place, Postcode, UK"
    $ie.document.getElementByID("new_event_non_game_description").value = "£5 per player" 

    #sumbit event
    $Click=$ie.Document.getElementsByTagname("button") | Where-Object {$_.type -eq "submit" -and $_.ClassName -eq "btn btn-primary btn-m pull-right"} 
    $Click.click();</pre>
<p>Kill IE</p>
<pre>   $shellapp = New-Object -ComObject "Shell.Application"
    $ShellWindows = $shellapp.Windows()
    for ($i = 0; $i -lt $ShellWindows.Count; $i++)
    {
    if ($ShellWindows.Item($i).FullName -like "*iexplore.exe")
    {
    $ie = $ShellWindows.Item($i)
    $ie.quit()
    [System.Runtime.Interopservices.Marshal]::ReleaseComObject($ie)
    }
    }</pre>
<p>If anyone wants a copy of the full code, just drop me a line.</p>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/no-api-no-problem-logging-into-websites-with-powershell/">No API, no problem. Logging into websites with PowerShell</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://dave.harris.uno/no-api-no-problem-logging-into-websites-with-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Extension Attributes to Crossware Email Signatures</title>
		<link>https://dave.harris.uno/adding-extension-attributes-to-crossware-email-signatures/</link>
		<comments>https://dave.harris.uno/adding-extension-attributes-to-crossware-email-signatures/#respond</comments>
		<pubDate>Tue, 24 Apr 2018 15:00:00 +0000</pubDate>
		<dc:creator><![CDATA[Dave]]></dc:creator>
				<category><![CDATA[Sysadmin Stuff]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[Attributes]]></category>
		<category><![CDATA[Crossware]]></category>
		<category><![CDATA[Signature]]></category>

		<guid isPermaLink="false">https://dave.harris.uno/?p=3952</guid>
		<description><![CDATA[<p>I use a few of the Extension Attributes in AD, and recently had a request for letters after a users name for a single user. Rather than just changing their surname, a better route seemed to be to use an ... <a class="more-link" href="https://dave.harris.uno/adding-extension-attributes-to-crossware-email-signatures/">Read More &#187;</a></p>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/adding-extension-attributes-to-crossware-email-signatures/">Adding Extension Attributes to Crossware Email Signatures</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>I use a few of the Extension Attributes in AD, and recently had a request for letters after a users name for a single user. Rather than just changing their surname, a better route seemed to be to use an extension attribute for this.. Ther is <a href="http://wiki.crossware.co.nz/wiki/signature/o365_v4_UI2wiki.nsf/dx/Azure_Active_Directory_Extension_attributes">a guide on the C</a>rossware site for this, with a few caveats.</p>
<p>The first step is to update Azure AD Connect to sync the specified extension attributes. Once they have been uploaded you can then use the useful graph explorer to get the ID&#8217;s you need.</p>
<p>Navigate to <a href="https://graphexplorer.azurewebsites.net">https://graphexplorer.azurewebsites.net</a> and login.</p>
<p>Pop in a query along the lines of: <strong>https://graph.windows.net/mydomain.com/users/username@mydomain.com</strong></p>
<p>Scroll to the bottom and you will see the extension attributes that you need.</p>
<p><a href="https://dave.harris.uno/wp-content/files/2018/04/extensionattributes.jpg"><img class="aligncenter size-medium wp-image-3954" src="https://dave.harris.uno/wp-content/files/2018/04/extensionattributes-300x84.jpg" alt="" width="300" height="84" srcset="https://dave.harris.uno/wp-content/files/2018/04/extensionattributes-300x84.jpg 300w, https://dave.harris.uno/wp-content/files/2018/04/extensionattributes-768x214.jpg 768w, https://dave.harris.uno/wp-content/files/2018/04/extensionattributes.jpg 940w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>From the Crossware portal you can then create a new field from Active Directory:</p>
<p><a href="https://dave.harris.uno/wp-content/files/2018/04/crosswareattributessnip.jpg"><img class="aligncenter size-medium wp-image-3957" src="https://dave.harris.uno/wp-content/files/2018/04/crosswareattributessnip-300x159.jpg" alt="" width="300" height="159" srcset="https://dave.harris.uno/wp-content/files/2018/04/crosswareattributessnip-300x159.jpg 300w, https://dave.harris.uno/wp-content/files/2018/04/crosswareattributessnip.jpg 573w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>The only issue I found is that if you later edit that field, it truncates the AD Attribute data to the first 50 characters and then, of course, it won&#8217;t work. I&#8217;ve contacted Crossware about this so hopefully, that&#8217;s a simple fix for them.</p>
<p><strong>References</strong>:</p>
<ul>
<li><a href="http://wiki.crossware.co.nz/wiki/signature/o365_v4_UI2wiki.nsf/dx/Azure_Active_Directory_Extension_attributes">http://wiki.crossware.co.nz/wiki/signature/o365_v4_UI2wiki.nsf/dx/Azure_Active_Directory_Extension_attributes</a></li>
</ul>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/adding-extension-attributes-to-crossware-email-signatures/">Adding Extension Attributes to Crossware Email Signatures</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://dave.harris.uno/adding-extension-attributes-to-crossware-email-signatures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>System32\CertLog Folder Size</title>
		<link>https://dave.harris.uno/system32certlog-folder-size/</link>
		<comments>https://dave.harris.uno/system32certlog-folder-size/#respond</comments>
		<pubDate>Mon, 23 Apr 2018 13:01:36 +0000</pubDate>
		<dc:creator><![CDATA[Dave]]></dc:creator>
				<category><![CDATA[Sysadmin Stuff]]></category>
		<category><![CDATA[Disk]]></category>
		<category><![CDATA[Space]]></category>
		<category><![CDATA[TreeSize]]></category>

		<guid isPermaLink="false">https://dave.harris.uno/?p=3948</guid>
		<description><![CDATA[<p>During a bit of routine maintenance, I noticed the disk space on a single server was dropping, but for no obvious reason. Looking at the PTRG logs the downward trend had been going on for some time. With a bit ... <a class="more-link" href="https://dave.harris.uno/system32certlog-folder-size/">Read More &#187;</a></p>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/system32certlog-folder-size/">System32\CertLog Folder Size</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>During a bit of routine maintenance, I noticed the disk space on a single server was dropping, but for no obvious reason. Looking at the PTRG logs the downward trend had been going on for some time.</p>
<p>With a bit of TreeSize, I spotted over 7GB of log files located in: C:\Windows\System32\CertLog</p>
<p>Whilst they can safely be deleted (assuming everything is in good order of course), I didn&#8217;t really need them going forward and so the simple fix was to change the logging level with:</p>
<p><strong>certutil -setreg ca:\loglevel 0</strong></p>
<ul>
<li>0 CERTLOG_MINIMAL</li>
<li>1 CERTLOG_TERSE</li>
<li>2 CERTLOG_ERROR</li>
<li>3 CERTLOG_WARNING (Default)</li>
<li>4 CERTLOG_VERBOSE</li>
</ul>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/system32certlog-folder-size/">System32\CertLog Folder Size</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://dave.harris.uno/system32certlog-folder-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange Online MFA and Outlook 2016 Password Repeatedly Prompts</title>
		<link>https://dave.harris.uno/exchange-online-mfa-and-outlook-2016-password-repeatedly-prompts/</link>
		<comments>https://dave.harris.uno/exchange-online-mfa-and-outlook-2016-password-repeatedly-prompts/#respond</comments>
		<pubDate>Mon, 16 Apr 2018 08:58:57 +0000</pubDate>
		<dc:creator><![CDATA[Dave]]></dc:creator>
				<category><![CDATA[Sysadmin Stuff]]></category>
		<category><![CDATA[ADAL]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[MFA]]></category>
		<category><![CDATA[WAM]]></category>

		<guid isPermaLink="false">https://dave.harris.uno/?p=3943</guid>
		<description><![CDATA[<p>We&#8217;ve been using Azure MFA cross the board for some time now, and all had been good. Since a password change, one user experienced an odd issue with Outlook 2016. O/S and Office all running the latest builds but after ... <a class="more-link" href="https://dave.harris.uno/exchange-online-mfa-and-outlook-2016-password-repeatedly-prompts/">Read More &#187;</a></p>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/exchange-online-mfa-and-outlook-2016-password-repeatedly-prompts/">Exchange Online MFA and Outlook 2016 Password Repeatedly Prompts</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>We&#8217;ve been using Azure MFA cross the board for some time now, and all had been good. Since a password change, one user experienced an odd issue with Outlook 2016. O/S and Office all running the latest builds but after entering their password and approving the MFA request, it would just re-prompt for the password, again and again.</p>
<p>Tried the obvious restart and clearing cached credentials. I came across <a href="https://community.spiceworks.com/topic/2025536-outlook-2016-365-keeps-asking-for-credentials?page=4">this post</a> which seems to have helped in this one case. In short by modifying the <a href="https://support.microsoft.com/en-my/help/4025962/you-can-t-sign-in-after-you-update-to-office-2016-build-16-0-7967-or-a">WAM, Web Account Manager</a> settings.</p>
<p>By adding this reg entry and then restarting Outlook, all was good again. I will keep monitoring the issue, but so far it seems to be an isolated case.</p>
<pre>By default, Microsoft Office 365 ProPlus (2016 version) uses Azure Active Directory Authentication Library (ADAL) framework-based authentication. Starting in build 16.0.7967, Office uses Web Account Manager (WAM) for sign-in workflows on Windows builds later than 15000 (Windows Version 1703, build 15063.138). 
Workaround:
<strong>[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity]
"DisableADALatopWAMOverride"=dword:00000001</strong> 
The regkey disables WAM use in Office, which can degrade the auth experience (users will see legacy UI and may be prompted more in other cases, so it's only recommended if the situation is blocking). We highly recommend deleting the regkey once the fix is out.
The fix for Windows 10 should be shipped early next year, I%u2019m now trying to check ETA.</pre>
<p>The post <a rel="nofollow" href="https://dave.harris.uno/exchange-online-mfa-and-outlook-2016-password-repeatedly-prompts/">Exchange Online MFA and Outlook 2016 Password Repeatedly Prompts</a> appeared first on <a rel="nofollow" href="https://dave.harris.uno">dave.harris.uno</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://dave.harris.uno/exchange-online-mfa-and-outlook-2016-password-repeatedly-prompts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
