我想用wmic刪除一個條目,但我總是得到一個錯誤,我看到DELETE命令是一個有效的STARTUP動詞。我做錯了什麼? 日Thnxwmic刪除啓動項目
wmic:root\cli>/node:'pc-test' startup where name="TwonkyServer" DELETE
Delete '\\pc-test\ROOT\CIMV2:Win32_StartupCommand.Command="C:\\PROGRA~1\\Twonky\\TWONKY~1\\TWONKY~4.EXE ",Location="Common Startup",Name="TwonkyServer",User="Public"' (Y/N/?)? y
Deleting instance \\pc-test\ROOT\CIMV2:Win32_StartupCommand.Command="C:\\PROGRA~1\\Twonky\\TWONKY~1\\TWONKY~4.EXE ",Location="Common Startup",Name="TwonkyServer",User="Public"
錯誤: 說明=供應商不能夠嘗試的操作
的WMIC'STARTUP'類是僅供參考之用。使用'REGISTRY'來刪除一個啓動項。 – Jay 2012-08-14 04:31:07
好的,但是不在註冊表中的是CommonStartup文件夾。 – akun 2012-08-14 12:03:30