Run As Administrator

  • Thread starter Thread starter juan
  • Start date Start date
J

juan

I just received a brand new 64-bit Vista machine and installed a bunch of
printers that our hooked to our network. Everything works fine when I run
applications normally and print within the applications (Word, Excel, my
own). But to run Visual Studio 2005 they tell you to always Run As
Administrator and I have set up my shortcut to do that. But when I run an
application with Run As Administrator none of my printers are in the list.
Can I install Administrator printers? How can I see all the printers whether
I am running as an administrator or as a regular user?
 
Hi there Juan,

If you go into your printers folder, right click on the printer and then
click on the security tab is the Administrator allowed to print in this
case? Its very unusual if its not checked but its possible its not.
You may need to run as administrator to do this
 
I make sure myself and even everyone could do printing and had everything
checked and I still have no printers listed.
--
Thanks,
Juan


Patrick Squire said:
Hi there Juan,

If you go into your printers folder, right click on the printer and then
click on the security tab is the Administrator allowed to print in this
case? Its very unusual if its not checked but its possible its not.
You may need to run as administrator to do this
 
Change the splwow64 timeout value

You cannot use the RUNAS command to print from a 32-bit program in
different user accounts in a single session on a computer that is running a
64-bit version of Microsoft Windows
(923357) - Describes behavior that occurs because the Splwow64.exe
process is available only to the first user until a specified period passes.
.... This behavior occurs because the system uses the Splwow64.exe process to
translate between 32-bit programs and the driver model of the 64-bit
operating system.

http://support.microsoft.com/kb/923357/en-us


--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/search/?adv=1

This posting is provided "AS IS" with no warranties, and confers no rights.

I make sure myself and even everyone could do printing and had everything
checked and I still have no printers listed.
 
I am really the same user with administrative privledges, but you are saying
when I run the program normally I am user xyz with reduced privledges and
when I start the program with run as administrator I am user xyz with
additional privledges so to Vista we are different users even though there is
only one xyz user account?
 
Yes, I added the registry setting and nothing changed. I added a DWORD 32
bit value and set it to 60, since I tend to do leave my debugger open usually
for days (But I thought I would try 60 min). But I still have no printers
listed when launching my MFC application via the VS 2005 debugger.
 
One thing that may give you a little more information is when I run VS2005
with run as administrator, I cannot print. Inside VS2005, I get a list of
printers, but nothing comes out. But in my application (MFC or c#) started
via the debugger of VS2005, I don't even get a list of printers.
 
Hi guys,

I believe you need to log on as Administrator (with the same account as you
log on and install or connect to the printer that you want to print)

Than when you open the App as Administrator account the printer will be able.

Best Regards.
 
I didn't quite understand what you were saying, but the account I login with
is in the adminstator group for the machine, so I should have full rights.
When I start VS2005, it asks for rights and I say allow and it moves on. But
then printing does not work.
 
Back
Top