The CreateFile function creates or opens a file, file stream, directory, physical
disk, volume, console buffer, tape drive, communications resource, mailslot, or
named pipe.
For remote-access situations where ui is not an option, if UI was specified
on protect or unprotect operation, the call will fail and GetLastError() will
indicate ERROR_PASSWORD_RESTRICTION.