im having an issue with one particular server. i have a vbs login script that basically launches internet explorer and then maps users drives and what not. i have cut and pasted a part of the script below. basically one server1 i get an error when a user logs in. i get an error at the Set objMSIE = CreateObject("InternetExplorer.Application") part. it wont launch internet explorer and thus can't run the login script. on server #2 which is supposed to be identical to server1, everything works great.
part of the script:
Set objNetwork = createObject("WScript.Network")
Set objFileSystem = createObject("Scripting.FileSystemObject")
Set objShell = createObject("WScript.Shell")
Set objMSIE = CreateObject("InternetExplorer.Application")
permission denied: 'createobject'
code : 800a0046
is there any reason why i would be getting permissions denied ? if i use a domain admin account(which is a member of the local admin group on server1 and server2) then the script runs flawlessly. if i use ANY other level access that is NOT a domain admin then it doesn't work. i have explicitly added a bunch of user accounts to the local admin group on server1, and they still get the error message. so it seems like you have to be a domain admin for this to work. which is odd. having full access to the particular server doesnt work.
this login scipt has been in production for years and has never had any issues. server1 is a win2000 citrix server and is the only server here that gets this issue. both server1 and server2 are in the same active directory ous and get the same group policies and what not. its just odd how im getting permissions issues with server1 and not server2. so something must be different. how should i go about resolving this? i dont even know where to start. i have tried launching the script manually by copying to the server and double clicking on the vbs script and it still errors out. please let me know if you need more information...
thanks all :)