HTA with Alternate Credentials

Batch, ASP, JScript, Kixtart, etc.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
User avatar
hitec92407
Posts: 8
Joined: Tue Sep 13, 2011 6:39 am

HTA with Alternate Credentials

Post by hitec92407 » Tue Sep 13, 2011 6:39 am

I have an HTA that does things like add/remove AD users to groups.

I need this to run with alternate credential using a service account with appropriate permissions to modify the AD accounts/groups. The HTA also performs operations that use vbscript run method to execute powershell commands. I want to code use of the service account into the HTA so it is hidden from the user.

I also want to compile this into an exe.

I'm considering buying primalscript. Can primal script do all of this?

thanks.

User avatar
hitec92407
Posts: 8
Joined: Tue Sep 13, 2011 6:39 am

HTA with Alternate Credentials

Post by hitec92407 » Tue Sep 13, 2011 7:34 am

A service account is a logon account that has permissions assigned to perform privileged operations. The program would be launched by a normal non-admin user but operations carried out by the user would be executed in the backgound using the service account.

I've downloaded a copy of PrimalScript.

What type of project would I specifiy for an HTA?

Locked