Цитата cobra2029:
использовав один из скриптов, …»
|
cobra2029, я с большим трудом воспринимаю написанное без учёта правил грамматики и орфографии русского языка.
Попробуйте использовать вместо моникера (
Constructing a Moniker String (Windows)) метод
SWbemLocator.ConnectServer:
Цитата:
You cannot specify a password in a WMI moniker string. If you must change the password (strPassword parameter) or the type of authentication (strAuthority parameter) when connecting to WMI, then call SWbemLocator.ConnectServer. Be aware that you can only specify the password and authority in connections to remote computers. Attempting to set these in a script that is running on the local computer results in a error.
|