Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

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 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>