To hide previous sign-in attempts, adjust the settings in the Local Security Policy editor. Go to `Local Policies` > `Security Options`, and find 'Interactive Logon: Display user information when the session is locked'. Disabling this setting will prevent the display of previous log-in usernames and failed attempts.