PowerShell: Finding Stale User and Computer Accounts
May15

PowerShell: Finding Stale User and Computer Accounts

KB ID 0001438 Problem I do this a lot, (usually prior to big migrations), most organisations have no mechanism for removing old users and computers from Active Directory, some don’t even disable the accounts. Find Users Who Have Never Logged On Use the following PowerShell Command; Get-ADUser -Filter { LastLogonDate -notlike "*" -and Enabled -eq $true } -Properties LastLogonDate | Select-Object @{ Name="Username";...

Read More
Windows RDP: ‘An authentication error has occurred’
May10

Windows RDP: ‘An authentication error has occurred’

KB ID 0001433 Problem When attempting to RDP to a remote machine;   An authentication error has occurred. The function requested is not supported Remote computer: {name} This could be due to CredSSP encryption oracle remediation. Or you may just see;   An authentication error has occurred. The function requested is not supported Remote computer: {name} Solution This is happening after you have a applied a windows security update it...

Read More
Remote Desktop Services: Balancing Sessions Hosts and Connection Brokers
Apr13

Remote Desktop Services: Balancing Sessions Hosts and Connection Brokers

KB ID 0001424 Problem I got an email from a colleague who was setting up an RDS farm, (2012 R2). He was having some problems and asked me; “If the Connection Broker brokers the connections to the Session Hosts, how do I RDP to the Session Broker?” This threw me completely, I usually jump on the console in VMware or use a third party remote management tool, I don’t tend to to RDP onto servers. I had fallen into the...

Read More
Cisco WLC: EAP-TLS Secured Wireless with Certificate Services
Apr04

Cisco WLC: EAP-TLS Secured Wireless with Certificate Services

KB ID 0001420 Problem Ah certificates! If I had a pound for every time I’ve heard “I don’t like certificates”, I could retire! The following run through is broken down into the following parts; Setup the Cisco WLC (WLAN) Setup NAP (RADIUS). Setup Certificate Auto Enrolment. Setup Group Policy to Deliver the Wireless Settings. Note: If you are scared of certificates, sometimes it’s easier to setup password...

Read More
PowerShell: Cannot Be Loaded Because Running Scripts is Disabled
Mar24

PowerShell: Cannot Be Loaded Because Running Scripts is Disabled

KB ID 0001417 Problem If you’ve arrived here, you are trying to run a script, and you cant; PS C:\Users\{User-name}> .\{script-name}.ps1 .\{script-name} : File C:\Users\{User-name}\{script-name} cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1 + .\{script-name} + ~~~~~~~~~~~~~~~~~~ +...

Read More
FreeRDP Error: 0x2000D
Mar24

FreeRDP Error: 0x2000D

KB ID 0001416 Problem The day after I had deployed some RDP Web access servers, I got the call that all the Linux (Intel NUC Thin clients), could not connect to the RDP farm, all the windows machines were fine? Error [08:19:16:178] [21254:21255] [ERROR][com.freerdp.core.transport] – BIO_read returned a system error 14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error [08:19:16:178] [21254:21255]...

Read More