'Script start
const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "MyNetworkComputername"Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")strKeyPath = "Softwares\Microsoft\Windows\Currentversion\Run"
strValueName = "StartMyProgram"
strVal="myprogram.exe"
oReg.SetstringValue HKEY_LOCAL_MACHINE, strKeyPath, strValueName, strVal
'Script End
Queries on customization. Open http://orangescripts.blogspot.com/ and post it .
2 comments:
Instead of criticising write the variants is better.
It is a pity, that now I can not express - I hurry up on job. But I will be released - I will necessarily write that I think.
Post a Comment