# RegSvr32 on Win7

**URL:** https://www.finalbuilder.com/forums/t/regsvr32-on-win7/1959
**Category:** Discussion
**Created:** [March 8, 2012, 5:09am UTC](https://www.finalbuilder.com/forums/t/regsvr32-on-win7/1959 "2012-03-08T05:09:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![brian\_thomas](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/b/3e96dc/32.png) [@brian\_thomas](https://www.finalbuilder.com/forums/u/brian_thomas)
#### Post date: [March 8, 2012, 5:09am UTC](https://www.finalbuilder.com/forums/t/regsvr32-on-win7/1959/1 "2012-03-08T05:09:16Z")

</div>

On the new build machine I am creating I have installed Windows7 x86

The previous build server had WindowsXP. Some of my build actions call RegSvr32 to register COM&nbsp;DLLs for use by later parts of the build. This worked fine on XP. But when I run the FB7 IDE&nbsp;on Win7, the RegSvr32 calls fail because FB7 is not running as an Administrator.

If I&nbsp;run FB7 as Administrator then I&nbsp;can avoid this when I'm running FB7 IDE&nbsp;interactively, but what about running the script via FinalBuilder Server?

What's the recommended way of registering/unregistering COM&nbsp;DLLs during an FB7 Server build on Win7 without falling foul of having insufficient rights?

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [March 8, 2012, 10:43am UTC](https://www.finalbuilder.com/forums/t/regsvr32-on-win7/1959/2 "2012-03-08T10:43:04Z")

</div>

Unfortunately you have hit the steaming pile of poop called UAC, and there is no way to programtically elevate a users privileges. UAC is inherently incompatible with automated builds. The only real option here is to disable UAC, and since UAC is really designed to stop mom and pop installing a virus on their home pc this should not be a problem for IT professionals.
