当前位置: 首页 > news >正文

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/openssl@1.0/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 2If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):https://github.com/sidneys/homebrew-homebrew/issuesThese 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中有热心网友提供了替代办法

brew tap minacle/chntpw  
brew install minacle/chntpw/chntpw

实测可用


http://www.mrgr.cn/news/7489.html

相关文章:

  • JavaScript获取系统时间字符串,并格式化
  • 软体水枪在灭火工作中发挥什么作用_鼎跃安全
  • polarctf靶场【四方密码题】【CRYPTO】不一样的四四方方、四个正方形
  • 02_React面向组件编程--基本使用与理解、组件实例的三大核心属性与事件处理
  • 嵌入式Qt移植前期准备-思维导图-学习笔记-基于正点原子阿尔法开发板
  • 24 交换机接口及地址配置
  • Linux下进程间的通信--管道
  • JMeter处理接口签名sign
  • SAP 接口 inbound (SAP CALL JAVA ) 负载均衡说明
  • js加载会阻塞dom吗?如何防止阻塞?
  • 【jvm】程序计数器是如何计数的
  • [Other]-安装ruby、ascli、ascp
  • GoFly快速开发后台框架当后端接口请求返回403提示码就跨域问题/请求端域名拦截问题
  • 数据赋能((185)——开发:提高数据价值密度——实施过程、应用特点
  • 软件设计师全套备考系列文章6 -- 线性表、栈和队列、串、数组、矩阵、广义表
  • 修复 502 Bad Gateway 错误的 6 种方法
  • 芯品快报:亚德诺(ADI)汽车音频总线A²B收发器AD2428
  • WebSocket的应用场景与案例解析
  • 硬件开发流程
  • DockerHub解决镜像拉取之困