pfragoso Posted July 26, 2007 Posted July 26, 2007 (edited) Windows Vista Ultimate.I can only unregister and register dlls with REGSRV32, like inregsvr32 /u c:\windows\system32\DivXDec.ax or regsvr32 "C:\Program Files\Common Files\Roxio Shared\9.0\DivX\DivXDec.ax"with UAC turned off. With UAC on, all I get is an error message (didn't wrote it down).Can someone tell me if this is normal behaviour? I'm afraid that if it isn't, it may have consequences to the successful installation of software on my system.Thank you.Pedro Edited July 26, 2007 by pfragoso
cluberti Posted July 26, 2007 Posted July 26, 2007 This is normal - you need to open a command prompt by right-clicking on the icon and selecting "Run as administrator", or use runas to elevate, before you can run regsvr32 with UAC enabled.
pfragoso Posted July 26, 2007 Author Posted July 26, 2007 Cluberti,Thanks for the explanation.Could you be so nice as to tell me how do I create a shortcut/icon for Run that I can put in the Start Menu and that can be right clicked with the option to Run as Administrator?And, how does one use RunAs? I tried to find out, but couldn't.If you could just provide urls that I could consult or the name of a book, it would be great.Thank you.Pedro
fizban2 Posted July 26, 2007 Posted July 26, 2007 pedro, if you create a normal shortcut on the desktop to the run command, when you right click on that shortcut you will get the option to run the shortcut as a administrator
neo Posted July 26, 2007 Posted July 26, 2007 Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\dllfile\shell\Reg]@="Register DLL"[HKEY_CLASSES_ROOT\dllfile\shell\Reg\Command]@="regsvr32 %1"[HKEY_CLASSES_ROOT\dllfile\shell\UnReg]@="UnRegister DLL "[HKEY_CLASSES_ROOT\dllfile\shell\UnReg\Command]@="regsvr32 /u %1"[HKEY_CLASSES_ROOT\ocxfile\shell\Reg]@="Register OCX"[HKEY_CLASSES_ROOT\ocxfile\shell\Reg\Command]@="regsvr32 %1"[HKEY_CLASSES_ROOT\ocxfile\shell\UnReg]@="UnRegister OCX"[HKEY_CLASSES_ROOT\ocxfile\shell\UnReg\Command]@="regsvr32 /u %1"Copy this code and Save As with .reg extensionPatch It !Now You will get Register and Unregister contect menu for registeration of DLL and OCX on Windows Vista and XP also.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now