Solved

Windows 2003 Registry Read permissions error SQL 2005

Posted on 2010-11-08
1
244 Views
Last Modified: 2012-05-10
Hello,

I am trying to read a registry key using the SQL server process. The SQL server is configured to run as the local system. When using the SQL server management studio and the following commands, I get these results. Should I try to run the SQL server under some other account?


exec master.dbo.xp_regread 
        N'HKEY_LOCAL_MACHINE',N'SOFTWARE\PH_application\IHS Default UOM',N'Weight'

Open in new window

0
Comment
Question by:vg30e
1 Comment
 
LVL 10

Accepted Solution

by:
Humpdy earned 500 total points
ID: 34085694
yup...run it under local admin a/c that has access to it.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sql query help 2 62
CROSS APPLY 4 61
ISDATE() not working properly on my table? Any suggestions. 7 46
denied execute as 13 30
INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question