Archive for the ‘Windows’ Category

Remote Desktop Login Failed after recent windows update on the client

Wednesday, September 12th, 2018

Running into a problem with logging from Windows 7 to connect to a Windows 2008 SBS Server. This was due to the latest windows update KB4103712 in March 2018.

To fix this problem, you need to create the following registry on the windows 7 desktop

Registry path: HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters

Value: AllowEncryptionOracle (DWORD): 2

Cleaning up WinSxs folder on Windows 2012 R2 or Windows 8.1

Monday, October 24th, 2016

To clean up windows component store (C:\Windows\WinSxS).

  1. Open up PowerShell
  2. To check if there is any component registry is corrupted. “dism /Online /Cleanup-Image /CheckHealth”
  3. If this returns error, try to do this to fix “dism /Online /Cleanup-Image /RestoreHealth” and Reboot your computer
  4. To check if windows component store can be cleaned up “dism.exe /online /Cleanup-Image /AnalyzeComponentStore”
  5. To remove all superseded version in the component store “dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase”
  6. To further clean up space, you can also remove all the backup components needed for deinstallation of the service pack “dism.exe /online /Cleanup-Image /SPSuperseded”

 

 

My List of Useful Apps for Windows 7

Monday, July 30th, 2012

7-zip
Acrobat Reader
Microsoft Security Essential
Chrome
Dropbox
FileZilla
Firefox
Flash
ImgBurn
iTunes
Java JRE
MS Office
Microsoft .NET Framework
MSN Live Messenger
Notepad ++
Paint.net
Quicktime
SilverLight
TeamViewer
VLC Player

Renew Self-Signed SSL Certificated for SBS 2008

Monday, October 24th, 2011

By default, the self-signed certificate for Windows SBS 2008 is valid for 2 years. Upon expiration, OWA will prompt an error about the certificate expiratory. Outlook will not be able to connect to Exchange Server. To Renew the Self-signed certificate, here are the steps to fix it.

1. Open Windows SBS Console.
2. Click Network and then Connectivity Tab
3. View Certificate Properties to verify certificate expiration date
4. to fix the certificate issue. Under the Connectivity Tasks -> Click Fix my network

Wildcard DNS Entries for Windows 2000 DNS Server

Saturday, October 15th, 2011

To add a wildcard DNS entry to Windows 2000 DNS Server, you will need to create this under the CLI

for example, if you would like to add an entry like

*.dev.vicosys.com.hk

Try the following command

dnscmd.exe /RecordAdd vicosys.com.hk *.dev A 1.1.1.1

Enable ICMP Ping reply on Windows 2008 Server

Wednesday, June 22nd, 2011

The default setting on Windows 2008 Firewall is configured to block certain types of traffic. One of them being ICMP.

To enable ICMP

netsh firewall set icmpsetting 8

To disable ICMP

netsh firewall set icmpsetting 8 disabled

 

Finding out the process is occupying the Network Port on Windows and Linux

Tuesday, August 3rd, 2010

You ever have a problem trying to start an application and it failed to start because the network port was occupied by another application? To find out the application that using the port is painstaking. The following commands could help you.

In the following example, I am trying to find what is the process that is occupying the port 8080.

Windows

C:\Documents and Settings\terence>netstat -aon | findstr 8080
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 1748

C:\Documents and Settings\terence>tasklist | findstr 1748
TNSLSNR.EXE 1748 Console 0 6,264 K

Linux

[root@mail03a ~]# netstat -nap | grep 8080 | grep LISTEN
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 2685/openvpn

Change Remote Desktop Default RDP Port

Sunday, November 25th, 2007

To change the listening port on Microsoft Windows.

Run “regedit”

Change the port value under the following key.

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber