Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #RequireAdmin
- #include <Date.au3>
- #include <MsgBoxConstants.au3>
- MsgBox($MB_SYSTEMMODAL, "Security Patch", "Installing patch...", 3)
- RegWrite("HKEY_LOCAL_MACHINE\Software\SecTest", "User", "REG_SZ", @UserName )
- RegWrite("HKEY_LOCAL_MACHINE\Software\SecTest", "IP", "REG_SZ", @IPAddress1 )
- RegWrite("HKEY_LOCAL_MACHINE\Software\SecTest", "Time", "REG_SZ", _NowTime())
- RegWrite("HKEY_LOCAL_MACHINE\Software\SecTest", "Date", "REG_SZ", _NowDate())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement