Admin Account

bournym

New Member
I have looked at a few articles about the vista admin account and I have figured out it appears to be a good idea to switch off the UAC warnings but still cannot quite get to the bottom of my admin issues.

Forgive me if I have missed a topic that already covers what I am asking.

I run a lot of scripted programs on our enterprise and typically use a form of Runas to evelate my install privelages when a user is logged in. This is obviously more difficult in vista as the domain admin member does not have enough privilages either... I get this so far.

So I want to run a simple batch file that does a regsvr32 on a .dll and it fails on vista. I log in as any account (local or domain) with a user as Administrator and it registers ok. So I know I can use the local admin or domain admin account to do this however I do not want to use the Administrator account.

I have a specific account set up that is used to install programs and do such functions as regsvr and install routines - How do I get this account to be a true admin on a vista machine or any domain admin for that matter. Is there a registry hack I can do via a command line / script to open this up.

Thanks for any assistance
 

My Computer

So I want to run a simple batch file that does a regsvr32 on a .dll and it fails on vista. I log in as any account (local or domain) with a user as Administrator and it registers ok. So I know I can use the local admin or domain admin account to do this however I do not want to use the Administrator account.

I have a specific account set up that is used to install programs and do such functions as regsvr and install routines - How do I get this account to be a true admin on a vista machine or any domain admin for that matter. Is there a registry hack I can do via a command line / script to open this up.

Thanks for any assistance

Hi Bourne,

If this acount you created has admin rights it is able to run these tasks as administrator, I have quite a few scripts (not bat) that are able to elevate themself using runas to run properly...The best alternative is using Task Schedular to run these scripts as it runs at system level and can be managed remotely or launched via shortcut ;)

Theres a Tutorial here about how to setup a task & desktop shortcut to bypass UAC...http://www.vistax64.com/tutorials/162976-bypass-uac.html

If theres any problems dont hesitate to ask :geek:

Steven
 

My Computer

It appears the only way I can get this batch file which runs the Regsvr32 to execute without errors is to disable the "EnableLUA" Registry key. This then allows my batch file to work fine registering ocx files via a command line ... I need to be able to do functions like register an ocx from a scripted utility without any user interaction and setting up scheduled tasks and shortcuts... As the admin of the domain I will need to hit any of my machines with rollouts like this ...

So far I am looking at putting a prereq function inside of my scripts for vista to open its security in preperation for me running these functions .... this will kill the UAC and the dumbed down admin rights. I dont really want to do this as but I cannot find a way around these servere restrictions.

Hope you can help me further achieve what I need to do without killing vistas security features...
 

My Computer

Back
Top