Как получить уведомление, когда кто-то вошел в мой компьютер?

2606
Gowtham E

Я хочу отправить себе письмо, сообщение или предупреждение, когда кто-то вошел в мою машину. Это возможно настроить на моем компьютере с Windows 7?

16

1 ответ на вопрос

25
LPChip

Yes, you can do this.

Go to start > Control Panel > Administrative Tools > Task Scheduler

First Leftclick then Rightclick on Task Scheduler Library and select Create Task...

At Name, give it a name that is recognizable to you.

To to the tab Triggers

Press New...

At the top after Begin the task: On a schedule change this to: At log on and press OK

Go to the Actions tab and press the New... button.

At Action: Start a program change to Send an e-mail

Fill in all the forms, Attachment is optional. SMTP server has to be a valid smtp server. Choose the one from your ISP. If you don't know, google for SMTP server [name of isp]

Finally press OK

This will send an email everytime a user logs in, including yourself, so log out and back in to test if it works.

You may be able to use %USERNAME% in your message to show who is logged in. Given that I am on windows 8.1 I am not able to test this as the e-mail function is deprecated in this OS version.

Important notice: This does NOT work in Windows 8 or later, nor Windows Server 2012. Sending an email or displaying a message is a deprecated function in these OS's. Displaying a msg can be done differently using start a program msg * type message here

хотя ваш скрипт может отправить электронное письмо, скажем, powershell. joojaa 8 лет назад 0
@joojaa Да, возможно, но, учитывая, что это все еще работает в Windows 7, я не включил это в свой ответ. LPChip 8 лет назад 0
** Я думал, что Windows должна быть простой. ** В Ubuntu просто добавьте `mail -s“ Кто-то вошел в систему ”you @ gmail.com` в файл профиля. dotancohen 8 лет назад 1
Кто сказал, что Windows должна быть простой? * Шутка * DIDIx13 6 лет назад 0

Похожие вопросы