Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -RunAsAdmin Flag #61

Open
MalwareMechanic opened this issue Jul 13, 2022 · 3 comments
Open

Add -RunAsAdmin Flag #61

MalwareMechanic opened this issue Jul 13, 2022 · 3 comments
Labels
💎 enhancement It is working, but it could be better

Comments

@MalwareMechanic
Copy link
Collaborator

Add option for helper functions to allow user's to specify if tool should be ran as admin

@Ana06 Ana06 added the 💎 enhancement It is working, but it could be better label Mar 17, 2023
@emtuls emtuls closed this as completed Mar 15, 2024
@emtuls emtuls reopened this Mar 15, 2024
@Ana06
Copy link
Member

Ana06 commented Apr 19, 2024

@emtuls is this issue still needed?

@emtuls
Copy link
Member

emtuls commented Apr 19, 2024

I think it should be added as a parameter to a few more functions inside of common.vm just so that we have the option available for future packages.

Right now it's only used in VM-Install-Shortcut, which means that in order for us to have a tool be run as admin, we have to call the VM-Install-Shortcut directly with the -runAsAdmin flag.

If we also add this flag to VM-Install-From-Zip, VM-Install-With-Installer, VM-Install-Single-Exe, and VM-Install-Single-Ps1, then we would be able to just pass the flag along to the VM-Install-Shortcut call so that it is handled as needed.

This would also give us the ability to add it to our package templates as an option for when someone creates a package request.

@naacbin
Copy link
Collaborator

naacbin commented Jun 25, 2024

I agree, this would be a useful addition as currently packages such as systeminformer are not run as admin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💎 enhancement It is working, but it could be better
Projects
None yet
Development

No branches or pull requests

4 participants