小编Ust*_*sta的帖子

通过批处理文件添加注册表项

我正在尝试使用批处理文件创建注册表项。我真的需要能够通过批处理而不是 VBscript 或 .reg 文件来做到这一点。

到目前为止,通过使用本指南,我想出了这个。但是每当我尝试运行它时,我都没有在注册表中看到它。(没有错误,以管理员身份运行)我做错了什么?

REG ADD HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList /v "MyCustomWorkgroupUsername" /t REG_DWORD /d 0
Run Code Online (Sandbox Code Playgroud)

windows windows-registry batch-file

3
推荐指数
1
解决办法
6万
查看次数

标签 统计

batch-file ×1

windows ×1

windows-registry ×1