![]() ![]() Set objShell = WScript.CreateObject("WScript.Shell") Open a notepad and create a script.vbs file(The icon of the file will change from text file to vbs script) and paste the following code. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\SecurityLayerĤ. Open Regedit and set the following value to ‘0’, Tick “User must change password at next login”.ģ. You are on the Windows server 2016/2012 and logged in.Ģ. To know how to make a Scheduled Task go here -> ġ. ![]() I made a VBscript which solved the problem which is executed after user Log on. Please update your password or contact your system administrator or technical support.” Once that change has been applied, remote RDP users return to being able to set a new password.Īs an added bonus, this RDP Security Layer is actually more secure, and is also PCI Compliant (at least as of this writing anyway).Ī simple and effective solution for the warning “You must change your password before logging on the first time. To solve the issue, you have to edit the Session Collection, Security, Configure Security settings and then change the Security Layer setting from Auto-Negotiate to RDP Security Layer. How to solve the issue – Change the RDP Security Layer ![]() In either case, the implication is that some person other than that user now knows what that user’s password. Change the password to some other password yourself, and also make sure that property is not set. ![]() Turn off the “User must change password at next login” property.This has the unusual effect of preventing the user from changing their password themselves, leaving the administrator with one of two undesirable options: Please update your password or contact your system administrator or technical support. You must change your password before logging on the first time. Today’s issue is that by default, if a new user account is created, or if the user’s password expires, or if an admin simply checks the Active Directory “User must change password at next login” property, when the user attempts to connect via RDP instead of getting a password change prompt they instead see this error: As I start to roll out Windows Server 2016 to replace Windows Server 2008 R2 RDP Servers, I’ve been encountering issues that just didn’t exist with Server 2008 R2. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |