windows - No parameter in GPO logon script passed? -


is possible run secedit in logon script ?
wrote script add com , dcom settings. run doubble click or via cmd.exe works fine.
not working logon script.
msgbox not working @ logon ......
because secedit not working @ start or because run via domain controller ?


edit:

secedit isn´t problem. added msgboxes control script @ logon , starting.
parameter added gpo in domain controler not there.
made :

on error resume next err.clear msgbox wscript.arguments(0) if err.number <> 0 msgbox err.description end if on error resume next err.clear msgbox wscript.arguments(1) if err.number <> 0 msgbox err.description end if


and output "out of range" twice.
why not able set these 2 parameters in gpo this?


Comments