1、新建txt文本
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"c:\\windows\\system32\\cmd.exe"="RUNASADMIN"
2、粘贴上面内容
3、修改后缀名为**.reg**
4.、运行写入注册表
1、新建txt文本
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"c:\\windows\\system32\\cmd.exe"="RUNASADMIN"
2、粘贴上面内容
3、修改后缀名为**.reg**
4.、运行写入注册表