I don't mean this to be a "cross post" but I was directed to post this here :0
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.
1. Can primal script do all of this?
2. What type of project would I specify for an HTA?
thanks.
HTA and Alternate Credentials
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
HTA and Alternate Credentials
1. Yes.
2. Go to Script - Script Packager - Open Script Package
in that dialog you can select "MSHTA" as the engine type
and add your HTA file to the package.
As for alternate credentials, on the security tab you can specify
"Impersonate" or "Run As User". Which one is best for you very much depends
on your environment.
2. Go to Script - Script Packager - Open Script Package
in that dialog you can select "MSHTA" as the engine type
and add your HTA file to the package.
As for alternate credentials, on the security tab you can specify
"Impersonate" or "Run As User". Which one is best for you very much depends
on your environment.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.