dmaster's Posts

Hello AutomatetheCloud, We tried the script but it failed to start.. Line 85 char 1 Error: The handle is invalid Code: 80070006 Source: (null) It looks like we get an access denied wh... See more...
Hello AutomatetheCloud, We tried the script but it failed to start.. Line 85 char 1 Error: The handle is invalid Code: 80070006 Source: (null) It looks like we get an access denied when using wscript.stdout.writeline If we replace wscript.stdout.writeline with wscript.echo the script is running. But this results in pressing manually OK a couple of times for every folder the script finds and also not all thinapps get registered. We are going to continue troubleshooting.. We found the error.. you also need to set quotes for the foldername(FileName). (otherwise the Thinreg.exe command failes when using spaces in the file and foldername). Change: MyThinReg = "thinreg " & FileName & " /nodesktoprefresh" To: MyThinReg = "thinreg " & Chr(34) & FileName & Chr(34) & " /nodesktoprefresh" Cheers, Dennis