Thanks for the fast answer. That´s my install script SET SITE=https://linorg.usp.br/cygwin SET ROOTDIR=C:/cygwin SET INSTALL_FOLDER=%cd% SET LOCALDIR=%INSTALL_FOLDER% if exist C:\cygwin ( continue ) else ( if exist C:\cygwin64 ( SET CYGWIN_ROOTDIR=C:\cygwin64 ) else ( echo "CYGWIN nao esta instalado no local padrao" ) ) SET PACKAGES=_autorebase,adwaita-icon-theme,alternatives,at-spi2-core,base-cygwin,dos2unix ::: These are necessary for apt-cyg install, do not change. Any duplicates will be ignored. SET PACKAGES=%PACKAGES%,wget,tar,gawk,bzip2,subversion :::Instala o Cygwin padrao start /WAIT %INSTALL_FOLDER%/programas_para_instalar/setup-x86_64.exe --verbose --quiet-mode --no-desktop --download --no-version-check --force-current --no-verify --local-install -s %SITE% -l "%LOCALDIR%" -R "%ROOTDIR%" ::: Instala os pacotes adicionais no Cygwin start /WAIT %INSTALL_FOLDER%/programas_para_instalar/setup-x86_64.exe --verbose --quiet-mode --no-desktop --download --no-version-check --force-current --no-verify --local-install -s %SITE% -l "%LOCALDIR%" -R "%ROOTDIR%" -P %PACKAGES% exit Em qua., 10 de mai. de 2023 às 08:41, escreveu: > Hi, > > > I create a script to install cygwin by command line. It works fine. > > Can you post your script here? > > > However, when i try to uninstall the Cygwin, é see that cygwin was not > > present on Windows control panel softwares and programs. > > I used the normal setup-x86_64.exe procedure, and it's not in my > appwiz.cpl panel either. > > > 1)How i uninstall cygwin on this case? > > I usually simply delete my C:\bin\cygwin64\ folder and the registry > keys. Off the top of my head: > ...\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\Cygwin, > HKEY_CURRENT_USER\Software\Cygwin and one or two others. > > --Martin >