Access Denied, Error 800A0046

Hi,
I am trying to map a couple of printers with a log in script. The script works under an administrative account, but will not run under a regular user account. Each time it is run, an 800a0046 "Access Denied" message is displayed. Local Group Policy is used to run the script at log on. Everyone has full control access to the script file in C:\Windows\System32\GroupPolicy\User\Logon. I have added "Everyone" to the user right for loading and unloading device drivers in the local GPO, with no change. This also worked on a separate machine without any errors. Both machines run Windows 7 Pro SP1 x64.

Thanks
LVL 27
Jason WatkinsIT Project LeaderAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Nick RhodeIT DirectorCommented:
0
Jason WatkinsIT Project LeaderAuthor Commented:
That's right. It looks like I may not have rights to the printer on the print server.
0
Skyler KincaidNetwork/Systems EngineerCommented:
That would be the first place to check. If it is a domain environment you should use Group Policy to install the printers because you can manage it much easier.

You need to set the permissions on the script and also the printers. A good test would be to see if you can browse to your print server from one of the users accounts and install the printer. Or you can just do \\servername\printername which will attempt to connect and install the printer.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jason WatkinsIT Project LeaderAuthor Commented:
It was access rights, which I did not have at the time.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.