Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting
Thread: Elevated system rights?

HTVi
TV Discussion Newsgroups

Elevated system rights?
"Linn Kubler" <lkubler[ at ]chartwellwisc2.com> 6/14/2007 7:37:11 PM
Hi,

I'm playing around with scripting, specifically scripting to get inventory
information from a desktop computer. I'm using the scripts provided on a
Microsoft technet page. I'm trying to inventory a remote computer but I
find that if I run the script as administrator it works fine but if I try to
run the script as a standard user I get an access violation error message.

Is it possible to run the script as a standard user but send the
administrator credentials to the remote system? If so, how?

Thanks in advance,
Linn


Re: Elevated system rights?
"Michael Harris \(MVP\)" <mikhar.at.mvps.dot.org> 6/14/2007 8:26:45 PM
Linn Kubler wrote:
[Quoted Text]
> Hi,
>
> I'm playing around with scripting, specifically scripting to get
> inventory information from a desktop computer. I'm using the scripts
> provided on a Microsoft technet page. I'm trying to inventory a
> remote computer but I find that if I run the script as administrator
> it works fine but if I try to run the script as a standard user I get
> an access violation error message.
>
> Is it possible to run the script as a standard user but send the
> administrator credentials to the remote system? If so, how?
>
> Thanks in advance,
> Linn

WMI ConnectServer Scripting Templates (Command-Line)
http://www.microsoft.com/technet/scriptcenter/scripts/templates/wmi/connect/default.mspx

WMI ConnectServer Scripting Templates (GUI)
http://www.microsoft.com/technet/scriptcenter/scripts/templates/wmi/connect/gui.mspx

--
Michael Harris
Microsoft.MVP.Scripting


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen