Finally, I found a way to achieve this requirement, a bit indirect, but it was the only way I could find at the end.
What I did was simple - just created one Windows Logon.vbs script to handle this popup and named vbs in VBA.
Refer to the sample below if you are looking for something like this:
Windows Script:
'Creating an script object Set oWSH = WScript.CreateObject("WScript.Shell") 'Activating alert screen oWSH.AppActivate ("Windows Security") 'Passing the value UserName/UserID oWSH.SendKeys "USERNAME" 'ensure to complete the username with apropriate domain eg, abc/A123456 'Changing the focus to password textbox oWSH.SendKeys "{TAB}" 'Passing the value password oWSH.SendKeys "PASSWORD" 'Clicking enter to complete the screen oWSH.SendKeys "{ENTER}" 'Releasing the script object Set oWSH = Nothing
VBA code to call the VBS script - Logon.vbs:
Shell "WScript C:\Users\ABC\Desktop\Logon.vbs", vbNormalFocus
source share