Friday, February 12, 2021

How to reset Windows Update

net stop wuauserv 

net stop cryptSvc 

net stop bits 

net stop msiserver 


del /f /q "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat" 

del /f /s /q %SystemRoot%\SoftwareDistribution\*.*  

del /f /s /q %SystemRoot%\system32\catroot2\*.* 

del /f /q %SystemRoot%\WindowsUpdate.log


net start wuauserv 

net start cryptSvc 

net start bits 

net start msiserver 

Wednesday, January 6, 2021

You cannot register RHEL, you get rhsm.connection.RestlibException: HTTP error (401 - Unauthorized): Service not available, please try again later

 You cannot register RHEL, you get rhsm.connection.RestlibException: HTTP error (401 - Unauthorized): Service not available, please try again later

subscription-manager register --username your_username --password 'your$password'

subscription-manager attach --auto


To re-register-

Un-register the system :

sudo subscription-manager remove --all
sudo subscription-manager unregister
sudo subscription-manager clean

Re-register the system :

sudo subscription-manager register
sudo subscription-manager refresh

Search for the Pool ID :

sudo subscription-manager list --available

Attach to subscription :

sudo subscription-manager attach --pool=<Pool-ID>

Clean YUM and cache :

sudo yum clean all
sudo rm -r /var/cache/yum

Update the resources :

sudo yum upgrade

Monday, January 4, 2021

RDS- Kill Session from Command Line

  - Open powershell as administrator.

 - run qwinsta.exe

 - Run rwinstal.exe <session#>

Tuesday, November 24, 2020

Exchange TLS Issues

 Test TLS on Exchange-

 - Download SMTP Console from Socket Labs.
https://www.socketlabs.com/smtp-server-connection-diagnostics-tool/

 - Connect to exchange, do "EHLO domain.com", then click startls from the menu.

Monday, August 24, 2020

Cisco Anyconnect keeps disconnecting and reconnecting to ASA.

 Cisco Anyconnect keeps disconnecting and reconnecting to ASA.


Cisco defaults to DTLS which uses UDP port 443.  If it fails, it connects over TLS over TCP 443.  To resolve this, make sure UDP port 443 is open outbound to the firewall.