Questions tagged [winlogon]

Winlogon is the component of Microsoft Windows operating systems that is responsible for handling the secure attention sequence.

Winlogon is the component of Microsoft Windows operating systems that is responsible for handling the secure attention sequence, loading the user profile on logon, and optionally locking the computer when a screensaver is running (requiring another authentication step). The actual obtainment and verification of user credentials is left to other components. Winlogon is a common target for several threats that could modify its function and memory usage. Increased memory usage for this process might indicate that it has been "hijacked". In Windows Vista and later operating systems, Winlogon's roles and responsibilities have changed significantly.

192 questions
28
votes
6 answers

How to programmatically interact with winlogon?

I have a Windows Service that I want to use to programmatically unlock the workstation, using the account username and password. This article https://technet.microsoft.com/en-us/library/dn751047(v=ws.11).aspx explains the logon authentication…
Dog
  • 474
  • 8
  • 25
11
votes
3 answers

Custom Windows Authentication Package

So, here is the scenario. I am developing a logon system in windows 7. I have created a Credential Provider, containing one Credential. The Credential has three input fields, username, password, and PIN. From what I have learned the documentation…
10
votes
1 answer

How to start a new Windows logon session (RDP or console) programmatically

I've been banging my head against this for several hours, so I figured it's time to ask. I'll start with a high-level description of the situation. You can find the entire source code at https://github.com/Jay-Rad/InstaTech_Client. This question…
Jared
  • 764
  • 7
  • 17
10
votes
2 answers

How to switch a process between default desktop and Winlogon desktop?

I am writing a remote desktop application like TeamViewer in C++ on Windows 7 (x64) and Windows 8 (x64). 1. What made me stuck I have implemented the mouse input and keyboard input by using SendInput(). I found SendInput() worked perfectly when the…
Leon
  • 792
  • 1
  • 6
  • 13
9
votes
2 answers

Create an interactive logon session

I'm trying to create a utility similar to Microsoft's abandoned Super Fast User Switcher (download), which allows fast user switching without going through the Welcome screen. I have a working implementation using the undocumented WinStationConnectW…
SLaks
  • 868,454
  • 176
  • 1,908
  • 1,964
7
votes
2 answers

Is it possible to display my window over a Windows logon screen?

I'm writing a service/user-mode application that may send the system into sleep after a certain customizable period of inactivity. The user-mode process may require to display a user message/warning before performing a power operation. This works…
c00000fd
  • 20,994
  • 29
  • 177
  • 400
7
votes
4 answers

How to display UI on logon screen in Windows 7

I would like to display an UI that interacts with user on pre-logon screen (the screen where users usually enter their username/password) I read that the architecture of Winlogon packages has changed and will not help me in Windows 7. I was referred…
user1683517
  • 171
  • 3
  • 7
6
votes
2 answers

How to unlock user PC using C#

Possible Duplicate: Unlock Windows programmatically I am writing an app that will lock and than unlock user PC. Locking a machine is relativeley simple. However unlocking is just plain black magic for me... Lets assume, that after some event (ex.…
a_dzik
  • 927
  • 2
  • 11
  • 24
5
votes
1 answer

Building a custom credential provider for Windows 7

After looking through the code for building custom credential providers for Windows 7, I managed to get my own tile to show up on the logon screen, and can logon as the desired user. However, I am trying to implement a system where an event (a…
Soumya
  • 13,677
  • 6
  • 34
  • 49
5
votes
1 answer

HTTPS Request From a Credential Provider DLL

I've been creating a Credential Provider DLL that authenticates via the internet before allowing login. However this hasn't worked as well as I expected because my WinHTTP request isn't getting sent. I've confirmed this using wire shark. but I can't…
5
votes
0 answers

Implementation of Custom Windows Authentication Package

I have been working on implementing custom authentication package for windows 10. After reading the following documentation of Windows…
5
votes
2 answers

custom windows credential provider azure ad

I created my own implementation of ICredentialProvider and ICredentialProviderCredential for Windows sample code , so I can use my own process to login in windows REF. It works with credentials from a simple Windows user account, but for credentials…
5
votes
0 answers

LogonUser can be too slow - looking for a way to authenticate the user only locally, or reduce the central validation timeout

I'm having trouble finding a quick way to authenticate users. LogonUser takes several seconds to return when a connection to the domain controller is slow or not available. I'm using LOGON32_LOGON_NETWORK as the logon type, which I've read it's…
baderous
  • 121
  • 8
4
votes
1 answer

Custom Authentication Package - Winlogon.exe exception after successful logon

I am developing credential provider with custom authentication package. I have implemented LsaApLogonUserEx() as per msdn. My AP function LsaApLogonUserEx() gets called during logon. CreateLogonsession() is successful but immediately winlogon…
4
votes
1 answer

Compiling a Credential Provider with MinGW

I found some examples from Microsoft, but I'm not sure how to get started. I have what appears to be a VS project and a file with Registry entries. There are no makefiles included and not really any instructions on how to build. I am trying to use…
beatgammit
  • 19,817
  • 19
  • 86
  • 129
1
2 3
12 13