S
S
Sergey Pribylskiy2013-01-25 09:01:35
WiFi
Sergey Pribylskiy, 2013-01-25 09:01:35

Wi-fi and password to enter windows

Good afternoon!
I set out to search for a program that would allow the laptop not to ask for a password to enter windows immediately after turning it on if it is in the coverage area (connected) to a specific wi-fi network.
For example, at home, entering a password is not required, but if you turn it on at work, windows will ask for a password when you start it.
Is this even possible?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
M
merlin-vrn, 2013-01-25
@merlin-vrn

Windows has a very flexible authentication system called GINA . In addition to the built-in msgina.dll, there are other projects that implement this interface - for example, pGINA allows you to log in to Windows using a sign in the MySQL database, the LDAP database, checking the password on the IMAP server, and the like.
It is possible to write such a plugin for it, as you described. But I don't know what's ready.

K
KEKSOV, 2013-01-25
@KEKSOV

I can't say about the finished program, but I can offer the following crutch:
1. Automatic login is done immediately, without any checks. This is configured right in the operating system itself. This, of course, is not safe, but, suddenly, this option will suit you.
2. Something like such a bat file is launched, which is registered in the user's startup:

@echo off

set MY_HOME_IP=10.11.12.101
echo MY_HOME_IP=%MY_HOME_IP% 

for /f "usebackq delims=" %%j in ( `ipconfig /all ^| findstr /i /c:"%MY_HOME_IP%"` ) do (
    echo Home, sweet home...
    goto:finally
)

call::fnDoLogout

:finally
exit /b

rem function fnDoLogout
:fnDoLogout
echo Evil corporation. Logout!
%windir%\System32\rundll32.exe user32.dll,LockWorkStation
exit /b

A
alt_r, 2013-01-25
@alt_r

And how, in your opinion, the OS on a turned off computer will determine the presence of wi-fi? It seems to me that it is impossible to bind authorization in windows to the presence of wi-fi.
As an option - you are at work from Monday to Friday from ~ 9:00 to ~ 18:00 - you can dig towards the task in the task scheduler, depending on the time of day of the keys in the registry branch
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon\
1. Set AutoAdminLogon = 1 (string variable)
2. Set DefaultUserName = %username% (string variable)
3. Set DefaultPassword = %password% (string variable)
Depending on the presence of 1/0 in the first Windows key will / will not ask for a password when loading.
Credentials are specified openly, so the proposed method is very insecure.

S
stavinsky, 2013-01-25
@stavinsky

As far as I know, the behavior of winlogon can be customized by changing the dll. If you are a good programmer, dig in this direction.
At least I know for sure a person who, in winlogon, for the sake of playing around, turned off password checking, but left the input form. Therefore, if you don’t enter, he will accept and let

N
Nikolai Turnaviotov, 2013-01-26
@foxmuldercp

I had a softinka on my old HP laptop that stored and called all the passwords to the fingerprint. what to enter the domain when the machine starts, what to ICQ / Skype or even to some site / forum

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question