PowerShell: Find Computers Last Logon Date
Oct23

PowerShell: Find Computers Last Logon Date

KB ID 0001612 Problem I had to find the last time a particular server had logged on for a client the other week, so we knew for sure it was dead! Solution The two commands you may need are; Locate Servers Last Login Time Get-ADComputer -Filter {OperatingSystem -Like ‘*SERVER’} -Properties lastlogondate,operatingsystem | Select name,laslogondate,operatingsystem Locate Clients Last Login Time Get-ADComputer -Filter...

Read More
Windows Adding Firewall Rules With PowerShell
Apr24

Windows Adding Firewall Rules With PowerShell

KB ID 0001538 Problem There was a question on Experts Exchange this morning, the asker wanted to be able to add a ‘Trusted’ network range to their Windows Server Firewall settings as a ‘allow all ports’ rule. Solution You can of course add this manually in the GUI, normally I’d simply Add a Firewall Rule with a Group Policy. but the problem with that is, that’s fine if you want to open a particular...

Read More
Recovering Windows Activation Keys
Jan01

Recovering Windows Activation Keys

KB ID 0001115 “Have you got one of those programs that gets the Windows key?”, My colleague asked me the other week. I said “Just download a key finder application?”, “Yeah I’ve tried that and is showing the code as all B’s”. You may also just see ‘Product key was not found’ on some software. I sent him some more links and got back to what I was doing. He was having no joy...

Read More
How to Tell if Windows is 32 or 64 bit
Nov17

How to Tell if Windows is 32 or 64 bit

KB ID 0000153 Problem If you want to know what version (x64 or x86) of Windows you are running, then this is the simplest way to find out. Solution Under accessories run system information; Under System Type: If it says x86 then it’s 32 bit. However if it says x64 then it’s 64 bit. Windows XP and Server 2003 1. Click Start > Run > sysdm.cpl {enter} > General Tab. Windows XP x32 (x86) and Windows XP x64 Windows...

Read More
Windows – Lost / Forgotten Password?
Nov17

Windows – Lost / Forgotten Password?

KB ID 0000755 Problem There are many reasons why you might want to do this, someone has managed to change a user password and that person is not available, you might simply have forgotten it. Or you might have been given a machine, or bought one from ebay that has come without a password. Also there have been a few times when a user has looked me in the eye and said “I’m typing my password in, but it’s not...

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