K
Kapil
Hi All,
I am facing a strange problem.
My setup is as follows:
1. Embedded XP with SP2
2. Automatic login is enabled
3. Custom shell
4. EWF RAM
System works as follows:
System has a power controller board and custom shell application
communicates with it.
Power controller board has external jumpers. Depending on the jumper
settings, custom shell application changes the computer name e.g.,
PC1, PC2 etc.
Operating system image has PC1 as default computer name so the system
works fine when jumper settings are set to PC1.
Problem:
When jumper settings are set to PC2, custom shell application changes
the computer name to PC2 but alternate default domain name
(AltDefaultDomainName) located at
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
\Winlogon] remains as PC1.
If EWF is disabled then at the next bootup cycle the
AltDefaultDomainName changes to PC2.
If EWF is enabled then AltDefaultDomainName does not change unless we
commit the changes.
When regmon is run at the bootup, logs show that AltDefaultDomainName
is updated by Winlogon.exe
I do not think we have any control over execution sequence of
winlogon.exe (i.e., force winlogon.exe to run after custom shell
application is started).
We do not want to make any changes at the application level
(preferably).
Is there any way to tell windows to ignore AltDefaultDomainName key ?
Because of the mismatch in the hostname and AltDefaultDomainName,
network shares cannot be accessed.
Suppose there is share on PC2 viz; \\PC2\Shared_Folder with permission
as "Full Control" to all users (Everyone). In this case the current
user on PC2 cannot access the shared folder \\PC2\Shared_Folder.
Windows thinks that current user is from the PC1 as
AltDefaultDomainName is PC1. But if I access the share folder with IP
address i.e., \\1.1.1.2\\Shared_Folder it works perfectly fine.
Please advise so that I can either change the AltDefaultDomainName or
completely ignore it during shared folder access.
(Please note that manual change of AltDefaultDomainName does not make
any difference.)
All inputs and suggestions are welcome.
Thanks in advance
Kapil
I am facing a strange problem.
My setup is as follows:
1. Embedded XP with SP2
2. Automatic login is enabled
3. Custom shell
4. EWF RAM
System works as follows:
System has a power controller board and custom shell application
communicates with it.
Power controller board has external jumpers. Depending on the jumper
settings, custom shell application changes the computer name e.g.,
PC1, PC2 etc.
Operating system image has PC1 as default computer name so the system
works fine when jumper settings are set to PC1.
Problem:
When jumper settings are set to PC2, custom shell application changes
the computer name to PC2 but alternate default domain name
(AltDefaultDomainName) located at
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
\Winlogon] remains as PC1.
If EWF is disabled then at the next bootup cycle the
AltDefaultDomainName changes to PC2.
If EWF is enabled then AltDefaultDomainName does not change unless we
commit the changes.
When regmon is run at the bootup, logs show that AltDefaultDomainName
is updated by Winlogon.exe
I do not think we have any control over execution sequence of
winlogon.exe (i.e., force winlogon.exe to run after custom shell
application is started).
We do not want to make any changes at the application level
(preferably).
Is there any way to tell windows to ignore AltDefaultDomainName key ?
Because of the mismatch in the hostname and AltDefaultDomainName,
network shares cannot be accessed.
Suppose there is share on PC2 viz; \\PC2\Shared_Folder with permission
as "Full Control" to all users (Everyone). In this case the current
user on PC2 cannot access the shared folder \\PC2\Shared_Folder.
Windows thinks that current user is from the PC1 as
AltDefaultDomainName is PC1. But if I access the share folder with IP
address i.e., \\1.1.1.2\\Shared_Folder it works perfectly fine.
Please advise so that I can either change the AltDefaultDomainName or
completely ignore it during shared folder access.
(Please note that manual change of AltDefaultDomainName does not make
any difference.)
All inputs and suggestions are welcome.
Thanks in advance
Kapil