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 - Launching process with Admin Credentials with out prompting user for Admin password

Reply
 
Old 10-24-2008   #1 (permalink)
SNI


Windows Vista 32bit Ultimate
 
 

Launching process with Admin Credentials with out prompting user for Admin password

Hi,
I would like to know is there any way to launch a process with Admin credentials without prompting user for Admin credentials. I have application (Poerted in .Net with manifest file configuration to "requireAdminstrator") that does some admin activities for which it requres admin credentials. But when I am launching an application it prompts for admin credentials. After providing this application runs properly. But I dont want Admin password to be known to Standard Users. Is there any way to run process with full administrative tocken whiout propting to user.

Thanks
Sni

My System SpecsSystem Spec
Old 10-24-2008   #2 (permalink)
RickB


 
 

Re: Launching process with Admin Credentials with out prompting userfor Admin password

On Oct 24, 2:08*am, SNI <gu...@xxxxxx-email.com> wrote:
Quote:

> Hi,
> I would like to know is there any way to launch a process with Admin
> credentials without prompting user for Admin credentials. I have
> application (Poerted in .Net with manifest file configuration to
> "requireAdminstrator") that does some admin activities for which it
> requres admin credentials. But when I am launching an application it
> prompts for admin credentials. After providing this application runs
> properly. But I dont want Admin password to be known to Standard Users.
> Is there any way to run process with full administrative tocken whiout
> propting to user.
>
> Thanks
> Sni
>
> --
> SNI
I needed to do this once.
All I did was schedule the application using the credentials I
wanted.
The schedule itself was bogus like 'in 5 years'.
Then I could run it any time like this:
SCHTASKS /RUN <theJob>
My System SpecsSystem Spec
Old 10-29-2008   #3 (permalink)
SNI


Windows Vista 32bit Ultimate
 
 

Re: Launching process with Admin Credentials with out prompting user for Admin passwo

Thanks. But could you tell me, do we need to put credentials for scheduling? However, I want these credentials are transperant from user. Is this possible?
My System SpecsSystem Spec
Old 10-29-2008   #4 (permalink)
RickB


 
 

Re: Launching process with Admin Credentials with out prompting userfor Admin password

On Oct 28, 11:53*pm, SNI <gu...@xxxxxx-email.com> wrote:
Quote:

> Thanks. But could you tell me, do we need to put credentials for
> scheduling? However, I want these credentials are transperant from user.
> Is this possible?
>
> --
> SNI
Exactly.
You supply the credentials at the time you create the schedule.
The user does not need to know them to run the job once it is
scheduled.

The SCHTASKS /RUN syntax contains credential parameters but they are
not used by the job.
Their purpose is so you can give credentials when SCHTASKS /RUN isn't
allowed by your ID.
The job itself always runs using the credentials supplied when the job
was created.
My System SpecsSystem Spec
Old 10-30-2008   #5 (permalink)
SNI


Windows Vista 32bit Ultimate
 
 

Re: Launching process with Admin Credentials with out prompting user for Admin passwo

Hi,
I have created schedule task in Admin mode and that is running fine. But when i moved to Standard User profile I am not able to see the task created with Admin credentials and also I am not able create any other new tasks with Standard User profile. Pls tell us is there any settings that needs to be set in control panel and how to create scheduled tasks in Admin mode so that can be used in Standard User profile .
My System SpecsSystem Spec
Old 10-30-2008   #6 (permalink)
RickB


 
 

Re: Launching process with Admin Credentials with out prompting userfor Admin password

On Oct 30, 6:33*am, SNI <gu...@xxxxxx-email.com> wrote:
Quote:

> Hi,
> I have created schedule task in Admin mode and that is running fine.
> But when i moved to Standard User profile I am not able to see the task
> created with Admin credentials and also I am not able create any other
> new tasks with Standard User profile. Pls tell us is there any settings
> that needs to be set in control panel and how to create scheduled tasks
> in Admin mode so that can be used in Standard User profile .
>
> --
> SNI
From your admin ID, after adding the job, right click on it and go to
the
security tab of the properties window. There you should be able to
give
other users read/execute access to that particular job.
My System SpecsSystem Spec
Old 10-31-2008   #7 (permalink)
SNI


Windows Vista 32bit Ultimate
 
 

Re: Launching process with Admin Credentials with out prompting user for Admin passwo

Thanks. I did it same way. With Admin account I have provided Standard User's account then it runs in Standard User's profile. but it still prompt for UAC. I think it will not run with Admin credentials. It is dependent on what type of USER specified in security options.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Admin User Password System Security
How to set Admin password from an admin user account Vista General
Allow a user account to play games without admin password Vista account administration
standard user can see admin files after UAC asked for password Vista account administration
Wat is the difference between Built it Admin and Admin User Vista General


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