















SET DIRECTORY_NAME="C:\cygwin64"
C:\Windows\System32\takeown /f %DIRECTORY_NAME% /r /d y
C:\Windows\System32\icacls %DIRECTORY_NAME% /grant administrators:F /t
PAUSE

E:\Develop\2020\0807 - 在 Windows 10 64 位中卸载 Cygwin>SET DIRECTORY_NAME="C:\cygwin64"
E:\Develop\2020\0807 - 在 Windows 10 64 位中卸载 Cygwin>C:\windows\system32\TAKEOWN /f "C:\cygwin64" /r /d y
成功: 此文件(或文件夹): "C:\cygwin64" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\Cygwin-Terminal.ico" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\Cygwin.bat" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\Cygwin.ico" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\dev" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\home" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\lib" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\tmp" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\usr" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\var" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\dev\fd" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\dev\mqueue" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\dev\shm" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\dev\stderr" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\dev\stdin" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\dev\stdout" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\bash_completion.d" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\fstab" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\fstab.d" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\hosts" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\mtab" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\networks" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\nsswitch.conf" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\pki" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\postinstall" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\preremove" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\profile.d" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\protocols" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\rebase.db.x86_64" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\services" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\setup" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\skel" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\pki\ca-trust" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\pki\ca-trust\source" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\pki\ca-trust\source\ca-bundle.legacy.crt" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\postinstall\000-cygwin-post-install.sh.done" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\postinstall\base-files-mketc.sh.done" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\postinstall\base-files-profile.sh.done" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\postinstall\bash.sh.done" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\postinstall\ca-certificates.sh.done" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\postinstall\coreutils.sh.done" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有 。
成功: 此文件(或文件夹): "C:\cygwin64\etc\postinstall\man-db.sh.done" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\postinstall\mintty.sh.done" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\preremove\base-files.sh.done" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\preremove\ca-certificates.sh.done" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\preremove\coreutils.sh.done" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\preremove\man-db.sh.done" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\preremove\_autorebase.sh.done" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有 。
成功: 此文件(或文件夹): "C:\cygwin64\etc\setup\installed.db" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\setup\setup.rc" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\etc\setup\timestamp" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\home\Administrator" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\home\Administrator\.bashrc" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\home\Administrator\.bash_history" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\home\Administrator\.bash_profile" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\home\Administrator\.inputrc" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\home\Administrator\.minttyrc" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\home\Administrator\.profile" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\lib\groff" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\lib\groff\groff_opts_with_arg.txt" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有 。
成功: 此文件(或文件夹): "C:\cygwin64\usr\local" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\usr\share" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\usr\src" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\usr\tmp" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\usr\local\bin" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\usr\local\etc" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\usr\local\lib" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\usr\share\doc" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\usr\share\info" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\usr\share\doc\man-db" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\usr\share\doc\xz" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\usr\share\doc\man-db\man-db-manual.txt" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\usr\share\doc\xz\faq.txt" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\usr\share\info\.stamp" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\usr\share\info\dir" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\var\log" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\var\run" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\var\tmp" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\var\log\setup.log" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\var\log\setup.log.full" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
成功: 此文件(或文件夹): "C:\cygwin64\var\run\utmp" 现在由用户 "LAPTOP-9S1INV5O\Administrator" 所有。
E:\Develop\2020\0807 - 在 Windows 10 64 位中卸载 Cygwin>C:\windows\system32\ICACLS "C:\cygwin64" /grant administrators:F /t
已处理的文件: C:\cygwin64
已处理的文件: C:\cygwin64\Cygwin-Terminal.ico
已处理的文件: C:\cygwin64\Cygwin.bat
已处理的文件: C:\cygwin64\Cygwin.ico
已处理的文件: C:\cygwin64\dev
已处理的文件: C:\cygwin64\etc
已处理的文件: C:\cygwin64\home
已处理的文件: C:\cygwin64\lib
已处理的文件: C:\cygwin64\tmp
已处理的文件: C:\cygwin64\usr
已处理的文件: C:\cygwin64\var
已处理的文件: C:\cygwin64\dev\fd
已处理的文件: C:\cygwin64\dev\mqueue
已处理的文件: C:\cygwin64\dev\shm
已处理的文件: C:\cygwin64\dev\stderr
已处理的文件: C:\cygwin64\dev\stdin
已处理的文件: C:\cygwin64\dev\stdout
已处理的文件: C:\cygwin64\etc\bash_completion.d
已处理的文件: C:\cygwin64\etc\fstab
已处理的文件: C:\cygwin64\etc\fstab.d
已处理的文件: C:\cygwin64\etc\hosts
已处理的文件: C:\cygwin64\etc\mtab
已处理的文件: C:\cygwin64\etc\networks
已处理的文件: C:\cygwin64\etc\nsswitch.conf
已处理的文件: C:\cygwin64\etc\pki
已处理的文件: C:\cygwin64\etc\postinstall
已处理的文件: C:\cygwin64\etc\preremove
已处理的文件: C:\cygwin64\etc\profile.d
已处理的文件: C:\cygwin64\etc\protocols
已处理的文件: C:\cygwin64\etc\rebase.db.x86_64
已处理的文件: C:\cygwin64\etc\services
已处理的文件: C:\cygwin64\etc\setup
已处理的文件: C:\cygwin64\etc\skel
已处理的文件: C:\cygwin64\etc\pki\ca-trust
已处理的文件: C:\cygwin64\etc\pki\ca-trust\source
已处理的文件: C:\cygwin64\etc\pki\ca-trust\source\ca-bundle.legacy.crt
已处理的文件: C:\cygwin64\etc\postinstall\000-cygwin-post-install.sh.done
已处理的文件: C:\cygwin64\etc\postinstall\base-files-mketc.sh.done
已处理的文件: C:\cygwin64\etc\postinstall\base-files-profile.sh.done
已处理的文件: C:\cygwin64\etc\postinstall\bash.sh.done
已处理的文件: C:\cygwin64\etc\postinstall\ca-certificates.sh.done
已处理的文件: C:\cygwin64\etc\postinstall\coreutils.sh.done
已处理的文件: C:\cygwin64\etc\postinstall\man-db.sh.done
已处理的文件: C:\cygwin64\etc\postinstall\mintty.sh.done
已处理的文件: C:\cygwin64\etc\preremove\base-files.sh.done
已处理的文件: C:\cygwin64\etc\preremove\ca-certificates.sh.done
已处理的文件: C:\cygwin64\etc\preremove\coreutils.sh.done
已处理的文件: C:\cygwin64\etc\preremove\man-db.sh.done
已处理的文件: C:\cygwin64\etc\preremove\_autorebase.sh.done
已处理的文件: C:\cygwin64\etc\setup\installed.db
已处理的文件: C:\cygwin64\etc\setup\setup.rc
已处理的文件: C:\cygwin64\etc\setup\timestamp
已处理的文件: C:\cygwin64\home\Administrator
已处理的文件: C:\cygwin64\home\Administrator\.bashrc
已处理的文件: C:\cygwin64\home\Administrator\.bash_history
已处理的文件: C:\cygwin64\home\Administrator\.bash_profile
已处理的文件: C:\cygwin64\home\Administrator\.inputrc
已处理的文件: C:\cygwin64\home\Administrator\.minttyrc
已处理的文件: C:\cygwin64\home\Administrator\.profile
已处理的文件: C:\cygwin64\lib\groff
已处理的文件: C:\cygwin64\lib\groff\groff_opts_with_arg.txt
已处理的文件: C:\cygwin64\usr\local
已处理的文件: C:\cygwin64\usr\share
已处理的文件: C:\cygwin64\usr\src
已处理的文件: C:\cygwin64\usr\tmp
已处理的文件: C:\cygwin64\usr\local\bin
已处理的文件: C:\cygwin64\usr\local\etc
已处理的文件: C:\cygwin64\usr\local\lib
已处理的文件: C:\cygwin64\usr\share\doc
已处理的文件: C:\cygwin64\usr\share\info
已处理的文件: C:\cygwin64\usr\share\doc\man-db
已处理的文件: C:\cygwin64\usr\share\doc\xz
已处理的文件: C:\cygwin64\usr\share\doc\man-db\man-db-manual.txt
已处理的文件: C:\cygwin64\usr\share\doc\xz\faq.txt
已处理的文件: C:\cygwin64\usr\share\info\.stamp
已处理的文件: C:\cygwin64\usr\share\info\dir
已处理的文件: C:\cygwin64\var\log
已处理的文件: C:\cygwin64\var\run
已处理的文件: C:\cygwin64\var\tmp
已处理的文件: C:\cygwin64\var\log\setup.log
已处理的文件: C:\cygwin64\var\log\setup.log.full
已处理的文件: C:\cygwin64\var\run\utmp
已成功处理 82 个文件; 处理 0 个文件时失败
E:\Develop\2020\0807 - 在 Windows 10 64 位中卸载 Cygwin>PAUSE
请按任意键继续. . .







需要长期技术维护或远程问题排查?
我是拥有 15+ 年经验的 PHP / Go 后端工程师,长期关注已有系统维护、Bug 修复、性能优化、服务器排查、WordPress 网站维护和小功能迭代。
如果你的项目遇到以下情况,可以先从一次小问题排查开始合作:
- ✅ PHP / Laravel / Yii2 老项目无人维护
- ✅ Go / Gin 后端接口需要排查或优化
- ✅ WordPress 网站访问慢、报错或插件冲突
- ✅ Nginx / MySQL / Redis / Linux 服务器异常
- ✅ CDN / Cloudflare / DNS / HTTPS 配置问题
- ✅ 需要长期远程技术支持或兼职维护
更多介绍请查看:关于我 & 合作
微信:13980074657
邮箱:shuijingwanwq@gmail.com
Telegram:@shuijingwan
GitHub:https://github.com/shuijingwan

发表回复