Elevate NodeJS/Electron process on Windows In order to UAC elevate, use the runas module: https://www.npmjs.com/package/runas