S
sharp1257
Guest
Hi,
We have executed the below query from the C# code when logged in with a Microsoft account on Windows 8.1 PC.
(get-wmiobject Win32_ComputerSystem –ComputerName "<user pc="" name="">").UserName
We have received the below Answer.
Lenovo-Pc/user.@outlook.com>
But, our user in the market got the below response.
Lenovo-Pc/LENOVO-PC/user.@outlook.com>
This strange answer is received on Microsoft account in Windows 8.1.
Due to this our code failed.
Which PC setting causes the WMI to give the strange answer for UserName query?
Appreciate any quick response.
Thank you very much.
Continue reading...
We have executed the below query from the C# code when logged in with a Microsoft account on Windows 8.1 PC.
(get-wmiobject Win32_ComputerSystem –ComputerName "<user pc="" name="">").UserName
We have received the below Answer.
Lenovo-Pc/user.@outlook.com>
But, our user in the market got the below response.
Lenovo-Pc/LENOVO-PC/user.@outlook.com>
This strange answer is received on Microsoft account in Windows 8.1.
Due to this our code failed.
Which PC setting causes the WMI to give the strange answer for UserName query?
Appreciate any quick response.
Thank you very much.
Continue reading...