How do I add username and password information to a vbs script
if the normal login does not provide admin access?

It's a vbs script in a .bat file. So the answer may be in batch format or in vbs format.

I wanna write in the HKLM during logon.

A code sample would be helpful