Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - win32_service - Log On Tab

Reply
 
Old 11-27-2007   #1 (permalink)
IT Staff


 
 

win32_service - Log On Tab

gwmi win32_service | gm

I can't find any meaningful methods/properties related to the GUI interface
of LOG ON TAB. I want to know the LOG ON tab (this account and local system
account)

Any tips ?



My System SpecsSystem Spec
Old 11-27-2007   #2 (permalink)
Jeffery Hicks [MVP]


 
 

Re: win32_service - Log On Tab

I believe what you want is the StartName property

gwmi win32_service | Select Name,Caption,State,StartName,Started,StartMode

--
Jeffery Hicks
Microsoft PowerShell MVP
http://www.scriptinganswers.com
http://www.powershellcommunity.org

Now Available: WSH and VBScript Core: TFM
Coming Soon: Windows PowerShell: TFM 2nd Ed.

"IT Staff" <jkklim@xxxxxx> wrote in message
news:#qpeizVMIHA.1208@xxxxxx
Quote:

> gwmi win32_service | gm
>
> I can't find any meaningful methods/properties related to the GUI
> interface of LOG ON TAB. I want to know the LOG ON tab (this account and
> local system account)
>
> Any tips ?
>
>
My System SpecsSystem Spec
Old 11-28-2007   #3 (permalink)
Keith Hill [MVP]


 
 

Re: win32_service - Log On Tab

"Jeffery Hicks [MVP]" <jhicks@xxxxxx> wrote in message
news:ey3RFZWMIHA.280@xxxxxx
Quote:

> I believe what you want is the StartName property
>
> gwmi win32_service | Select Name,Caption,State,StartName,Started,StartMode
>
And don't forget about the DesktopInteract property.

--
Keith

My System SpecsSystem Spec
Old 11-28-2007   #4 (permalink)
James


 
 

Re: win32_service - Log On Tab

pls explain : DesktopInteract


"Keith Hill [MVP]" <r_keith_hill@xxxxxx_spam_I> wrote in message
news:13AEF71D-38B6-4F7B-9B79-25B2C7116826@xxxxxx
Quote:

> "Jeffery Hicks [MVP]" <jhicks@xxxxxx> wrote in message
> news:ey3RFZWMIHA.280@xxxxxx
Quote:

>> I believe what you want is the StartName property
>>
>> gwmi win32_service | Select
>> Name,Caption,State,StartName,Started,StartMode
>>
>
> And don't forget about the DesktopInteract property.
>
> --
> Keith

My System SpecsSystem Spec
Old 11-28-2007   #5 (permalink)
Keith Hill [MVP]


 
 

Re: win32_service - Log On Tab

On the LogOn tab of a Service's properties dialog there is a check box
called "Allow service to interact with desktop". I'm fairly certain that
the DesktopInteract property corresponds to that check box setting.

--
Keith

"James" <jkklim@xxxxxx> wrote in message
news:enJUsHhMIHA.4808@xxxxxx
Quote:

> pls explain : DesktopInteract
>
>
> "Keith Hill [MVP]" <r_keith_hill@xxxxxx_spam_I> wrote in message
> news:13AEF71D-38B6-4F7B-9B79-25B2C7116826@xxxxxx
Quote:

>> "Jeffery Hicks [MVP]" <jhicks@xxxxxx> wrote in message
>> news:ey3RFZWMIHA.280@xxxxxx
Quote:

>>> I believe what you want is the StartName property
>>>
>>> gwmi win32_service | Select
>>> Name,Caption,State,StartName,Started,StartMode
>>>
>>
>> And don't forget about the DesktopInteract property.

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
win32_service InvokeMethod fails. What am I doing wrong? PowerShell
Creating a new service using WIN32_service PowerShell
Win32_Service.Change PowerShell
Difference between get-service and wmi object win32_service PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46