日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 运维知识 > windows >内容正文

windows

清除windows 系统中 任意已安装任意版本的 .NET Framework

發(fā)布時(shí)間:2023/12/20 windows 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 清除windows 系统中 任意已安装任意版本的 .NET Framework 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

最近在公司電腦上遇到難題,政府部分的軟件和.net framework沖突,不好安裝。在網(wǎng)上找了好久,發(fā)現(xiàn)這個(gè)軟件,分享一下:


.NET Framework Cleanup Tool


本人實(shí)驗(yàn),本人電腦windows 8.1中 裝了3個(gè)版本,選中任一個(gè)要?jiǎng)h除的版本號(hào), 點(diǎn) CLeanup 即可以。



軟件下載地址:?http://www.400gb.com/file/98576027? ,因本人沒有空間可以存,所以用免費(fèi)空間,有廣告彈出,見諒,或者在百度里搜索下載也可以的。




以下為摘錄自MSDN官方的介紹:


.NET Framework Cleanup Tool User's Guide

Introduction

This .NET Framework cleanup tool is designed to automatically perform a set of steps to remove selected versions of the .NET Framework from a computer.? It will remove files, directories, registry keys and values and Windows Installer product registration information for the .NET Framework.? The tool is intended primarily to return your system to a known (relatively clean) state in case you are encountering .NET Framework installation, uninstallation, repair or patching errors so that you can try to install again.

There are a couple of?very important caveats?that you should review before using this tool to remove any version of the .NET Framework from your system:

  • This tool is designed as a?last resort?for cases where install, uninstall, repair or patch installation did not succeed for unusual reasons.? It is not a substitute for the standard uninstall procedure.? You should try the?.NET Framework Repair Tool?and then try the steps listed in?this blog post?before using this cleanup tool.

  • This cleanup tool will delete shared files and registry keys used by other versions of the .NET Framework.? If you run the cleanup tool, you will need to perform a repair/re-install for all other versions of the .NET Framework that are on your computer or they will not work correctly afterwards.

  • Additional support can be obtained by visiting the .NET Framework setup forum at?http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/threads.


Supported products

The .NET Framework cleanup tool supports removing the following products:

  • .NET Framework - All Versions

  • .NET Framework - All Versions (Tablet PC and Media Center)

  • .NET Framework - All Versions (Windows Server 2003)

  • .NET Framework - All Versions (Windows Vista and Windows Server 2008)

  • .NET Framework - All Versions (Windows 7)

  • .NET Framework 1.0

  • .NET Framework 1.1

  • .NET Framework 2.0

  • .NET Framework 3.0

  • .NET Framework 3.5

  • .NET Framework 4

  • .NET Framework 4.5

  • .NET Framework 4.5.1

  • .NET Framework 4.5.2

Not all of the above products will appear in the UI for the .NET Framework cleanup tool on every operating system.? The cleanup tool contains logic so that if it is run on an OS version that includes the .NET Framework as an OS component, it will not offer the option to clean it up.? This means that running the cleanup tool on Windows XP Media Center Edition or Tablet PC Edition will not offer the option to clean up the .NET Framework 1.0, running it on Windows Server 2003 will not offer the option to clean up the .NET Framework 1.1 and running it on Windows Vista or Windows Server 2008 will not offer the option to clean up the .NET Framework 2.0 or the .NET Framework 3.0.

When choosing to remove any of the above versions of the .NET Framework, the cleanup tool will also remove any associated hotfixes and service packs.? You do not need to run any separate steps to remove the service pack(s) for a version of the .NET Framework.

Silent?installation mode

The .NET Framework cleanup tool supports running in silent mode.? In this mode, the tool will run without showing any UI, and the user must pass in a version of the .NET Framework to remove as a command line parameter.? To run the cleanup tool in?silent mode, you need to download the cleanup tool, extract the file cleanup_tool.exe from the zip file, and then run it using syntax like the following:

cleanup_tool.exe /q:a /c:"cleanup.exe /p <name of product to remove>"

The value that you pass with the /p switch to replace <name of product to remove> in this example must exactly match one of the products listed in the?Supported products?section above.? For example, if you would like to run the cleanup tool in silent mode and remove the .NET Framework 1.1, you would use a command line like the following:

cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 1.1"

One important note – as indicated above, the cleanup tool will not allow you to remove a version of the .NET Framework that is installed as part of the OS it is running on.? That means that even if you try this example command line on Windows Server 2003, the tool will exit with a failure return code and not allow you to remove the .NET Framework 1.1 because it is a part of that OS.

Similarly, you cannot use the cleanup tool to remove the .NET Framework 1.0 from Windows XP Media Center Edition or Windows XP Tablet PC Edition or remove the .NET Framework 2.0 or 3.0 from Windows Vista or Windows Server 2008.? In addition, if you run the cleanup tool on an OS that has any edition of the .NET Framework installed as a part of the OS, it will prevent you from using the .NET Framework - All Versions option because there is at least one version that it cannot remove.

If you are planning to run the cleanup tool in silent mode, you need to make sure to detect what OS it is running on and not pass in a version of the .NET Framework with the /p switch that is a part of the OS or make sure that you know how to handle the failure exit code that you will get back from the cleanup tool in that type of scenario.

Unattended installation mode

The .NET Framework cleanup tool supports running in silent mode.? In this mode, the tool will run and only show a progress dialog during removal, but will require no user interaction.? Unattended mode requires the user to pass in a version of the .NET Framework to remove as a command line parameter.? To run the cleanup tool in?unattended mode, you need to download the cleanup tool, extract the file cleanup_tool.exe from the zip file, and then run it using syntax like the following:

cleanup_tool.exe /q:a /c:"cleanup.exe /p <name of product to remove> /u"

For example, if you would like to run the cleanup tool in unattended mode and remove the .NET Framework 1.1, you would use a command line like the following:

cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 1.1 /u"?

Exit codes

The cleanup tool can returns the following exit codes:

  • 0 - cleanup completed successfully for the specified product

  • 3010 - cleanup completed successfully for the specified product and a reboot is required to complete the cleanup process

  • 1 - cleanup tool requires administrative privileges on the machine

  • 2 - the required file cleanup.ini was not found in the same path as cleanup.exe

  • 3 - a product name was passed in that cannot be removed because it is a part of the OS on the system that the cleanup tool is running on

  • 4 - a product name was passed in that does not exist in cleanup.ini

  • 100 - cleanup was able to start but failed during the cleanup process

  • 1602 - cleanup was cancelled

Log files

The cleanup tool creates the following log files:

  • %temp%\cleanup_main.log?- a log of all activity during each run of the cleanup tool; this is a superset of the logs listed below as well as some additional information

  • %temp%\cleanup_actions.log?- a log of actions taken during removal of each product; it will list files that it finds and removes, product codes it tries to remove, registry entries it tries to remove, etc.

  • %temp%\cleanup_errors.log?- a log of errors and warnings encountered during each run of the cleanup tool



總結(jié)

以上是生活随笔為你收集整理的清除windows 系统中 任意已安装任意版本的 .NET Framework的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。