How a simple thing like changing a network connection between private and public has become a challenge of itsself. It’s saddening realy. Once you run into a mobile network you own and control and have no way left to change its location type through the gui because Windows determines some options should just not show […]
Category: Windows
Breaking the windows update reboot loop
Every now and then, especialy with new installations Windows server 2012 and 2012 R2 get stuck in a reboot loop. After initial installation a massive batch of patches is retrieved and installed. On reboot, a failure message is displayed and windows tries to undo the updates. After a lengthy period of time the server reboots, […]
IIS Redirect to HTTPS and keep your query string
With browsers moving forward with marking all HTTP sites as insecure by default, a lot of sites are now being upgraded to https. If your site is hosted on IIS that is by itsself a simple procedure: Pick the website or virtual directory you want to redirect Click HTTP Redirect in the management console Check […]
GPO – Switch of the option to store password for rdp sessions
Storing the password for RDP sessions is a bane for any administrator that manages remote users, Here is how to disable the option to store the rdp password thgrough a group policy object. – User Configuration + Administrative Templates + Windows Components + Remote Desktop Services Select Remote desktop connection client Enable the policy named: […]
GPO – Check effective group policy settings
Report on the active group policy settings on the machine, in a nicely html formatted way gpresult.exe /h report.html
GPO – Allow or disallow UDP for Remote Desktop sessions
Recent versions of the rdp protocol (since v8) are capable of using TCP and/or UDP for connections. USP can be an improvement on low quality networks, but it can also greatly hamper other UDP based services on busy networks. I have also see it cause problems in connecting and disconnecting when using confused routers or […]
How to enable Windows installer logging
Windows installer has a logging service which can give a lot of detail about what is going on “under the hood” when an installation fails. To enable the logging function, create the following registry path and keys: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer Reg_SZ: Logging The value of the field defines the different logging mode’s. You can place multiple letters […]
Copying files while retaining permissions
Now here is one very basic system administration issue that pops up from time to time and still seems to create a lot of confusion “in the field”. When copying files from one location to another there are some cases where permissions are automatically retained, and some where you have to take special precaution. Here […]
Change network type for VPN Connections (Windows)
So you just created a brand new VPN connection to let’s say work, and Windows decided that it is a completely untrusted network connection, setting it to a public network. Here is how you can quickly and immediately change the network type using powershell. Start an elevated powershell prompt Use the following command to list […]
Configuring VPN Access with Server 2012
This document demonstrates how to configure PPTP remote VPN Access on server 2012 using the routing and remote access component. If you have a router or other hardware supplying firewall services and the server that will provide the VPN access is not directly attached to the internet (a good thing) – you will need to […]