Have a look here, taken from this related question. This will open the run dialog.
Then if your process has the admin rights, you might be able to call SetWindowText
on the handle of the input box of the dialog, which you'll find with FindWindowEx
or similar.
I really think it's easier to create your own run dialog which looks like the windows one and calls ShellExecute
when "ok" is clicked.