How to automate Cygwin library installation

Write a cmd file as follows and put it in the same folder as cygwin installation file: setup-x86_64.exe:

setup-x86_64.exe ^
–no-shortcuts ^
–quiet-mode ^
–disable-buggy-antivirus ^
–packages ^


How to completely remove docker on windows 10



Save the following script in a file with extension of ps1.  Log in powershell console as admin and run the script file.

$ErrorActionPreference = “SilentlyContinue”

kill -force -processname ‘Docker for Windows’, com.docker.db, vpnkit, com.docker.proxy, com.docker.9pdb, moby-diag-dl, dockerd

try {
./MobyLinux.ps1 -Destroy
} Catch {}

$service = Get-WmiObject -Class Win32_Service -Filter “Name=’com.docker.service'”
if ($service) { $service.StopService() }
if ($service) { $service.Delete() }
Start-Sleep -s 5
Remove-Item -Recurse -Force “~/AppData/Local/Docker”
Remove-Item -Recurse -Force “~/AppData/Roaming/Docker”
if (Test-Path “C:\ProgramData\Docker”) { takeown.exe /F “C:\ProgramData\Docker” /R /A /D Y }
if (Test-Path “C:\ProgramData\Docker”) { icacls “C:\ProgramData\Docker\” /T /C /grant Administrators:F }
Remove-Item -Recurse -Force “C:\ProgramData\Docker”
Remove-Item -Recurse -Force “C:\Program Files\Docker”
Remove-Item -Recurse -Force “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Docker”
Remove-Item -Force “C:\Users\Public\Desktop\Docker for Windows.lnk”
Get-ChildItem HKLM:\software\microsoft\windows\currentversion\uninstall | % {Get-ItemProperty $_.PSPath} | ? { $_.DisplayName -eq “Docker” } | Remove-Item -Recurse -Force
Get-ChildItem HKLM:\software\classes\installer\products | % {Get-ItemProperty $_.pspath} | ? { $_.ProductName -eq “Docker” } | Remove-Item -Recurse -Force
Get-Item ‘HKLM:\software\Docker Inc.’ | Remove-Item -Recurse -Force
Get-ItemProperty HKCU:\software\microsoft\windows\currentversion\Run -name “Docker for Windows” | Remove-Item -Recurse -Force
#Get-ItemProperty HKCU:\software\microsoft\windows\currentversion\UFH\SHC | ForEach-Object {Get-ItemProperty $_.PSPath} | Where-Object { $_.ToString().Contains(“Docker for Windows.exe”) } | Remove-Item -Recurse -Force $_.PSPath
#Get-ItemProperty HKCU:\software\microsoft\windows\currentversion\UFH\SHC | Where-Object { $(Get-ItemPropertyValue $_) -Contains “Docker” }

Solve juniter addon not working in IE11 issue


In my company, we have Juniper Network Connect 7.1.0 with Host Checker. Although it is not supported officially, I found a workaround.

  • Put the URL in Trusted Sites or Local Intranet zone in Internet Settings.
  • Enable Compatibility View on URL.
    • Key: HKLM\SOFTWARE\Policies\Internet Explorer\BrowserEmulation\PolicyList\
    • Value: “”
    • Type: REG_SZ
    • Data: “”
  • Make sure User Access Control (UAC) is enabled.

Indeed we identified that some of our users have disabled UAC on Windows 7 because they think that UAC is only an annoying useless feature that does nothing but bother them with popups. For a reason I don’t fully understand, NC seems to crash if the user is administrator of their computer and UAC is disabled. This behavior is not observed with previous versions of IE.

I recommended to enforce UAC with Group Policies and include it in the mandatory security compliance rules for all workstations.

Hope it helps! Regards!