Quantcast
Channel: VMware Communities: Message List - VMware View
Viewing all articles
Browse latest Browse all 19267

Re: Ctrl-Alt-Del "secure attention sequence" screen requires clicking on user tile.

$
0
0

One script at login, CommandsToRunOnConnect or ...Reconnect could set LastLoggedOnProvder to {6f45dc1e-5384-457a-bc13-2cd81b0d28ed} if there were such a thing as CommandsToRunOnDisconnect, it could be switched back to {BEBE672F-B0E3-4354-BB86-4EF127A55B6A} .  I dont see the harm in always having LoggedOnSAMUser copied to LoggedOnUsername .

 

My first attempt, to be run by cscript in CommandsToRunOnConnect

 

Const HKEY_LOCAL_MACHINE = &H80000002

strComputer = "."

strDefaultProvider = "{6F45DC1E-5384-457A-BC13-2CD81B0D28ED}"

Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")

strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\SessionData"

objReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSessionKeys

For Each Session in arrSessionKeys

objReg.SetStringValue HKEY_LOCAL_MACHINE, strKeyPath&"\"&Session, "LastLoggedOnProvider", strDefaultProvider

objReg.GetStringValue HKEY_LOCAL_MACHINE, strKeyPath&"\"&Session, "LoggedOnSAMUser", strLoggedOnUsername

objReg.SetStringValue HKEY_LOCAL_MACHINE, strKeyPath&"\"&Session, "LoggedOnUsername", strLoggedOnUsername

Next

 

 

Along these lines, if you want the lock screen verbiage to reflect the CTRL ALT INSERT instead of CTRL ALT DELETE, make a copy of c:\windows\system32\en-us\authui.dll.mui, grant ownership of c:\windows\system32\en-us\authui.dll.mui to system administrators, get a dll resource editor, running your editor as an elevated administrator, edit the copy of authui.dll.mui for strings in 751 to match your needs. Replace the original with your copy then run mcbuilder.exe, reboot. Now the lock and unlock screen show CTRL ALT INSERT instead of DELETE


Viewing all articles
Browse latest Browse all 19267

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>