Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / MS VBScript / July 2008



Tip: Looking for answers? Try searching our database.

Permission Denied in Vista with vbscript

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rakesh - 03 Jul 2008 12:16 GMT
Hi,

I am trying to put some files in Program Files folder in Vista machine using
VB script but I see "Permission Denied" with Error Number: 70

Could some put some light on this.
Thanks in advance,
Pegasus (MVP) - 03 Jul 2008 13:17 GMT
> Hi,
>
[quoted text clipped - 4 lines]
> Could some put some light on this.
> Thanks in advance,

- What is your script?
- Can you copy the files using Windows Explorer?
mayayana - 04 Jul 2008 04:09 GMT
Program Files is a restricted folder on Vista.
If you want access then don't install to Program
Files...or don't use Vista.

> I am trying to put some files in Program Files folder in Vista machine using
> VB script but I see "Permission Denied" with Error Number: 70
>
> Could some put some light on this.
> Thanks in advance,
PaulM - 04 Jul 2008 04:40 GMT
You need FULL Administrator Privilege to run a vbscript.  You will get
access denied all the time.
If you have On Error Resume Next, the script will run, but will not edit the
registry.

Signature

-------------------------------------------------------------------------------------
www.paulsxp.com
www.paulsxp.com/forum
www.supportspace.com/home/affiliates.s2?aiu=paulm
------------------------------------------------------------------------------------

>  Program Files is a restricted folder on Vista.
> If you want access then don't install to Program
[quoted text clipped - 6 lines]
>> Could some put some light on this.
>> Thanks in advance,
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.