none
Getting error "Permission denied: GetObject" while running .bat file as an Administrator(Built-in Administrator account) in Windows 2008 R2 RRS feed

  • Question

  • Hi,

    I am logging in to Windows 2008 R2 DC using built-in Administrator account. In this Windows 2008 R2 machine the UAC level is Always notify.

    I have folder named 'IIS7_Script' in which one .bat file, one showacls.exe file and two .vbs files are present.

    The .bat file calls .vbs file to collect the data related to IIS 7.

    But when i right-click on the .bat file and select the 'Run as Administrator' option, I am getting 'permission denied: GetObject' error.

    I am thinking this is due UAC.

    Note: Here i cannot disable the UAC because the machine we are using is a production server.

    So, Please suggest me the reasons and how to resolve this issue.

    Thanks in advance.

    Wednesday, March 20, 2013 5:55 AM