Kåre Rude Andersen
Jakob Gottlieb Svendsen
Kåre Rude Andersen
Blog posts by
Get GeoLocation with PowerShell and set NTP Server in a GPO
Using Powershell to locate your Geographical Location with the help of GeoLocation (IP-Address) is quite easy, cool and useful! When we build Private and Hybrid Clouds across the globe in various countries and continents I want to make sure the Active Directory PDC Emulator is using a valid time source based on that location. So … Continue reading "Get GeoLocation with PowerShell and set NTP Server in a GPO"
Azure Stack packaging and pricing
Microsoft has finally released the pricing for Microsoft Azure Stack. It’s long been known that MAS (Microsoft Azure Stack) would be prices on a Pay-as-you-go model just like Azure but we’ve not known the exact price so far. HPE revealed the price for the hardware a few weeks ago and it’s been said to be … Continue reading "Azure Stack packaging and pricing"
How to delete files in a userprofile with Group Policy Preferences
As a follow up to my post about How to automatically Hide “Configure this local server” in Server Manager. I mentioned it’s possible to remove the individual user.config files in various ways to reset the behavior and hide the Welcome Tile. You can easily do that with a GPO like this; Paths: [crayon-595c9ce192573813491406/] It’s a … Continue reading "How to delete files in a userprofile with Group Policy Preferences"
How to automatically Hide “Configure this local server” in Server Manager
After you have installed a couple of hundred servers, you may start to feel that you have seen this text a couple of times too many and start to wonder how to get rid of it… You can obviously click the “Hide” button to hide the “Configure this local server” box, which is also called … Continue reading "How to automatically Hide “Configure this local server” in Server Manager"
Use OMS (Log Analytic) to monitor and send alert for BlueScreen of Death
At times there is a driver or two that’s misbehaving and causing bluescreens. As the server automatically reboots after dumping memory to the memory.dmp file you might not get a report from your users that there has been a problem. And depending on your monitoring tool you might not get an alter there either. Operations … Continue reading "Use OMS (Log Analytic) to monitor and send alert for BlueScreen of Death"
Disable ASUS Mini Bar (AsPowerBar.exe)
Not 100% work related but computer related. I reinstalled my home PC last week and also installed the ASUS AI Suite 3 tools to make it easier with overclocking and handling the fans and pump for my custom liquid cooling system. One annoying thing is the ASUS Mini Bar (also called ASPowerBar.exe if you check … Continue reading "Disable ASUS Mini Bar (AsPowerBar.exe)"
MSI Error 25543 when installing SPF Update Rollup
When trying to install an Update Rollup for SPF through Windows Update you may run into a Failed installation. And running the update manually gives a MSI Error 25543 where you have to click the Ok button like 10 times before it abort. I’ve solved that at three different occasions by just stopping the IIS … Continue reading "MSI Error 25543 when installing SPF Update Rollup"
Potential version mismatch between WAP and SPF, please verify both component’s versions and if they’re compatible
I had a customer today who were getting errors when trying to create Virtual Machines in Windows Azure Pack (WAP). Looking in the logfile on the Tenant server (Tenant Admin Log) showed that there were quite a lot of Error Events when a user is trying to create a server. Some operations worked, like creating … Continue reading "Potential version mismatch between WAP and SPF, please verify both component’s versions and if they’re compatible"
DVBLogic channel logos for Kodi
I’ve used Kodi (xbmc) as frontend for my DVBLogic (DVBLink) TV-Server backend. Which is working great, but I wanted to enhance the experience a bit and get channel logos for all my channels to show in the tv-listing and in EPG view. There were unfortunately no packs of Swedish channel logos available, so I made … Continue reading "DVBLogic channel logos for Kodi"
Error 500 in Azure Pack when using ADFS
I’ve had a couple of customers lately who’s had sudden issues with Azure Pack reporting a error 500 when used in combination with ADFS after logging on. It’s because the ADFS Certificate has been updated and the thumbprint in WAP doesn’t match the one presented from ADFS anymore. Mark has made a great post about … Continue reading "Error 500 in Azure Pack when using ADFS"
Enable driver verifier for all none-microsoft drivers with powershell
I’ve been doing some debugging for a customer, who has multiple industrial Client PC’s who are rebooting regularly. And to get more information in the memory dumps I had a need to configure the system to do a complete memory dump but also to enable extra verification of all drivers in the system to find … Continue reading "Enable driver verifier for all none-microsoft drivers with powershell"
Swedish Windows Azure Stack User Group
For my Swedish community members who’s interested in Microsoft Azure Stack. There is now a Swedish Windows Azure Stack User Group on Facebook, where we share knowledge, information and discuss everything around Microsoft Azure Stack and Windows Azure Pack. Welcome to join! https://www.facebook.com/groups/MASUGSWE/
Addition to new-wifimac address script
A reader asked if there was a way to reset the mac-address to the original value after using my script to set a random MAC address. But also if it’s possible to schedule the script to run every XX minutes as the local coffee shop restricts internet access to 15 minutes per custo…ehh sorry, per … Continue reading Addition to new-wifimac address script →
Change MAC Address with PowerShell of a Wireless Adapter
As I mentioned in my post a week ago, I’m commuting each day and there is a 200MB Quota on the Wireless Network. Luckily it’s based on the MAC Address of the WiFi Card, so it’s quite easy to get another 200MB Quota if you want ?? Here is my small powershell script that automatically … Continue reading Change MAC Address with PowerShell of a Wireless Adapter →
Block a Service (BITS) when on Wireless and specific Subnet
I’m commuting by train each day, working. The train has a free wireless network, but it’s limited to 200MB traffic, and is then reduced to snail speed. Luckily, it’s restricted by MAC-Address so it’s quite easy to get another 200MB when you run out ?? Though, yesterday, I ran out of my 200MB quota in … Continue reading Block a Service (BITS) when on Wireless and specific Subnet →
Should the image contain hotfixes or not?
One more post in my WSUS/Hotfix series of blogposts. I’ve been asked a couple of times how we approve Hotfixes and if we include them in the images. I’ve made an Autoapproval Rule where we approve all Hotfixes automatically to the various Computer Groups with a Deadline, like this. And this is how the details … Continue reading Should the image contain hotfixes or not? →
Semi-Automatic Hotfix import into WSUS
One of my blogreaders, Andreas Fjellner, came up with a way to make the import of hotfixes a bit faster than copy and paste. You can download a XML file with all the Hotfixes I’ve got imported so you don’t have to do a findstr or excel filtering from the previous blogpost, the XML file … Continue reading Semi-Automatic Hotfix import into WSUS →
Importing Hotfixes and Drivers directly into WSUS
I got a comment on my previous blogpost. Could you please clarify the import bit with paste:ing the uri into Wsus IE. If you paste the Uri into the address field it wants do dowload the update and not import it. You are right, I was very unclear about that and should have explained it, … Continue reading Importing Hotfixes and Drivers directly into WSUS →
Live (VSM) migration fails with mirror operation failed and access is denied error
When doing a Live Migration from SCVMM (System Center Virtual Machine Manager) with VSM, moving a Virtual Machine from one Cluster to another Cluster and at the same time also to a new Storage Location, you are getting an error message similar to this: [crayon-56b1fa20d634b828713209/] The strange thing is that there is a destination folder … Continue reading Live (VSM) migration fails with mirror operation failed and access is denied error →
List of Private Cloud related Hotfixes – 2016-02-03
I’ve posted my list of resources for finding Hotfixes previously here. And this is a list of hotfixes we’ve imported in our WSUS server for our and our customers Private Clouds. I usually want to install a hotfix to avoid getting a known problem, than try to find a solution to a problem after it … Continue reading List of Private Cloud related Hotfixes – 2016-02-03 →
Export information from WSUS about Hotfixes or Updates
I want to export information about all our Hotfixes in our WSUS Server, to share with the community as it’s sometimes hard to find up to date info of which hotfixes to apply in an environment. Here is a quick and dirty script. No, scratch that, it’s not quick in any way but very dirty. … Continue reading Export information from WSUS about Hotfixes or Updates →
Geek Week – Building Datacenter and Private Cloud
Yours truly and @mikael_nystrom are teaching a 5 day training called “Geek Week – Building Datacenter and Private Cloud“. It’s a quite cool concept, where we are always at least 2 teachers (Mike and me, and sometimes members from our team) with a lot of real-life experience, teaching students how to build a Software Defined … Continue reading Geek Week – Building Datacenter and Private Cloud →
Working with Virtual NIC’s in Windows
At times when I’m for example at a customer and need to connect my Laptop to different VLAN’s it’s really nice to add new virtual Network Cards (vNIC’s) on the fly, and be connected to multiple networks at the same time. By transforming the Network Cards in your computer, into a virtual switch, and then … Continue reading Working with Virtual NIC’s in Windows →
List all expiring certificates on all domain joined servers
A colleague asked me if I could list all expiring certificates on all Domain Joined servers in the environment. – Sure! A few minutes later, a script that will connect to all Servers and list certificates that will expire in less than 90 days. I’m sure there are a thousand of scripts out there who … Continue reading List all expiring certificates on all domain joined servers →
Script to change from Dynamic to Static MAC Address on all VMs
A customer had a lot of VM’s with Dynamic MAC address, rather than the preferred method of using Static MAC addresses. Here is a small powershell script that will shutdown each of the VM’s with a Dynamic MAC Address, change to a Static MAC Address and then start the VM. I’m running the script on … Continue reading Script to change from Dynamic to Static MAC Address on all VMs →
Import a Cryptographic New Generation (CNG) certificate as a Legacy cert to use with ADFS
The current version of ADFS (Active Directory Federation Services for Windows Server 2012 R2) unfortunately does not support Cryptographic New Generation (CNG) Certificates. Though if you already have a CNG cert, and does not want to re-request a legacy cert from your provider, it’s possible to import a CNG as a Legacy cert by using … Continue reading Import a Cryptographic New Generation (CNG) certificate as a Legacy cert to use with ADFS →
URL Rewrite (redirect) of HTTP to HTTPS with Powershell script
When deploying Web Application Proxy as a frontend to for example ADFS and Windows Azure Pack, or other services, the current version of Web AppProxy only supports HTTPS urls. It’s possible to use the “URL Rewrite” module for IIS to redirect users from HTTP to HTTPS. There are plenty of guides on internet on how … Continue reading URL Rewrite (redirect) of HTTP to HTTPS with Powershell script →
Automatically Assign Availability Set Names to VMs with Powershell
This blog-post is about using System Center Virtual Machine Manager (SCVMM) Availability Sets to spread similar VM’s to different Hyper-V Hosts to increase reliability both when using Failover Clustering, and when using stand-alone Hyper-V hosts. First of all, what is Availability Sets? In SCVMM 2012 SP1, Microsoft added Availability Sets. Failover Cluster Manager users are … Continue reading Automatically Assign Availability Set Names to VMs with Powershell →
VM Usage History fixed in UR7
I just noticed that the VM Usage History has been fixed in UR7. It’s been broken as long as I remember and used to only show the last 3 days of data, even if you selected 1 month. I don’t think it was mentioned in the ChangeLog for UR7? Yay!
Uninstall old SCDPM Agents with Powershell on all Servers
When you want to add a server to Microsoft Data Protection manager to be managed (backup), it might already contain an old DPM Agent, which prevents the installation from going through. SCDPM will tell you to manually use Add/Remove Programs on each server and uninstall the old agent. To find all servers in the environment … Continue reading Uninstall old SCDPM Agents with Powershell on all Servers →