windows - .bat 在 Windows x64 中的 reg 文件

标签 windows batch-file windows64

我在 Windows x64 中通过 .bat 运行 reg 文件,但我的 reg 文件添加到 wow6432node,我想添加到: HKEY_LOCAL_MACHINE\SOFTWARE\Myproject 在 Windows x64 中。

我的 .bat 文件命令:

%windir%\System32\regedt32.exe e5.reg

请帮帮我

谢谢

最佳答案

我不知道如何使用 .reg 文件解决它。但仅在 BAT 文件中,作为休闲:
您必须在命令行末尾添加/reg:64。 前任:

REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background"/v "OEMBackground"/t REG_DWORD/d 0x00000001/f /reg:64
来源:Wow6432Node and how to Deploy Registry settings to 64 bit systems via Sccm

关于windows - .bat 在 Windows x64 中的 reg 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16835430/

相关文章:

正则表达式:将单词开头的 <tags> 中的小写字母替换为大写字母

windows - 用于检查是否安装了 Python 的批处理文件

python - 在 Windows 中使用批处理文件静默安装 numpy.exe

batch-file - 如何在批处理文件中处理目录的文件名

pip - 解决Windows上的Python 3.4安装问题

asp.net - 配置 ASP.NET 在 x64 Windows 上使用 x86

windows - 我在哪里可以找到 Windows 中的 vimrc 文件?

windows - Windows XP 真的有负错误代码吗?

windows - 批处理文件不会以管理员身份运行

grails - Windows 7 命令提示符使用 geb 和 spock 运行 grails 功能测试