I'm trying to put a value into an existing key to enable automatic windows login but it is not working, and not throwing an error in the callback either.
Here is the code:
var valuesToPut ={'HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon': {'AutoAdminLogon': {value: 0,type: 'REG_SZ'}}}regedit.putValue(valuesToPut, function (err) {console.log(err);`});
and i have tried to specify the OS Architecture also with no luck
======= INFO =======
OS: Windows 10
OS Arch: x64
Node Version: 6.11.2
Node Arch: ia32
platform: Electron
I'm trying to put a value into an existing key to enable automatic windows login but it is not working, and not throwing an error in the callback either. Here is the code:
var valuesToPut =
{
'HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon': {
'AutoAdminLogon': {
value: 0,
type: 'REG_SZ'
}
}
}
regedit.putValue(valuesToPut, function (err) {
console.log(err);
`});
and i have tried to specify the OS Architecture also with no luck ======= INFO ======= OS: Windows 10 OS Arch: x64 Node Version: 6.11.2 Node Arch: ia32 platform: Electron