K
kiros
Hi all
I build the XPE image with two accounts.
One is "Adminsitrator" and the other is "User".
Default logon is "User".
Now i want to setup or upgrade my application automatically.
So i design some simple rules to do that.
As below:
1.Default logon is "User" and check if you want to update or not.
2.If "Yes", i will reboot and logon with "Administrator".
And when you finish that, it will reboot again and logon
with "User" automatically.
PS: I can set the registry key of "DefaultUserName" to autologon
with "Administrator" or "User".
3.If "No", nothing to do.
It can be done and works fine.
But now i have some problem. If i have 10 machines with XPE.
The "User" name is different with each machine.
For example, "User1", "User2", "User3",...
The "Administrator" name is the same with each machine.
So when i upgrade finished, i must logon with "User" again.
But now the "User" name of each machine is different.
So i want to know the "User" name with each machine and set the
registry key to autologn.
How do i get the "User" name?
Thanks
Kiros
I build the XPE image with two accounts.
One is "Adminsitrator" and the other is "User".
Default logon is "User".
Now i want to setup or upgrade my application automatically.
So i design some simple rules to do that.
As below:
1.Default logon is "User" and check if you want to update or not.
2.If "Yes", i will reboot and logon with "Administrator".
And when you finish that, it will reboot again and logon
with "User" automatically.
PS: I can set the registry key of "DefaultUserName" to autologon
with "Administrator" or "User".
3.If "No", nothing to do.
It can be done and works fine.
But now i have some problem. If i have 10 machines with XPE.
The "User" name is different with each machine.
For example, "User1", "User2", "User3",...
The "Administrator" name is the same with each machine.
So when i upgrade finished, i must logon with "User" again.
But now the "User" name of each machine is different.
So i want to know the "User" name with each machine and set the
registry key to autologn.
How do i get the "User" name?
Thanks
Kiros