Home > OSI PI > Unable to start PI server on Window 7: access denied

Unable to start PI server on Window 7: access denied

With Vista, Windows 2008, and now Windows 7, the UAC (user access control) layer gets in the way of manually starting a OSISoft PI server’s services because of privileges. If you open a command prompt (Run and CMD) from a standard user account, then fire off the C:\PI\adm\PISrvStart.bat command, you will receive an access denied error 5 for each Net Start command within the batch procedure.

To get around this, find the Command Prompt under Start > All Programs > Accessories and right click on it, then select ‘Run as Administrator’. Proceed to run the c:\PI\adm\PISrvStart.bat command as before and it should work correctly and start each of the Windows Services related to PI.

  1. wira
    January 30, 2011 at 9:15 pm

    Hi… I have a problem when installing PI SDK 1.3.1 on Windows 7, is there any limitation that made installation process fail on win 7 ??? Did you have any experience installing PI SDK 1.3.1 on win 7??

    • Rich Winslow
      January 30, 2011 at 9:32 pm


      We have been installing the PI SDK since 1996 and our current development systems are Windows 7. There are no known limitations to the installation of the PI SDK. It works on 32 bit and 64 bit machines. You may want to consider running the OSIsoft Prerequisite Kit for 32 or 64 bits; the prerequisite kit will ensure that everything is in place to prepare for the installation of OSI software.

      If you need further assistance, give us a call at 828-243-5932.

      • wira
        January 31, 2011 at 2:13 am

        Hi Rich…
        Thanks for your information..
        Actually we never get any serious problem when installing PI SDK on windows XP. But now some our users used windows 7 as their OS, meanwhile installing PI SDK on win 7 always fail and give this error message:
        ” MDAC is too old”

        How to figure this out??

  2. Rich Winslow
    January 31, 2011 at 9:48 am


    That will be resolved if you install the OSIsoft Prerequisite Kit


  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: