例如把某服務由自動改為手動。
我試過用Win32_Service的 Change() 改, 但沒有改變。
我試過用Win32_Service的 Change() 改, 但沒有改變。
|
geeklianJun 23, 2015
1
=.=
直接改注册表?一定要通过wmi么? |
|
bin456789Jun 23, 2015
3
何不用sc
|
|
ChiChouJun 23, 2015
4
sc config theme start=demand // demand 就是手动
详细: https://technet.microsoft.com/en-us/library/cc990290.aspx |