none
Which is the right forum to ask about CreateProcessWithLogonW throw 1783 when environment block is passed as parameter

    Question

  • I want to launch a process under a local user in Window7 and Windows10 system. The new process need new environment variable .

    So I have created a local user . Create Environment Block using the token obtained from LogonUser API. Then added new environment variable to the Environment Block . When CreateProcessWithLogonW is called with this updated Environment Block application throws error code 1783 ( stub received bad data) .

    regards

    Somara

    Wednesday, March 15, 2017 10:54 AM

Answers