macOS M1Pro 安装 chntpw 工具

chntpw介绍

chntpw 工具是用来修改位于 boot.wim 文件第一个索引(或分区)中的注册表。

在macOS中安装 Windows虚拟机的时候一般会用到

我们采用Homebrew来安装chntpw,需要确保电脑上已经安装好Homebrew

因为Homebrew无法在核心仓库中找到 chntpw,所以无法直接通过brew install chntpw安装,需要使用tap(第三方仓库)或自定义的 Homebrew 来安装

采用sidneys/homebrew/chntpw安装

UUP推荐的安装方法,在UUP网站中可以找到各个通道的Windows系统版本。

复制代码
brew tap sidneys/homebrew
brew install sidneys/homebrew/chntpw

安装无报错就成功了。不过我在安装中遇到了问题,提示报错:

复制代码
==> make test
Last 15 lines from /Users/jakema/Library/Logs/Homebrew/[email protected]/03.make:
8752670124:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994:
8752670124:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994:
8752670124:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994:
8752670124:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994:
8752670124:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994:
8752670124:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994:
8752670124:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994:
8752670124:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994:
8752670124:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994:
8752670124:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994:
8752670124:error:1007C06B:elliptic curve routines:EC_POINT_set_affine_coordinates_GFp:point is not on curve:ec_lib.c:968:
8752670124:error:1007C06B:elliptic curve routines:EC_POINT_set_affine_coordinates_GFp:point is not on curve:ec_lib.c:968:
8752670124:error:1007C06B:elliptic curve routines:EC_POINT_set_affine_coordinates_GFp:point is not on curve:ec_lib.c:968:
make[1]: *** [test_ec] Error 1
make: *** [tests] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/sidneys/homebrew-homebrew/issues

These open issues may also help:
Mac M1 chntpw not building (Openssl 1.0 requirement not satisfied) https://github.com/sidneys/homebrew-homebrew/issues/2

这种情况下,该tap无法正常使用,需要换一下tap,在该issue中有热心网友提供了替代办法

js 复制代码
brew tap minacle/chntpw  
brew install minacle/chntpw/chntpw

实测可用

相关推荐
Bruce_Liuxiaowei1 小时前
使用Python脚本在Mac上彻底清除Chrome浏览历史:开发实战与隐私保护指南
chrome·python·macos
iFlyCai4 小时前
对Mac文字双击或三击鼠标左键没有任何反应
macos·计算机外设
請你喝杯Java17 小时前
Mac上Cursor无法安装插件解决方法
macos·cursor·vsode
网络之路Blog20 小时前
【实战中提升自己】内网安全部署之端口隔离与MAC地址认证
安全·macos·网络之路一天·华为华三数通基础·华为华三企业实战架构·华为中小型企业实战·华为华三计算机网络基础
心随_风动20 小时前
主流操作系统对比分析(macOS、Linux、Windows、Unix)
linux·windows·macos
lxw184491251420 小时前
macOS 系统设置息屏情况下,PHP等后台脚本继续执行
macos
Brian_Lucky1 天前
在 macOS 上合并 IntelliJ IDEA 的项目窗口
java·macos·intellij-idea
未来之窗软件服务1 天前
声音分离人声和配乐-从头设计数字生命第5课, demucs——仙盟创梦IDE
ide·macos·xcode·仙盟创梦ide·数字生命
我该如何取个名字1 天前
Mac mini 安装mysql数据库以及出现的一些问题的解决方案
数据库·mysql·macos
ttumetai2 天前
MacOS中安装Python(homebrew,pyenv)
python·macos