local administrator in Windows Vista

Posted: 08-01-2006, 11:45 AM
Hi All,

I have two questions:

1. How the users in Vista are made local admin of the machine? Like I have
few machines in my network who has Vista installed. On these machines, I want
to make user of each machine as local amin of the machine so that they can
install and run softwares and applications. How can I do that?

2. Second one is a specific question. I have installed Vista on a machine
and made it part of some domain (domain is on Windows 2003 machine). Now I
created one user in AD and made that user part of local administrators group
on Vista machine. Now I have an application which needs toa ccess the
registry entry. So when I run this application, it gives me error and when I
debugged it I found that it is enable to access the registry due to securtity
permission though I am running with local administrator. How can I run my
application?

Thanks
Sachin Jindal
Reply With Quote

Responses to "local administrator in Windows Vista"

Mark D. VandenBeg
Guest
Posts: n/a
 
Re: local administrator in Windows Vista
Posted: 08-01-2006, 12:18 PM

"Sachin Jindal" <SachinJindal@discussions.microsoft.com> wrote in message
news:B67B61B7-D5E3-4169-A243-63D0112D0A3C@microsoft.com...
> Hi All,
>
> I have two questions:
>
> 1. How the users in Vista are made local admin of the machine? Like I have
> few machines in my network who has Vista installed. On these machines, I
> want
> to make user of each machine as local amin of the machine so that they can
> install and run softwares and applications. How can I do that?
>
> 2. Second one is a specific question. I have installed Vista on a machine
> and made it part of some domain (domain is on Windows 2003 machine). Now I
> created one user in AD and made that user part of local administrators
> group
> on Vista machine. Now I have an application which needs toa ccess the
> registry entry. So when I run this application, it gives me error and
> when I
> debugged it I found that it is enable to access the registry due to
> securtity
> permission though I am running with local administrator. How can I run my
> application?
>
> Thanks
> Sachin Jindal
Regarding number 2:

Applications run at the standard user level regardless of whether the user
is logged on as an administrator. try right-clicking on the application
icon and choosing "Run as administrator" from the context manager.


Reply With Quote
Jimmy Brush
Guest
Posts: n/a
 
Re: local administrator in Windows Vista
Posted: 08-01-2006, 12:47 PM
Hello,

1) You can make a user an administrator (or remove admin power) using either
the User Accounts control panel or Local Users and Groups MMC snap-in (which
you can find in Computer Management)

2) Please read the thread directly below this entitled "ANS: "What's the
deal with UAC (Windows Needs Your Permission screens)" and "...But I thought
I was an administrator""

- JB

Vista Support FAQ
http://www.jimmah.com/vista/

Reply With Quote
Sachin Jindal
Guest
Posts: n/a
 
Re: local administrator in Windows Vista
Posted: 08-01-2006, 01:03 PM
Thanks Jimmy,

I have read that mail. My problem is that:

We have developed an application which is based on office 2007 Infopath. So
my application is just a .xsn file. To run my application I just run the .xsn
file. When i right click on this file, it does not show me the option of "run
as administrator". neither office 2007 Infopath application shows that
option. How can i run this xsn file as "administrator". This application
(.xsn file) is accessing the registry and because I am local admin of the
machine with UAC enabled, gives me error because it is not able to access the
registry.

How can i solve this problem?

Thanks
Sachin

"Jimmy Brush" wrote:
> Hello,
>
> 1) You can make a user an administrator (or remove admin power) using either
> the User Accounts control panel or Local Users and Groups MMC snap-in (which
> you can find in Computer Management)
>
> 2) Please read the thread directly below this entitled "ANS: "What's the
> deal with UAC (Windows Needs Your Permission screens)" and "...But I thought
> I was an administrator""
>
> - JB
>
> Vista Support FAQ
> http://www.jimmah.com/vista/
>
Reply With Quote
Jimmy Brush
Guest
Posts: n/a
 
Re: local administrator in Windows Vista
Posted: 08-01-2006, 01:30 PM
Sorry, I am not too familiar with Infopath, so I'm not sure what its
capabilities are ... but here are some suggestions:

