读书人

wmic用不了windows server 2008 R2解

发布时间: 2013-06-26 14:29:32 作者: rapoo

wmic用不了,windows server 2008 R2
本帖最后由 jiangtaogt 于 2013-05-02 15:52:20 编辑 03下测试成功,08下出现下面的错误


@echo off
copy "C:\Users\Administrator\Desktop\WMIC.exe" "C:\Windows\System32"
echo.

wmic ENVIRONMENT where "name='path' and username='<system>'" set VariableValue=%path:C:\Java\jdk1.6.0_35\bin;=%

pause


Please wait while WMIC compiles updated MOF files.
Parsing Mof File: C:\Windows\system32\wbem\CliEgAliases.mfl(Phase Error - 2)
Compiler returned error 0x8004401e

在线等~~求高手啊,弄了2天了
[解决办法]
wmic ENVIRONMENT where "name='path' and username='<system>'" set VariableValue="%path%;C:\Java\jdk1.6.0_35\bin"
不好意思,上一个有点小错误

读书人网 >windows

热点推荐