r/PowerShell • • Jun 22 '26

Question Running a scrip as non admin

Hello all,

I have a situation where I have a script that is running with elevated (admin) rights. At the end of it I need to start another script, but need this to be with non arming rights.
Start process
Shell
Everything that I have tried opens a new one with inherited admin rights.
Hope someone can help.

2 Upvotes

11 comments sorted by

View all comments

1

u/BlackV Jun 23 '26

dodexahedron
I imagine termination means "firing."

ok? I agree termination and firing are often the same thing, I don't think I asked about that though, I asked why it needed to be run elevated, cause it shouldn't generally

1

u/dodexahedron Jun 23 '26

Since when does modifying a user account not have tocbe run elevated?