PC Review


Reply
Thread Tools Rate Thread

Access Denied Error.

 
 
MaX
Guest
Posts: n/a
 
      1st Mar 2006
Hello folks.

This is my stuff.
I made up a VBS, and then a compiled VB EXE to make automated
installation of printers in a system during logon phase.

In facts, the script should run when a user (who is member of Local
Group "Power Users") logs on over the network.

Of course, to install printers on the system, the user should have
Administrative rights to do that, so I use in the logon script a runas
statement that launches the EXE with administrative rights.

What I reach is an ACCESS DENIED in the ObjPrinter.Put_ although I see
in the Task Manager, the process binded with Administrator....

If i log off and logon again with any local administrator, I can see
this working.

Why runas seems not to work properly although it makes the process to
run as Administrator?

Shall I forget anything during this process?

Thanks in advance for any suggests.

I'll post the code on request.

Bye
Alessio

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Denied, Access Denied- like a broken record! Sam Windows Vista General Discussion 6 3rd Mar 2008 03:11 AM
ftp access denied and administrator access to local policy denied =?Utf-8?B?SW50ZXJuZXQgRXhwbG9yZXIgVXNlciBHZXRzIFJ1 Microsoft Windows 2000 0 6th Jul 2007 02:16 PM
Access denied ! Access Denied ! Access Denied! =?Utf-8?B?Y2hyaXNncnVudGxlZA==?= Windows Vista Administration 9 10th Jul 2006 05:04 PM
You were denied access because: Access denied by access control list. William T Bonzo Windows XP Internet Explorer 4 3rd Feb 2006 11:23 PM
"Win32_Processor: WMI: Access denied" and "Win32_OperatingSystem: WMI: Access denied" Mark Jennings Windows XP WMI 3 29th Dec 2004 05:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:47 AM.