Have an issue where staff are logging onto windows 7 network. I have added a simple vbs printer script to their login profile, as follows:-
Set wshNetwork = CreateObject("WScript.Network")
placed the script in the sysvol scripts folder also.
strangely, some staff logon and the script runs without error, others logon and it runs with the following error:-
error: the environment is incorrect
From what I gather they can still print. Is there anything I can add to the script to prevent the error showing ?
Staff are placed in the correct OU's and the same OU's so not sure why this is happening.