![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| Guest | How to grant credential to install a SnapIn ? As a part of a continuous integration process, I would like to be able to install and load a custom snapin into PowerShell. Yet, when I try to do the "installutil" operation from the "integration" account on a Win2k3 box, I get the error message pasted below. Does anyone what I should to to authorize the installutil operation? Thanks in advance, Joannès http://www.lokad.com sales forecasting System.UnauthorizedAccessException: Access to the registry key 'HKEY_LOCAL_MACHINE\Software\Microsoft\PowerShell\1\Power ShellSnapIns\FooSnapIn' is denied. The Rollback phase of the installation is beginning. See the contents of the log file for the C:\integration\foo.dll l assembly's progress. The file is located at . Rolling back assembly 'C:\integration\foo.dll'. Affected parameters are: logtoconsole = assemblypath = C:\integration\foo.dll logfile = An exception occurred during the Rollback phase of the FooSnapIn installer. System.UnauthorizedAccessException: Access to the registry key 'HKEY_LOCAL_MACHINE\Software\Microsoft\PowerShell\1\Power ShellSnapIns' is denied. An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete. The Rollback phase completed successfully. The transacted install has completed. The installation failed, and the rollback has been performed. |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: How to grant credential to install a SnapIn ? > "Joannes Vermorel" <joannes.vermorel@gmail.com> wrote in message > news:1186753430.837120.28320@d30g2000prg.googlegroups.com... > As a part of a continuous integration process, I would like to be able > to install and load a custom snapin into PowerShell. Yet, when I try > to do the "installutil" operation from the "integration" account on a > Win2k3 box, I get the error message pasted below. > >Does anyone what I should to to authorize the installutil operation? Adjust the Security ACL on the HKEY_LOCAL_MACHINE\Software\Microsoft\PowerShell\1\Power ShellSnapIns\FooSnapIn Registry key to grant "Full Control" access to the integration account. |
My System Specs![]() |
| | #3 (permalink) |
| Guest | Re: How to grant credential to install a SnapIn ? Thanks, it solved the problem. Joannès |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
I am in a loop trying to grant myself permission | General Discussion | |||
| Grant power users installation privileges? | System Security | |||
| why won't it grant me access | Vista account administration | |||
| Grant permission using ICACLS | Vista file management | |||
| grant or deny this application permission to use this key prompt | Vista security | |||