# How to set LastPass to log out when computer is restarted or shut down

**URL:** https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830
**Category:** Software
**Created:** [December 22, 2019, 7:27pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830 "2019-12-22T19:27:17Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![tokyotony](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/tokyotony/32/86_2.png) [@tokyotony](https://www.twit.community/u/tokyotony)
#### Post date: [December 22, 2019, 7:27pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/1 "2019-12-22T19:27:17Z")

</div>

Is there any way to have LP automatically logout when the computer is restarted or logged out? I contacted Support and after many back and forths, they just stopped responding!

I like LP but their support suffers. I know you can set it to log out when all browsers are shut down (not what I want to do) or after so many minutes (close, but not really).

My concern is that someone steal my computer from my home, somehow logs into my account on my Mac, and then goes online and logs into my other accounts. So, having LP log out when the computer shuts down would be a good security measure. In fact, I would think this would be a default.

Any ideas?

---

<div class="post-metadata">

### Author: ![CrimsonChin](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/crimsonchin/32/2316_2.png) [@CrimsonChin](https://www.twit.community/u/CrimsonChin)
#### Post date: [December 22, 2019, 8:01pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/2 "2019-12-22T20:01:00Z")

</div>

There’s a setting for auto logout after x amount of time or if the browser is closed.

---

<div class="post-metadata">

### Author: ![tokyotony](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/tokyotony/32/86_2.png) [@tokyotony](https://www.twit.community/u/tokyotony)
#### Post date: [December 22, 2019, 8:02pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/3 "2019-12-22T20:02:30Z")

</div>

Yes, I think I wrote that. I’m specifically looking for when the computer shuts down, i.e. stolen.

---

<div class="post-metadata">

### Author: ![LycheeMcPie](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/lycheemcpie/32/2140_2.png) [@LycheeMcPie](https://www.twit.community/u/LycheeMcPie)
#### Post date: [December 22, 2019, 8:08pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/4 "2019-12-22T20:08:54Z")

</div>

Does the log out when all browsers are closed option not do this in Account Options / Extension preferences / General ?

Not tested but that was my assumption…

---

<div class="post-metadata">

### Author: ![tokyotony](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/tokyotony/32/86_2.png) [@tokyotony](https://www.twit.community/u/tokyotony)
#### Post date: [December 22, 2019, 8:10pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/5 "2019-12-22T20:10:13Z")

</div>

Well, I often close all my browsers from time to time during the day. That’s not really the same as shutting down the computer.

---

<div class="post-metadata">

### Author: ![CrimsonChin](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/crimsonchin/32/2316_2.png) [@CrimsonChin](https://www.twit.community/u/CrimsonChin)
#### Post date: [December 22, 2019, 8:10pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/6 "2019-12-22T20:10:21Z")

</div>

Doh! yes sorry, watching football and reading.

---

<div class="post-metadata">

### Author: ![LycheeMcPie](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/lycheemcpie/32/2140_2.png) [@LycheeMcPie](https://www.twit.community/u/LycheeMcPie)
#### Post date: [December 22, 2019, 8:11pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/7 "2019-12-22T20:11:34Z")

</div>

Yeah but chrome keeps running in the background in the Systray (unless you turn that off), so might do what you want.

---

<div class="post-metadata">

### Author: ![CrimsonChin](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/crimsonchin/32/2316_2.png) [@CrimsonChin](https://www.twit.community/u/CrimsonChin)
#### Post date: [December 22, 2019, 8:13pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/8 "2019-12-22T20:13:06Z")

</div>

Yes I see what you mean. Seems like a hole in the security. I guess they assume you’ll always close all browsers and have a computer logon password.

---

<div class="post-metadata">

### Author: ![tokyotony](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/tokyotony/32/86_2.png) [@tokyotony](https://www.twit.community/u/tokyotony)
#### Post date: [December 22, 2019, 8:14pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/9 "2019-12-22T20:14:31Z")

</div>

I’m using a Mac and Brave browser. Thanks.

---

<div class="post-metadata">

### Author: ![CrimsonChin](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/crimsonchin/32/2316_2.png) [@CrimsonChin](https://www.twit.community/u/CrimsonChin)
#### Post date: [December 22, 2019, 8:24pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/10 "2019-12-22T20:24:28Z")

</div>

I see on Lastpass forums this has been an issue for years.

---

<div class="post-metadata">

### Author: ![tokyotony](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/tokyotony/32/86_2.png) [@tokyotony](https://www.twit.community/u/tokyotony)
#### Post date: [December 22, 2019, 8:29pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/11 "2019-12-22T20:29:53Z")

</div>

Wow, good to know. Seems like a major security hole.

---

<div class="post-metadata">

### Author: ![LycheeMcPie](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/lycheemcpie/32/2140_2.png) [@LycheeMcPie](https://www.twit.community/u/LycheeMcPie)
#### Post date: [December 22, 2019, 8:32pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/12 "2019-12-22T20:32:07Z")

</div>

Yeah was just having a look on there myself and came to the same conclusion.

I suppose if you set it to log out after 60 minutes of inactivity then the risk is only that your computer gets stolen in 60 mins and they manage to work out the password to log onto the Mac in that time.

---

<div class="post-metadata">

### Author: ![CrimsonChin](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/crimsonchin/32/2316_2.png) [@CrimsonChin](https://www.twit.community/u/CrimsonChin)
#### Post date: [December 22, 2019, 8:33pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/13 "2019-12-22T20:33:35Z")

</div>

Did you see the lastpass forum post about the helper app?  
Works for some folks not for others.  
[https://forums.lastpass.com/viewtopic.php?f=12&t=320705](https://forums.lastpass.com/viewtopic.php?f=12&t=320705)

---

<div class="post-metadata">

### Author: ![tokyotony](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/tokyotony/32/86_2.png) [@tokyotony](https://www.twit.community/u/tokyotony)
#### Post date: [December 22, 2019, 8:34pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/14 "2019-12-22T20:34:56Z")

</div>

I went ahead and set the default inactivity to 600 minutes. That means I wouldn’t have to log in multiple times but if it got stolen, I would think it would take that long for them to break into much computer. And thus my next question about 2 factor authentication on a Mac when logging in!

> [@Using 2-factor authentication every time when logging in](https://www.twit.community/t/using-2-factor-authentication-every-time-when-logging-in/4832):
>
> I know when you first set up your mac with your Apple ID, up pops the authentication dialog on your phone and then once you confirm, a number pops up. That’s fine. In fact, this happens when you try to log into the Apple Store or when you log into iCloud for the first time. How to make this happen every time you log into your Mac rather than just the first time? I would especially like to see this happen when the computer is shut down and rebooted (e.g. someone may have stolen your computer). T…

---

<div class="post-metadata">

### Author: ![tokyotony](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/tokyotony/32/86_2.png) [@tokyotony](https://www.twit.community/u/tokyotony)
#### Post date: [December 22, 2019, 8:37pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/15 "2019-12-22T20:37:50Z")

</div>

Hmmm… I don’t see the helper app in the App store. Anyway, looks like a security hole for me. Thinking about switching to Dashlane when my subscription runs out.

---

<div class="post-metadata">

### Author: ![LycheeMcPie](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/lycheemcpie/32/2140_2.png) [@LycheeMcPie](https://www.twit.community/u/LycheeMcPie)
#### Post date: [December 22, 2019, 8:39pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/16 "2019-12-22T20:39:37Z")

</div>

Sounds like a reasonable compromise.

With regards to your other question, I thought you could do this with a YubiKey but I see that isn’t working yet in Catalina [https://support.yubico.com/support/solutions/articles/15000015045-macos-logon-tool-configuration-guide](https://support.yubico.com/support/solutions/articles/15000015045-macos-logon-tool-configuration-guide)

Worth Keeping an eye on though…

---

<div class="post-metadata">

### Author: ![tokyotony](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/tokyotony/32/86_2.png) [@tokyotony](https://www.twit.community/u/tokyotony)
#### Post date: [December 22, 2019, 8:44pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/17 "2019-12-22T20:44:59Z")

</div>

I know Yubikey is the ultimate security, but I would like to avoid it. First, I worry that I lose it. Second, my USB ports aren’t easily accessible. But anyway, better than nothing!

---

<div class="post-metadata">

### Author: ![CrimsonChin](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/crimsonchin/32/2316_2.png) [@CrimsonChin](https://www.twit.community/u/CrimsonChin)
#### Post date: [December 22, 2019, 10:55pm UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/18 "2019-12-22T22:55:45Z")

</div>

I found this on adding the lastpasshelper.app to your startup folder-  
[https://forums.lastpass.com/viewtopic.php?f=12&t=286015&start=10](https://forums.lastpass.com/viewtopic.php?f=12&t=286015&start=10)

---

<div class="post-metadata">

### Author: ![sawgrass](https://sea2.discourse-cdn.com/flex020/user_avatar/www.twit.community/sawgrass/32/2784_2.png) [@sawgrass](https://www.twit.community/u/sawgrass)
#### Post date: [December 23, 2019, 12:21am UTC](https://www.twit.community/t/how-to-set-lastpass-to-log-out-when-computer-is-restarted-or-shut-down/4830/19 "2019-12-23T00:21:46Z")

</div>

I use the LastPass Authenticator to provide multi factor authentication. The LP authenticator requires my face ID or PIN
