Microsoft Windows Vista Community Forums - Vistaheads
Driver Scanner 2009 - Free Scan Now



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Registry Mechanic - Free Scan Now

Run As Administrator

microsoft.public.windows.vista.print fax scan



Click On Your Flag for Translation
Simplified Chinese French Spanish Italian Portugeuse Japanese German Dutch
Reply
  #1 (permalink)  
Old 04-25-2008
juan@msdnCompany.com
 

Posts: n/a
Run As Administrator
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?
--
Thanks,
Juan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-25-2008
Patrick Squire
 

Posts: n/a
Re: Run As Administrator
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


--
Patrick Squire
http://www.msblog.org


"juan@msdnCompany.com" <juan@newsgroup.nospam> wrote in message
newsAF1E940-B086-41BD-A5FE-BE25EB75948E@microsoft.com...
>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?
> --
> Thanks,
> Juan


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-25-2008
juan@msdnCompany.com
 

Posts: n/a
Re: Run As Administrator
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" wrote:

> 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
>
>
> --
> Patrick Squire
> http://www.msblog.org
>
>
> "juan@msdnCompany.com" <juan@newsgroup.nospam> wrote in message
> newsAF1E940-B086-41BD-A5FE-BE25EB75948E@microsoft.com...
> >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?
> > --
> > Thanks,
> > Juan

>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-25-2008
Alan Morris [MSFT]
 

Posts: n/a
Re: Run As Administrator
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.

"juan@msdnCompany.com" <juan@newsgroup.nospam> wrote in message
news:188200EF-D134-400F-A6AE-B389F0D8176A@microsoft.com...
>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" wrote:
>
>> 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
>>
>>
>> --
>> Patrick Squire
>> http://www.msblog.org
>>
>>
>> "juan@msdnCompany.com" <juan@newsgroup.nospam> wrote in message
>> newsAF1E940-B086-41BD-A5FE-BE25EB75948E@microsoft.com...
>> >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?
>> > --
>> > Thanks,
>> > Juan

>>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-26-2008
juan@msdnCompany.com
 

Posts: n/a
Re: Run As Administrator
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?
--
Thanks,
Juan


"Alan Morris [MSFT]" wrote:

> 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
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-28-2008
Alan Morris [MSFT]
 

Posts: n/a
Re: Run As Administrator
no clue, it's a security thing.

Did changing the timeout address the issue?

--
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.

"juan@msdnCompany.com" <juan@newsgroup.nospam> wrote in message
news:C970291C-4CBA-4790-86FB-28B4F6D3DA78@microsoft.com...
>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?
> --
> Thanks,
> Juan
>
>
> "Alan Morris [MSFT]" wrote:
>
>> 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
>>

>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 04-28-2008
juan@msdnCompany.com
 

Posts: n/a
Re: Run As Administrator
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.
--
Thanks,
Juan

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 05-08-2008
juan@msdnCompany.com
 

Posts: n/a
Re: Run As Administrator
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.
--
Thanks,
Juan


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 05-08-2008
Flavio Carlos
 

Posts: n/a
Re: Run As Administrator
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.

"juan@msdnCompany.com" wrote:

> 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.
> --
> Thanks,
> Juan
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 05-09-2008
juan@msdnCompany.com
 

Posts: n/a
Re: Run As Administrator
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.
--
Thanks,
Juan


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB 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
If I am logged in as administrator why don't programs run as administrator vista? RoaringLambs microsoft.public.windows.vista.general 6 06-14-2007 00:17
Cannot Perform Administrator Tasks but I'm an Administrator Watson349 microsoft.public.windows.vista.general 1 06-06-2007 05:06
I am an administrator, but I don't have any administrator rights Markku microsoft.public.windows.vista.administration accounts passwords 3 06-06-2007 01:15
I need Administrator rights, though I am Administrator Wouter microsoft.public.windows.vista.administration accounts passwords 2 06-03-2007 10:55
System Administrator vs. Application Administrator Dave R. microsoft.public.windows.vista.administration accounts passwords 1 02-28-2007 14:12


All times are GMT +1. The time now is 00:09.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119