Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vbscript error 800A0046 in vista

Status
Not open for further replies.

robFSS

IS-IT--Management
Apr 29, 2003
106
US
Ok - I'm having difficulties with my script.

I want to copy a file to a bunch of different folders under C:\.

this stinkin "800A0046" error is in my way. I'm reading lots about UAC and yadda yadda. I'd just like to know how to get around it from my vbscript.

any suggestions?

thx.
 
I will have to look more into this issue when I get home on my Vista box; however, a couple ideas are...

* Disable UAC
(
* Change folder permissions on C:\ drive

* Open an elevated (admin rights) command prompt
* change directory to vbscript location
* EXAMPLE TYPE: cd "C:\<TheFolder>"
* Start the script
* EXAMPLE TYPE: start <ScriptName>.vbs

Good luck!

V/r,

SPC Key
United States Army
 
thanks for the input.

I will attempt to disable UAC as I have already tried the elevated command prompt with no success.

-R
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top