win doesn't implement consctl on the other hand, for this particular case you might be able to store the password in factotum which will provide it for you and it won't be shown.