At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
essentially I need to login to the computer using the computer that is locked when the application receives the username and password from a phone. I am able to send the information and I can lock the computer only problem is I cannot figure out how to unlock the computer. Any help would be greatly appreciated. I could run powershell scripts or use a cmd and if there is any other method anyone can think of I am willing to try that as well. Thank you in advance.
How about this http://www.codeproject.com/Articles/16197/Remotely-Unlock-a-Windows-Workstation
Couldn't find a download on the page, but I think that the relevant executables are those: https://launchpad.net/remoteunlock
Alright i guess this is sorta what I'm looking for but problem is there isn't a code that is accessible for it. I don't need a pre-compiled exe i need code so i can incorporate it to my application.
I'll try to look for that, you just said that using powershell and other methods are plausible so I posted what I could find
any idea how to write it using either C#, C++ or some sort of power shell script? Hell at this point I dont mind even considering java or anything for that mater
yeah figured power shell would be the easiest way to approach it but im not advanced or anything with power shell so im sorta stumped
essentially this is what im trying to accomplish send info from my phone to the computer and once received by the server side application authenticate the information and unlock the computer.
I am able to lock the computer, just cannot figure out how to unlock it.
I don't think that the language is what matters. If the framework (in our case .NET) doesn't supply you the right tools then you're left to use windows DLLs or something like that. I'll try to see if I could find source code doing that The thing is that powershell (like any shell) executes precompiled files, so I don't understand why the solution above is not good for that
well the solution above is not going to work because it is targeting windows that is prior to windows vista and as of right now that is pointless to have.
I see, Ok lemme see
so essentially i would need some sort of code on how to use a powershell script to authenticate and unlock the workstation in windows 7 and up which I honestly have no idea how to do lol
ok, first of all I found samples for CredentialProvider https://www.microsoft.com/en-us/download/confirmation.aspx?id=5372 Try to see if it's relevant, I'll look too
seems relevant as SimpleCredentialProvider/SimpleCredentialProvider/readme.txt states "This sample implements a simple credential provider. A credential provider allows a 3rd party to provide an alternate way of logging on. For example, a fingerprint solution vendor would write a credential provider to interact with the user and send the appropriate credentials to the system for authentication."
yeah that is what i was looking at i just have no idea how to implement that lol. couldnt figure out how to call the information and unlock the system though. If you can figure it out mind explaining how it works. Oh also is this method depreciated?
i looked at the code but honestly couldnt figure out how to i guess code it lol?
hmm lemme see. I actually don't use windows, so I can't really test it at the moment, maybe I'll try set up a Visual Studio in a virtual machine later and see if I can extract only what's needed for unlocking, but let me read the code to see if I can understand how it works
alright cool really appreciate you taking so much time to help me out btw.