[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

.NET Script Failing for non-admin users.

Asked by Blowfelt82 in Windows NT Setup, Windows 2003 Server

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.
[+][-]10/28/09 07:53 AM, ID: 25683902Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625