![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Access to the specified device, path, or file is denied Hi there. I'm running into a strange problem here. I'm running Windows 2000 server, and I get the following error when trying to run ANY .vbs script. "Access to the specified device, path, or file is denied" If i just login as a simple user and create an empty file called "test.vbs", it will give me that error. If I give myself domain admin, I can run it without error. I initially thought it was other problems, since I first noticed this when my login script wasn't running. I thought the share permissions might be messed up, or there was an error in the actual script. But now I've learned I can't even create a file and run it on my own server as a regular user. Thanks for any help Dave Kennedy |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Access to the specified device, path, or file is denied "sLater" <slatez@xxxxxx> wrote in message news:3a7a2827-4e30-4140-965a-a2df105753c5@xxxxxx Quote: > Hi there. > > I'm running into a strange problem here. I'm running Windows 2000 > server, and I get the following error when trying to run ANY .vbs > script. > > "Access to the specified device, path, or file is denied" > > If i just login as a simple user and create an empty file called > "test.vbs", it will give me that error. If I give myself domain > admin, I can run it without error. > > I initially thought it was other problems, since I first noticed this > when my login script wasn't running. I thought the share permissions > might be messed up, or there was an error in the actual script. But > now I've learned I can't even create a file and run it on my own > server as a regular user. > > Thanks for any help > > Dave Kennedy simple, then build it up in small steps until it fails, perhaps like so: - Log on as a "simple user". - Open a Command Prompt. - Create the file c:\test.vbs with this line inside: wscript.echo "Hello world" - Type this command: cscript //nologo c:\test.vbs If it works then move the script to the folder where your other scripts reside and run it again. As a third test, invoke it the way you normally do instead of using the command I suggested above. If it does not work then create the file c:\test.bat with this line inside: echo Hello world Now execute it with this command: c:\test.bat. Does it work? By the way - why do you allow "simple users" to log on to your server? This is usually a strict no-no. |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Access to the specified device, path, or file is denied Dave Kennedy wrote: Quote: > I'm running into a strange problem here. I'm running Windows 2000 > server, and I get the following error when trying to run ANY .vbs > script. > > "Access to the specified device, path, or file is denied" > > If i just login as a simple user and create an empty file called > "test.vbs", it will give me that error. If I give myself domain > admin, I can run it without error. > > I initially thought it was other problems, since I first noticed this > when my login script wasn't running. I thought the share permissions > might be messed up, or there was an error in the actual script. But > now I've learned I can't even create a file and run it on my own > server as a regular user. > > Thanks for any help you configure to allow it. -- Richard Mueller MVP Directory Services Hilltop Lab - http://www.rlmueller.net -- |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Windows cannot access the specified device, path, or file | Vista General | |||
| WINDOWS CANNOT ACCESS THE SPECIFIED DEVICE, PATH, OR FILE. | Vista account administration | |||
| Windows cannot access specified device,path,or file | Vista General | |||
| Windows cannot access the specified device, path or file. | Vista General | |||