Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Administration > local administrator in Windows Vista

Reply
Thread Tools Display Modes

local administrator in Windows Vista

 
 
Sachin Jindal
Guest
Posts: n/a

 
      08-01-2006
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
 
 
 
 
Mark D. VandenBeg
Guest
Posts: n/a

 
      08-01-2006

"Sachin Jindal" <> wrote in message
news:B67B61B7-D5E3-4169-A243-...
> 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

 
      08-01-2006
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

 
      08-01-2006
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

 
      08-01-2006
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

 
      08-01-2006
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

 
      08-03-2006
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
 
 
 
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

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
Vista Local Administrator Rights Designan Windows Vista General Discussion 7 10-15-2007 09:10 PM
Local administrator California Geezer Windows Vista Administration 5 04-24-2007 04:14 AM
domain user can't be local administrator? flyzone@technologist.com Windows Vista General Discussion 2 03-02-2007 01:17 PM
Local administrator priviliges Or Tsemah Windows Vista Security 1 10-25-2006 10:15 AM
local administrator account password = ? Matt Carter Windows Vista Installation 1 06-12-2006 06:14 PM



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