Joining a Domain using a .sdi image.

B

brunoleveille

Hi all,

I got a problem regarding joinning a domain and using a SDI image.

[note: my image doesn't have the info of the Domain]

First Idea:
If I try to change the domain of the PC booting from my image using
NetDom.exe (or any other tools/script), it ask me to reboot the PC to
apply the change. So this solution doesn't work since a reboot mean
getting back to my image.

How to resolve First Idea:
I need something that could allow me to join a domain without
rebooting my PC. I yet found something that could do this. Anyone have
this kind of tool?


Second Idea (more Xpe problem):
I could put the Domain information in my SDI image by extracting my
SDI, boot from the the normal windows file of my SDI, login the
domain, reboot, create back my SDI. This will make my problem solve.
BUT this will only work for one PC domain. The problem is that this
image need to be deploy on different PC Domain. (The domain keep the
same name but the pc change). So this solution won't work cause if I
put my image on a pc that have a new domain PC, the SID that my image
have to connect to the domain is wrong sicne the PC changed.

How to resolve Second Idea:
I don't know. The solution will work if the Domain PC stay the same
but won't work as soon has the Domain PC change. Is there a option is
Xpe that allow me to connect to a Domain using a SDI image and will
still work even if the Domain PC change?

Thanks,
 
H

Hans Oele

Hi,

We have solved this the followin way:

We created a batchfile called joindom.bat that contains the following code:


@ECHO OFF

echo.---------------------------------------------------------------
echo. iTactic oktober 2007
echo.---------------------------------------------------------------
echo.
echo. This computer needs to be added to the domein.
pause
c:\install\netdom join %COMPUTERNAME% /Domain:[DOMEIN] /UserD:[USER]
/PasswordD:[PASSWORD]
goto answer
:Answer
echo.
echo. If this machine is added to the domain succesful press1
echo.
echo. If this machine is not added to the domain succesful (message failed)
press 2
echo.
echo. To suspend this process press 3
echo.
set /p answer=Give you're choice :
if %answer% == 1 goto exit
if %answer% == 2 goto again
if %answer% == 3 goto suspens
:blush:pnieuw
echo.
c:\install\netdom join %COMPUTERNAME% /Domain:[DOMEIN] /UserD:[USER]
/PasswordD:[PASSWORD]
goto answer
:bel
cls
echo. -----------------------------------------------------------------------------
echo. This computer is not added to the domain succesfull and won't work.
echo. the entire process needs to be run again. Possible cause can be a
mismatched
echo. machinename or that the machinename is not know in the domain.
echo. if any doubt please contact the ICT department
echo. -----------------------------------------------------------------------------
pause
goto exit
:exit
c:\install\remove.bat
exit

The remove.bat removes the joindom.bat from the system and the startup
folder. Also it does the following:

c:\windows\system32\ewfmgr.exe C: -commit
c:\windows\system32\shutdown.exe -r -t 10

The first is done to commit the changes and the second is done to reboot if
you wish to.

Kind regards,

Hans Oele
AAC Cosmos/iTactic
The Netherlands

Hi all,

I got a problem regarding joinning a domain and using a SDI image.

[note: my image doesn't have the info of the Domain]

First Idea:
If I try to change the domain of the PC booting from my image using
NetDom.exe (or any other tools/script), it ask me to reboot the PC to
apply the change. So this solution doesn't work since a reboot mean
getting back to my image.

How to resolve First Idea:
I need something that could allow me to join a domain without
rebooting my PC. I yet found something that could do this. Anyone have
this kind of tool?


Second Idea (more Xpe problem):
I could put the Domain information in my SDI image by extracting my
SDI, boot from the the normal windows file of my SDI, login the
domain, reboot, create back my SDI. This will make my problem solve.
BUT this will only work for one PC domain. The problem is that this
image need to be deploy on different PC Domain. (The domain keep the
same name but the pc change). So this solution won't work cause if I
put my image on a pc that have a new domain PC, the SID that my image
have to connect to the domain is wrong sicne the PC changed.

How to resolve Second Idea:
I don't know. The solution will work if the Domain PC stay the same
but won't work as soon has the Domain PC change. Is there a option is
Xpe that allow me to connect to a Domain using a SDI image and will
still work even if the Domain PC change?

Thanks,
 
B

brunoleveille

Hi,

We have solved this the followin way:

We created a batchfile called joindom.bat that contains the following code:

@ECHO OFF

echo.---------------------------------------------------------------
echo.                                           iTactic oktober 2007
echo.---------------------------------------------------------------
echo.
echo. This computer needs to be added to the domein.
pause
c:\install\netdom join %COMPUTERNAME% /Domain:[DOMEIN] /UserD:[USER]
/PasswordD:[PASSWORD]
goto answer
:Answer
echo.
echo. If this machine is added to the domain succesful press1
echo.
echo. If this machine is not added to the domain succesful (message failed)
press 2
echo.
echo. To suspend this process press 3
echo.
set /p answer=Give you're choice :
if %answer% == 1 goto exit
if %answer% == 2 goto again
if %answer% == 3 goto suspens
:blush:pnieuw
echo.
c:\install\netdom join %COMPUTERNAME% /Domain:[DOMEIN] /UserD:[USER]
/PasswordD:[PASSWORD]
goto answer
:bel
cls
echo.  ---------------------------------------------------------------------------­--
echo.  This computer is not added to the domain succesfull and won't work.
echo.    the entire process needs to be run again. Possible cause can be a
mismatched
echo.    machinename or that the machinename is not know in the domain..
echo.        if any doubt please contact the ICT department
echo.  ---------------------------------------------------------------------------­--
pause
goto exit
:exit
c:\install\remove.bat
exit

The remove.bat removes the joindom.bat from the system and the startup
folder. Also it does the following:

c:\windows\system32\ewfmgr.exe C: -commit
c:\windows\system32\shutdown.exe -r -t 10

The first is done to commit the changes and the second is done to reboot if
you wish to.

Kind regards,

Hans Oele
AAC Cosmos/iTactic
The Netherlands

<[email protected]> schreef in bericht

I got a problem regarding joinning a domain and using a SDI image.
[note: my image doesn't have the info of the Domain]
First Idea:
If I try to change the domain of the PC booting from my image using
NetDom.exe (or any other tools/script), it ask me to reboot the PC to
apply the change. So this solution doesn't work since a reboot mean
getting back to my image.
How to resolve First Idea:
I need something that could allow me to join a domain without
rebooting my PC. I yet found something that could do this. Anyone have
this kind of tool?
Second Idea (more Xpe problem):
I could put the Domain information in my SDI image by extracting my
SDI, boot from the the normal windows file of my SDI, login the
domain, reboot, create back my SDI. This will make my problem solve.
BUT this will only work for one PC domain. The problem is that this
image need to be deploy on different PC Domain. (The domain keep the
same name but the pc change). So this solution won't work cause if I
put my image on a pc that have a new domain PC, the SID that my image
have to connect to the domain is wrong sicne the PC changed.
How to resolve Second Idea:
I don't know. The solution will work if the Domain PC stay the same
but won't work as soon has the Domain PC change. Is there a option is
Xpe that allow me to connect to a Domain using a SDI image and will
still work even if the Domain PC change?
Thanks,- Hide quoted text -

- Show quoted text -

but, after the command c:\windows\system32\ewfmgr.exe C: -commit is
done, do you join the domain? or you still need a reboot to join it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

sdi and 2.5G image 3
HELP!!! for bootable CD for sdi image 0
SDI doesn't work 2
Booting a SDI file on USB 2
Deploying image using SDI 1
.sdi boot image? 2
SDI Image Size 1
Lost domain after 30 days (FBWF) 1

Top