do it remotely...

make a control file with the PC names you want to modify

then use RemoteExec() to execute the commands remotely

or you can just modify the registry remotely
_________________________
How to ask questions the smart way <-----------> Before you ask