作者: admin

  • Olama 软件安装与常用命令

    官网 https://ollama.com

    常用命令

    【Power shell 指令】

    检查Ollama 是否安装成功:ollama –version 或 ollama -v

    从 Ollama 官方服务器拉取完整模型:ollama pull gemma3:4b
    验证模型是否安装成功:ollama list

  • 彻底卸载 Autodesk 软件

    Solution steps:    解决方案步骤:

    Step 1 of 4:
    步骤 1(共 4 步): 

    Uninstall Autodesk software: 
    卸载 Autodesk 软件:

    1. Search “Uninstall Tool” on the Windows Start button.
      在 Windows 开始菜单中搜索“卸载工具”。
    2. Open the uninstall tool and select all the Autodesk software and remove them.
      打开卸载工具,选择所有 Autodesk 软件并将其删除。
    Note:  The Uninstall Tool is only available for Autodesk software that is not using the new Installation Experience. If the uninstall tool is not installed on your system, skip to Step 3. If the uninstall tool is installed, proceed with step 3 after removing all products with the uninstall tool to verify there are no Autodesk products which use the new installation experience showing in the control panel. 
    注意: 卸载工具仅适用于未使用全新安装体验的 Autodesk 软件。如果您的系统上未安装卸载工具,请跳至步骤 3。如果已安装卸载工具,请在使用该工具移除所有产品后,继续执行步骤 3,以确认控制面板中未显示任何使用全新安装体验的 Autodesk 产品。
    1. Click the Windows logo at the bottom left of your screen and type appwiz.cpl then press ENTER to open the control panel. 
      点击屏幕左下角的 Windows 徽标,输入 appwiz.cpl ,然后按 ENTER 键打开控制面板。
    2. In the control panel uninstall all Autodesk software except the Autodesk Genuine Service.
      在控制面板中卸载除 Autodesk Genuine Service 之外的所有 Autodesk 软件。
    3. Navigate to C:\Program Files\Autodesk\AdODIS\V1.
      导航至 C:\Program Files\Autodesk\AdODIS\V1。
    4. In folder V1 right-click “RemoveODIS.exe” and select “Run as administrator.
      在 V1 文件夹中,右键单击“RemoveODIS.exe”,然后选择“以管理员身份运行”。
    5. Navigate to C:\Program Files (x86)\Common Files\Autodesk Shared\AdskLicensing.
      导航至 C:\Program Files (x86)\Common Files\Autodesk Shared\AdskLicensing。
    6. In the AdskLicening folder right-click “Uninstall” and select “Run as administrator” to uninstall Autodesk Licensing Desktop Service. 
      在 AdskLicenening 文件夹中,右键单击“卸载”,然后选择“以管理员身份运行”来卸载 Autodesk Licensing Desktop Service。
    7. Download Microsoft Program Install and Uninstall Troubleshooter.
      下载微软程序安装和卸载疑难解答工具。
    8. Open the tool click Next and then Click uninstall.
      打开该工具,点击下一步,然后点击卸载。
    9. Check and remove any residual Autodesk software “except for the Autodesk Genuine Service”. If there is more than one entry found the tool will need to be restarted.
      检查并移除所有残留的 Autodesk 软件(Autodesk 正版服务除外)。如果发现多个残留项,则需要重新启动该工具。
    Note: The Autodesk Genuine service needs to be uninstalled after all Autodesk software, files and folders, and registry keys are deleted. 
    注意: 删除所有 Autodesk 软件、文件、文件夹和注册表项后,需要卸载 Autodesk Genuine 服务。

    Step 2 of 4:   步骤 2(共 4 步):

    Remove Autodesk files and folders: 
    删除 Autodesk 文件和文件夹:

    1. Click the Windows logo at the bottom left of your screen and type %temp% then pressENTER to open the Temp folder.
      点击屏幕左下角的 Windows 徽标,输入 %temp%, 然后按 Enter 键。  按 Enter 键打开 Temp 文件夹。
    2. Inside the Temp folder select all the files and delete them, skip any file that can not be deleted.
      在 Temp 文件夹中,选择所有文件并删除它们,跳过任何无法删除的文件。
    Note: Delete the files inside the Temp folder, do not delete the Temp folder.
    注意: 删除 Temp 文件夹内的文件,不要删除 Temp 文件夹本身。
    1. Navigate to C:\ProgramData\FLEXnet.
      导航至 C:\ProgramData\FLEXnet。
    2. In the FLEXnet folder delete the three files starting with adsk.
      在 FLEXnet 文件夹中,删除以 adsk 开头的三个文件。
    Note: One of the three files is a hidden file, see How to turn on hidden files and folders on Windows.
    注意: 这三个文件中有一个是隐藏文件,请参阅如何在 Windows 上显示隐藏的文件和文件夹。
    1. Delete the following folders: 
      删除以下文件夹:
    Note: If you have customized families or templates in any of the below folders, back them up by rename them or moving them to another folder instead of deleting.
    注意: 如果您在以下任何文件夹中有自定义的族或模板,请通过重命名或将其移动到另一个文件夹来备份它们,而不是删除它们。
    • C:\Program Files\Autodesk
    • C:\Program Files\Common Files\Autodesk Shared
    • C:\Program Files (x86)\Autodesk
    • C:\Program Files (x86)\Common Files\Autodesk Shared
    • C:\ProgramData\Autodesk (This folder might be hidden)
      C:\ProgramData\Autodesk(此文件夹可能处于隐藏状态)
    • %localappdata%\Autodesk (This folder might be hidden)
      %localappdata%\Autodesk(此文件夹可能已隐藏)
    • %appdata%\Autodesk (This folder might be hidden)
      %appdata%\Autodesk(此文件夹可能已隐藏)

    Step 3 of 4:   步骤 3(共 4 步):

    Remove Autodesk Registry keys: 
    删除 Autodesk 注册表项:

    1. Open Windows Registry Editor (REGEDIT) and remove the following:
      打开 Windows 注册表编辑器 (REGEDIT) 并删除以下内容:
      • Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk
        计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk
      • Computer\HKEY_CURRENT_USER\SOFTWARE\Autodesk
        计算机\HKEY_CURRENT_USER\SOFTWARE\Autodesk
    Warning:  警告:
    Use the Microsoft® Registry Editor only at your own risk. Only after backing up the registry and the system.dat and user.dat files as outlined for your operating system in the Microsoft Knowledge Base and in the related solution, Backup system registry. Additional information about the registry is also contained in the Help topics in the Microsoft Registry Editor.
    请自行承担使用 Microsoft® 注册表编辑器的风险。务必先按照 Microsoft 知识库和相关解决方案 “备份系统注册表” 中针对您的操作系统提供的说明,备份注册表以及 system.dat 和 user.dat 文件。有关注册表的更多信息,请参阅 Microsoft 注册表编辑器的帮助主题。

    Step 4 of 4:   步骤 4(共 4 步):

    Uninstall the Autodesk Genuine Service:
    卸载 Autodesk Genuine Service:

    1. Click the Windows logo in the bottom left of your screen and type appwiz.cpl then press ENTER to open the Control Panel.
      点击屏幕左下角的 Windows 徽标,输入 appwiz.cpl ,然后按 ENTER 键打开控制面板。
    2. Uninstall Autodesk Genuine Service. 
      卸载 Autodesk Genuine Service。
  • Windows 更新错误代码 0xC1900101

    错误代码 0xC1900101 是 Windows 更新中最常见的失败类型之一,通常与 驱动程序冲突或系统文件问题 有关。下面是针对你这个问题(Windows 11 Insider Preview Feature Update 26220.7051)的一套系统性解决方案:


    🔍 一、错误原因分析

    0xC1900101 一般表示安装过程中出现:

    • 驱动程序兼容性问题(尤其是显卡、网卡、蓝牙、存储驱动);
    • 系统文件损坏;
    • BIOS/UEFI 配置不兼容;
    • 第三方杀毒或安全软件干扰;
    • 系统分区空间不足。

    🧰 二、基础检查步骤

    1. 释放磁盘空间
      • 确保系统盘(C盘)至少留有 25GB 可用空间。
      • 打开“磁盘清理” → 勾选“Windows 更新清理”、“临时文件”等。
    2. 断开所有外设
      • 拔掉打印机、U盘、外接硬盘、蓝牙适配器等非必要设备。
    3. 暂时关闭杀毒软件
      • 如果你安装了第三方杀毒(如卡巴、火绒、360等),请暂时卸载或关闭。

    ⚙️ 三、驱动与系统修复

    1️⃣ 更新驱动

    • 打开 设备管理器,查看是否有带黄色叹号的设备;
    • 特别检查以下驱动:
      • 显卡驱动(NVIDIA / AMD / Intel)
      • 存储控制器(Intel Rapid Storage / AMD SATA)
      • 网络适配器
    • 建议前往厂商官网下载最新版本并安装。

    2️⃣ 系统文件修复

    以管理员身份运行命令提示符(CMD),依次执行以下命令:

    sfc /scannow
    DISM /Online /Cleanup-Image /RestoreHealth
    

    完成后重启电脑。


    🧩 四、清理 Windows 更新缓存

    有时旧的更新缓存会导致新版本无法安装。

    1. 打开 CMD(管理员)并依次执行:
    net stop wuauserv
    net stop bits
    
    1. 打开文件夹:
      C:\Windows\SoftwareDistribution
    2. 删除该文件夹下的所有内容。
    3. 再次执行:
    net start wuauserv
    net start bits
    

    然后重新检查更新。


    🧱 五、使用离线更新包(推荐)

    如果你多次在线更新失败,可以尝试手动安装该版本的离线包:

    1. 前往微软官方 UUP Dump 网站:
      🔗 https://uupdump.net/
    2. 搜索:26220.7051
    3. 下载对应架构的 Windows 11 Insider Preview Build 26220.7051 包(x64 或 ARM64)。
    4. 使用其生成的 ISO 安装包,通过“就地升级”方式安装:
      • 右键 ISO → 装载;
      • 运行 setup.exe
      • 选择“保留个人文件和应用”。

    🧰 六、查看详细日志

    若依然失败,可查看安装日志:

    C:\$WINDOWS.~BT\Sources\Panther\setuperr.log
    C:\$WINDOWS.~BT\Sources\Panther\setupact.log
    

    这两个文件能显示具体是哪一个驱动或进程导致失败。


    ✅ 七、总结推荐顺序

    1. 运行 SFC 和 DISM;
    2. 更新驱动;
    3. 清理 SoftwareDistribution;
    4. 暂时卸载杀毒;
    5. 重新尝试在线更新;
    6. 若仍失败,使用 ISO 离线升级。




  • 暂停/恢复 Windows更新的代码

    暂停 Windows 的 1000周代码更新,在桌面新建一个TXT, 然后输入以下代码,后缀改成.reg,运行即可

    Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings]"FlightSettingsMaxPauseDays"=dword:00001b58"PauseFeatureUpdatesStartTime"="2023-07-07T10:00:52Z""PauseFeatureUpdatesEndTime"="2042-09-05T09:59:52Z""PauseQualityUpdatesStartTime"="2023-07-07T10:00:52Z""PauseQualityUpdatesEndTime"="2042-09-05T09:59:52Z""PauseUpdatesStartTime"="2023-07-07T09:59:52Z""PauseUpdatesExpiryTime"="2042-09-05T09:59:52Z"

    如果你需要恢复的话,那么代码如下:

    Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings]"FlightSettingsMaxPauseDays"=-"PauseFeatureUpdatesStartTime"=-"PauseFeatureUpdatesEndTime"=-"PauseQualityUpdatesStartTime"=-"PauseQualityUpdatesEndTime"=-"PauseUpdatesStartTime"=-"PauseUpdatesExpiryTime"=-