Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > System Security

Vista - Admin Account

Reply
 
Old 09-09-2008   #1 (permalink)


32bit business and ultimate
 
 

Admin Account

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 System SpecsSystem Spec
Old 09-09-2008   #2 (permalink)


Windows Vista™ Ultimate
 
 

Re: Admin Account

Quote  Quote: Originally Posted by bournym View Post
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...Bypass UAC

If theres any problems dont hesitate to ask

Steven
My System SpecsSystem Spec
Old 09-10-2008   #3 (permalink)


32bit business and ultimate
 
 

Re: Admin Account

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 System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
How to set Admin password from an admin user account Vista General
Run in admin account / Run as admin equivalence ? Vista General
what's the difference between 'account NAMED administror' and a account with admin privilegious? Vista General
Beyond a normal Admin issue. Admin account is acting as a guest ac Vista account administration
ITunes works under admin account but not user account Vista music pictures video


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

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