Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

SQL script gets 'Access denied' to write a registry key value during SESSION 0

$
0
0

Hello,

On Windows 2008 R2 PS1 Server, MS SQL Server 2005.

Running an installation (*.msi), performing an SQL script which writes a value to a registry key:

- running as a user with administrative rights, logged in - writing to a registry succeed;

- running during session 0 (no logging in) as temporary user, impersonated as administrator - writing to a registry fails - "Access denied".

What could be a cause for denial?

Any suggestions are appreciated,

Sergy S.


Viewing all articles
Browse latest Browse all 15694

Trending Articles