I have a script which will utilise the 'runas' command and enter the password for me automaticaly.
I plan to use this script within a netlogon script to install MS security patches, how ever I only want to run the line once on each workstation.
The script is executed using 'patch.vbs "Q11111111.exe /q"'
How do I go about checking to see if a patch.ini file exists on the local drive, if so does it contain an entry Q11111111 if not run the rest of the script and place Q11111111 into the patch.ini file, if it already exists terminate the script.
I can post the script I already have if needed.
Thanks
Jonathan
I plan to use this script within a netlogon script to install MS security patches, how ever I only want to run the line once on each workstation.
The script is executed using 'patch.vbs "Q11111111.exe /q"'
How do I go about checking to see if a patch.ini file exists on the local drive, if so does it contain an entry Q11111111 if not run the rest of the script and place Q11111111 into the patch.ini file, if it already exists terminate the script.
I can post the script I already have if needed.
Thanks
Jonathan