To add a .reg file silently to your Windows registry, you can use the regedit command. As almost always, the /s parameter is for silent and /q for quiet.
regedit /s your-key.reg
It’s not entirely silent, as it asks for administrator approval. I want to use this in a login script for computers that are not joined to the domain.
Email: email@example.com (remove no-spam)
© 2020 Sysadmins of the North
Theme by Anders Noren — Up ↑