I have a script called 'startup.vbs' which can be called by a user via a shortcut. When this script is called by an Admin user everything works as expected, however if I use any non-administrative user the script does not fire up.
As well as not running when the user views the script in explorer the file icon doesnt even display - as if the OS does not recognise the file type! This has led me to beleive that there is nothing wrong with the script itself but something coming from a higher level.
I get the same effect when running .vbs scripts I have created under the non-admin account. The affects are the same, and all the script is trying to do is show a message box!
When I access the file I get the error message:
Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access them.
This may be entirely unrelated but I also beleive this problem only occurs on XP machines. I THINK on Windows Server everything works as expected?
Any ideas on this would be appreciated. A start would be getting the OS to at least recognise the file types for what they are (.vbs files are the only ones affected). I am sure a software restriction policy or group policy would not affect the icon used to display files whether they are restricted or not.