node.exe is running with Elevated permissions (aka "Administrative" permissions)TrustedInstaller.runas. There is also an npm package which wraps this for you: https://www.npmjs.com/package/runasnpm script, or any Node script - or indeed any program at all, to make that call - however provided you have UAC enabled you will receive a full-screen prompt to confirm elevation.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With