Pre-, post- commands have probs with some external tools

Discussion in 'Acronis True Image Product Line' started by chrizio, Jul 26, 2009.

Thread Status:
Not open for further replies.
  1. chrizio

    chrizio Guest

    ATI Home 2009

    Post command should do following
    echo y > yesanswer.txt
    cscript pagefileconfig.vbs /create /i 716 /m 716 /vo c: < yesanswer.txt
    However, command invokes a batch file. Batch comprises above lines.

    All that results as following

    Microsoft (R) Windows Script Host Version 5.7
    Copyright (C) Microsoft Corporation. All rights reserved.

    WARNING: If the pagefile on volume 'C:' has an initial size of less than
    2046 MB, then the system may not be able to create debugging
    information file if a STOP error occurs.
    Continue Anyway [y/n]?
    ERROR: Page File for the specified volume cannot be created.

    No probs, if doing that by pushing the button "test command"

    I have similar probs while invoking the tool SetACL.exe from a post-processing command batch. The details regarding those probs I will report within next days. Here details regarding issue with SetACL tool:
    Post-processing command invokes a batch, the batch comprises following line
    c:\windows\System32>SetACL.exe -on "\\KRZYDU-PC01\Z$" -ot file -actn list -lst "f:sddl;w:d,s,o,g;i:y;s:b" -bckp "zdrv_acplbckp.csv"

    Following error is being produced
    ERROR: Reading the SD from <\\?\UNC\KRZYDU-PC01\Z$> failed with: The data area passed to a system call is too small.

    SetACL finished with error(s):
    SetACL error message: A privilege could not be enabled

    No probs if running this code by pushing "test command" button.

    The tool author claims following regarding this situation:
    "This happens if you instruct SetACL to read and/or write from/to the SACL and the privilege SE_SECURITY_NAME could not be enabled. This privilege is also called SeSecurityPrivilege and is required to access SACLs.

    Either make sure the user account SetACL is run from has the privilege or, when listing permissions, do not list the SACL's contents."
    So pre-, post- commands doesn't seam to have sufficient privileges.
    Last edited by a moderator: Jul 27, 2009
Thread Status:
Not open for further replies.