>NULL

Monday, 17 December 2018

Show the old style credential manager in Windows 10 (including credential backup and restore)

Show the old style credential manager in Windows 10 (including credential backup and restore)

rundll32.exe keymgr.dll,KRShowKeyMgr


Wednesday, 2 May 2018

Windows 8.1 VPN error 720

There is a tool to correct Error 720 on Windows 8 & 8.1 VPN (Built-in client). I used this ages ago but lost track of it until a random 8.1 machine with this old issue today.

https://www.vpnhosting.cz/index.php/clanky/wan-miniport-repair-tool-solve-vpn-and-dial-up-error-code-720-and-similar-ppperrors.html


Tuesday, 13 February 2018

Server 2016 Downloaded Maps Service stopped in Server Manager

Stupid service, disable it.


Get-Service -Name MapsBroker | Set-Service -StartupType Disabled -Confirm:$false

Wednesday, 1 November 2017

The remote computer disconnected the session because of an error in the licensing protocol. Please try connecting to the remote computer again or contact your server administrator.

This appears to be caused by a corrupted Registry key on the user's PC, I was able to recreate the issue on a Windows 7 machine by deleting the below key. It should be fixable by importing that key from another PC. A Registry backup should obviously be taken before making any changes.

Location:    HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing\HardwareID
Key:    ClientHWID
Type:    REG_BINARY


Tuesday, 5 September 2017

Setting default Start [home] pages in IE

So you want to push your users towards that shiny new web portal. Using a GPO seems the obvious route.

Here's how.

Use a GPO to update a Registry key in the following location.
HKCU\Software\Microsoft\Internet Explorer\Main


Here are the key details for the first tab/single tab.

Action : Update
Hive : HKEY_CURRENT_USER
Key Path: Software\Microsoft\Internet Explorer\Main
Value name (default unticked) : Start Page
Value type : REG_SZ
Value data : http://www.google.co.uk

If you want to add a second tab...

Action : Update
Hive : HKEY_CURRENT_USER
Key Path: Software\Microsoft\Internet Explorer\Main
Value name (default unticked) : Secondary Start Pages
Value type : REG_MULTI_SZ
Value data : http://www.theregister.co.uk

You can set the policy to apply once and not reapply if needed as usual with a Group Policy Object.



Wednesday, 30 August 2017

RemoteApp on Windows 7 client prompts for credentials second time and says Login Failed

Sometimes people have older PC's that you have to support. I know right, FFS...

A perfectly functional RDS RemoteApp deployment (in Win 8 - 10) will give you a Login Failed password prompt when launching an app from the web portal.

Your primary suspect should be HTTP Redirection in IIS. Turn it off! 

To bump people from the default HTTP site to RDWeb use the following html file customised with your domain.

<html>
  <head>
    <title>RDWeb redirect</title>
    <META http-equiv="refresh" content="0;URL=https://remote.EXAMPLE.co.uk/RDWeb/">
  </head>
  <body bgcolor="#ffffff">
    <center>Forwarding you to https://remote.EXAMPLE.co.uk/RDWeb/ <a href="https://remote.EXAMPLE.co.uk/RDWeb/"> https://remote.EXAMPLE.co.uk/RDWeb/</a>
    </center>
  </body>
</html>



Thursday, 24 August 2017

DNS name resolves wrongly on Windows

I had an issue where a DNS record was updated but a Windows PC would not see the change, even adding an entry in the hosts file was ignored.

Running the following in an elevated command prompt fixed the issue.

netsh int ip reset resetlog.txt


Tuesday, 25 July 2017

Change published FQDN for Server 2012 or 2012 R2 RDS Deployment

Change published FQDN for Server 2012 or 2012 R2 RDS Deployment.
https://gallery.technet.microsoft.com/Change-published-FQDN-for-2a029b80

Add a full remote desktop to a RemoteApp Session Collection

Go to...
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\CentralPublishedResources\PublishedFarms\<collection>\RemoteDesktops\<collection>
ShowinPortal2
To show the Desktop Session Icon, Change the value (ShowInPortal) to 1 from 0.
You can also rename the Desktop Session Icon name to something more to your liking. To do this, change the value (Name).

Wednesday, 19 July 2017

Labtech agent keeps reinstalling?

How to remove Labtech agent.

Right-click PC or Company.
Scripts/Maintenance/Agent/Offboarding

Thursday, 4 May 2017

Giving all users Reviewer access to a mailbox calendar (works on resource calendars too)

Connect to Office365 Exchange online or open your local Exchange PowerShell.

Set-MailboxFolderPermission "MailboxName:\calendar" –User default –AccessRights reviewer