node-windows uses several command line scripts to execute processes and bypass the need for native modules. Additionally, node-windows attempts to handle account permissions, but tests will still fail if they are not run with the appropriate account credentials. Therefore, it is hard to decipher whether an issue stems from a user account, credentials, elevated permmissions, or the code itself.
In a best effort fashion, the examples are rudimentary. They have been tested and are known to work. If you experience problems with the module, it is best to try running the examples first to verify basic functionality.
node-windows ships with a service/daemon management tool. It is important to note that installing
and uninstalling processes, which use winsw.exe
, can take some time to complete. In particular,
there is a problem if you attempt to uninstall a process before it has completed installation.
Windows locks a log file while installing the process, which cannot be removed until the installation
is complete.