<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Windows on Puppeteers Oy</title>
		<link>https://www.puppeteers.net/tags/windows/</link>
		<description>Recent content in Windows on Puppeteers Oy</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
		
			<lastBuildDate>Tue, 11 Jan 2022 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://www.puppeteers.net/tags/windows/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Windows domain in Azure</title>
				<link>https://www.puppeteers.net/blog/windows-domain-in-azure/</link>
				<pubDate>Tue, 11 Jan 2022 00:00:00 +0000</pubDate>
				<guid>https://www.puppeteers.net/blog/windows-domain-in-azure/</guid>
				<description>&lt;p&gt;I wrote this article to better understand all the pieces called &amp;ldquo;AD&amp;rdquo; or &amp;ldquo;Active Directory&amp;rdquo; in Microsoft Azure fit together. The pieces are as follows:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;strong&gt;Active Directory (AD)&lt;/strong&gt;: The is the classic on-premise Active Directory with LDAP, Kerberos, group policies and all that. Traditionally Windows machines in larger environments have been domain-joined to on-premise AD.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;strong&gt;&lt;a href=&#34;https://docs.microsoft.com/en-us/windows-server/identity/active-directory-federation-services&#34;&gt;Active Directory Federation services (AD FS)&lt;/a&gt;&lt;/strong&gt;: adds support for modern web-SSO protocols (SAML, OAuth 2.0 and OIDC) to on-premise Active Directory.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Using xfreerdp with Vagrant</title>
				<link>https://www.puppeteers.net/blog/using-xfreerdp-with-vagrant/</link>
				<pubDate>Tue, 15 Jun 2021 00:00:00 +0000</pubDate>
				<guid>https://www.puppeteers.net/blog/using-xfreerdp-with-vagrant/</guid>
				<description>&lt;p&gt;Vagrant has built-in support for connecting to Windows VMs using the &lt;a href=&#34;https://www.vagrantup.com/docs/cli/rdp&#34;&gt;vagrant rdp command&lt;/a&gt;. It does basically does the same as &lt;a href=&#34;https://www.vagrantup.com/docs/cli/ssh&#34;&gt;vagrant ssh&lt;/a&gt; for Linux VMs. There are a few shortcomings, though: vagrant rdp fails to automatically accept the host key of the VM it is connecting to, at least when using it from Linux with xfreerdp. So, you first need to connect to the VM directly once with raw xfreerdp, then vagrant rdp will start working. Then, when you wipe out the VM, you need to repeat the process again. If you have a high resolution screen you will also notice that vagrant rdp will give you a tiny Windows desktop where you need a magnifying glass to read the text.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Installing individual components to Visual Studio 2019 from the command-line</title>
				<link>https://www.puppeteers.net/blog/installing-individual-components-to-visual-studio-2019-from-the-command-line/</link>
				<pubDate>Mon, 07 Jun 2021 00:00:00 +0000</pubDate>
				<guid>https://www.puppeteers.net/blog/installing-individual-components-to-visual-studio-2019-from-the-command-line/</guid>
				<description>&lt;p&gt;I&amp;rsquo;ve been doing lots of Windows automation recently. My goal has been to be able to reproducibly create a Windows Server 2019-based &lt;a href=&#34;http://buildbot.net/&#34;&gt;Buildbot&lt;/a&gt; workers, first in a &lt;a href=&#34;https://www.vagrantup.com/&#34;&gt;Vagrant&lt;/a&gt; environment, then later in AWS EC2 using pre-built images created with &lt;a href=&#34;https://www.packer.io/&#34;&gt;Packer&lt;/a&gt;. This task requires installing Visual Studio 2019 build tools automatically and fetching the project&amp;rsquo;s dependencies with &lt;a href=&#34;https://vcpkg.io/en/index.html&#34;&gt;vcpkg&lt;/a&gt; automatically. It is possible to install Visual Studio 2019 with &lt;a href=&#34;https://community.chocolatey.org/packages/visualstudio2019buildtools&#34;&gt;Chocolatey&lt;/a&gt; quite easily, but what if you need to install additional components to Visual Studio without using the Visual Studio installer GUI? Looking around did not quickly reveal any de facto instructions on how to do it, so this article aims to fill that gap.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Fixing foreman-installer &#34;Forward DNS points to x&#34; errors</title>
				<link>https://www.puppeteers.net/blog/fixing-foreman-installer-forward-dns-points-to-errors/</link>
				<pubDate>Wed, 03 Mar 2021 00:00:00 +0000</pubDate>
				<guid>https://www.puppeteers.net/blog/fixing-foreman-installer-forward-dns-points-to-errors/</guid>
				<description>&lt;p&gt;This posting comes strictly from the land of esoteria. We have a &lt;a href=&#34;https://www.vagrantup.com/&#34;&gt;Vagrant&lt;/a&gt; + &lt;a href=&#34;https://www.virtualbox.org/&#34;&gt;Virtualbox&lt;/a&gt; environment that sets up &lt;a href=&#34;https://theforeman.org/&#34;&gt;Foreman&lt;/a&gt; used for &lt;a href=&#34;https://www.howtogeek.com/57601/what-is-network-booting-pxe-and-how-can-you-use-it/&#34;&gt;PXE booting&lt;/a&gt; baremetal servers. The environment work fine on Linux and MacOS. But we needed to make this environment work also on Windows. Easy, right? Vagrant and Virtualbox are supposed to abstract all those pesky operating system settings away, correct? After resolving a &lt;a href=&#34;https://www.puppeteers.net/blog/fixing-vagrant-vbguest-for-the-centos-7-base-box/&#34;&gt;non-Windows related challenge&lt;/a&gt; provisioning of Foreman on Windows almost worked. Except that it failed when foreman-installer attempted to start[*]. The error message was this:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Making vagrant-hostmanager UAC prompts go away on Windows</title>
				<link>https://www.puppeteers.net/blog/making-vagrant-hostmanager-uac-prompts-go-away-on-windows/</link>
				<pubDate>Wed, 03 Mar 2021 00:00:00 +0000</pubDate>
				<guid>https://www.puppeteers.net/blog/making-vagrant-hostmanager-uac-prompts-go-away-on-windows/</guid>
				<description>&lt;p&gt;The &lt;a href=&#34;https://github.com/devopsgroup-io/vagrant-hostmanager&#34;&gt;vagrant-hostmanager&lt;/a&gt; plugin is a really nice plugin which helps Vagrant VMs communicate with each other using names instead of IP addresses. Essentially it manages hosts entries for the VMs, acting like a poor-man&amp;rsquo;s DNS. Now, on *NIX operating systems you typically use sudo, which caches your authorization. So, when hostmanager starts, you type your password once and then it is able to add all the host entries it needs to &lt;em&gt;/etc/hosts&lt;/em&gt;. This is not so on Windows: you will get one UAC prompt per modification to &lt;em&gt;c:\windows\system32\drivers\etc\hosts&lt;/em&gt;. This will eventually drive you crazy. To fix this you need to permit your Windows user account to modify the hosts-file without privilege elevation. To pull this off, you will need to modify that file&amp;rsquo;s access control lists. The process is quite convoluted imho, but here it goes:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
