Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: VS2005 Form Issue  (Read 3114 times)

0 Members and 1 Guest are viewing this topic.

Enforzer

  • Guest
VS2005 Form Issue
« on: June 26, 2007, 02:21:22 PM »
Does anyone know a way to run the Whole from as a Local Admin?

1.) I am making a app with a bunch of tool son it for checking the common issues we run into here at work. But we hate having to log out Users and log in as the local admin to check any of this crap. So I would like to make it so that when I launch the app i made, it uses the Local Admin or System account to do so resulting in us being able to see things running on a machine from an admin perspective with a Basic user logged in.

2.) How to make a duplicate of the event viewer on my form.

3.) how to make a Semi Duplicate of the Processor utilization from XP

Sidewinder



    Guru

    Thanked: 139
  • Experience: Familiar
  • OS: Windows 10
Re: VS2005 Form Issue
« Reply #1 on: June 26, 2007, 05:23:15 PM »
I'm fairly certain you can use a imports System.Diagnostics statement which will expose the GetProcesses and the GetEventLogs methods. Normally this a run from the local machine but you should be able to pass the machine name to the constructor for remote operation.

For running as a local admin, can you not use the runas command?

Good luck. 8)

This could be scripted as a HTA using the Windows Management Interface or even as a Powershell script. Sounds like an interesting project.
The true sign of intelligence is not knowledge but imagination.

-- Albert Einstein