Consultor Eletrônico



Kbase P186236: 4GL/ABL: Cannot run a batch file on Windows Server 2008
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   19/04/2011
Status: Unverified

SYMPTOM(s):

4GL/ABL: Cannot run a batch file on Windows Server 2008

The batch file consists of a series of DOS CALL commands that invokes prowin32.exe to run Report Engine in batch (-b) mode.

FACT(s) (Environment):

Windows Server 2008
OpenEdge 10.2B
OpenEdge Reports Category: Report Builder

CAUSE:

When running a batch file in Windows 2008 Server by double-clicking on it, any commands that are executed use limited permissions due to the built-in User Account Control (UAC) which is enabled by default. Windows 2008 Server will quietly fail to execute any command in the batch file that require elevated permissions.

FIX:


To run the batch file on Windows 2008 Server:



Right-click the batch file icon or name in the Windows Explorer.



Click Properties, and then select the Compatibility tab.



Under Privilege Level, select 'Run this program as an administrator' and click OK.


Note : If the 'Run this program as an administrator' option is unavailable, it means that the application is blocked from always running elevated, the application does not require administrative credentials to run, the application is part of the current version of Windows or you are not logged into the computer as an administrator.