The best solution is to change your program to save its settings to HKCU
instead of HKLM. Or, if you are just reading data from HKLM, specify you
only need read access so the system won't access deny you.

The next best solution is to create an .exe application that does all the
"admin" stuff. This application can be marked as "requiring administrator
privileges" and will prompt the user for permission when it starts. Simply
call that program from your infopath script when you need to do admin stuff.

Finally, you can run Infopath as administrator, and then load your program
from there. If you right-click the link to infopath, you can click Run As
Administrator.

Here's a great resource for developers on the new restrictions in UAC:

http://msdn.microsoft.com/windowsvis...cProtVista.asp

- JB

Vista Support FAQ
http://www.jimmah.com/vista/

Reply With Quote
Sachin Jindal
Guest
Posts: n/a
 
Re: local administrator in Windows Vista
Posted: 08-01-2006, 01:41 PM
Thanks Jimmy

"Jimmy Brush" wrote:
> Sorry, I am not too familiar with Infopath, so I'm not sure what its
> capabilities are ... but here are some suggestions:
>
> The best solution is to change your program to save its settings to HKCU
> instead of HKLM. Or, if you are just reading data from HKLM, specify you
> only need read access so the system won't access deny you.
>
> The next best solution is to create an .exe application that does all the
> "admin" stuff. This application can be marked as "requiring administrator
> privileges" and will prompt the user for permission when it starts. Simply
> call that program from your infopath script when you need to do admin stuff.
>
> Finally, you can run Infopath as administrator, and then load your program
> from there. If you right-click the link to infopath, you can click Run As
> Administrator.
>
> Here's a great resource for developers on the new restrictions in UAC:
>
> http://msdn.microsoft.com/windowsvis...cProtVista.asp
>
> - JB
>
> Vista Support FAQ
> http://www.jimmah.com/vista/
>
Reply With Quote
Catmanslady
Guest
Posts: n/a
 
RE: local administrator in Windows Vista
Posted: 08-03-2006, 03:29 AM
As with previous posts, again this is probably a local admin problem...
Technically no one is really a true administrator until all prompts and user
securitys are disabled in the security settings panel...
(start/run/secpol.msc/local policies/security options/scroll to bottom) and
then going into control panel and changing you account to an admistrator
manually. I initially thought i was an admin but your really only a local
admin by default. Go figure! Plus it gets rid of all those annoying pop up
warnings.



"Sachin Jindal" wrote:
> Hi All,
>
> I have two questions:
>
> 1. How the users in Vista are made local admin of the machine? Like I have
> few machines in my network who has Vista installed. On these machines, I want
> to make user of each machine as local amin of the machine so that they can
> install and run softwares and applications. How can I do that?
>
> 2. Second one is a specific question. I have installed Vista on a machine
> and made it part of some domain (domain is on Windows 2003 machine). Now I
> created one user in AD and made that user part of local administrators group
> on Vista machine. Now I have an application which needs toa ccess the
> registry entry. So when I run this application, it gives me error and when I
> debugged it I found that it is enable to access the registry due to securtity
> permission though I am running with local administrator. How can I run my
> application?
>
> Thanks
> Sachin Jindal
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may 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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ANS: "What's the deal with UAC (Windows Needs Your Permission screens)" and "...But I thought I was an administrator" Jimmy Brush Windows Vista Administration 194 07-20-2008 11:29 AM
Windows Explorer - Run As Administrator Gordon Windows Vista Performance & Maintenance 2 06-27-2006 05:14 PM
Logon to built-in administrator account (Win Vista) Tim R. Windows Vista Administration 2 06-22-2006 07:09 PM
Enabling the Administrator account in Vista BETA 2 Andre Da Costa [Extended64] Windows Vista Administration 0 06-09-2006 02:36 AM
Can I install Vista Beta on a local PC without internet connect? Microsoft Windows Vista Install & Setup 5 03-31-2006 05:27 AM


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