Stub received bad data?

Firstly, there is no problem executing the code on Win7/Win8 etc. The problem exists solely on Windows XP. The code is in a button, and basically runs taskmgr.exe as another users credentials (a local admin credentials, this is a Kiosk PC which loads a C# application which can be logged into and then load cmd.exe/taskmgr.exe as a local admin unaffected by the GPOs linked to the Kiosk user).

However, on XP, I get the error when clicking the button: Stub received bad data.


private void btnTaskMgr_Click(object sender, EventArgs e)
    string password = "myPassword";
    SecureString secureString = new SecureString();

    foreach (char chr in password) secureString.AppendChar(chr);

    ProcessStartInfo processAdmin;
    processAdmin = new ProcessStartInfo();
    processAdmin.UseShellExecute = false;
    processAdmin.Password = secureString;
    processAdmin.UserName = "admin";
    processAdmin.FileName = "taskmgr.exe";
    processAdmin.WorkingDirectory = "C:\\Windows\\System32";



Specify domain

processAdmin.Domain = "domain";

Need Your Help

Why does HTML5 recommend putting the code element inside pre?

html css code-formatting

The HTML5 documentation recommends putting the code element inside the pre element, but I don't understand how this is better or more semantic than just using the code element and CSS. In their own

How to show disable HTML select option in by default?

html html-select

I am new to HTML and PHP and want to achieve a drop-down menu from the mysql table and hard-coded too. I have multiple select in my page, One of them is