Domainjoin
Verfasst: 23 Mai 2012, 14:26
Hallo
Habe versucht mit opsi ein Domain Join zu konfigurieren mit den scripts aus wiki/userspace:windows7-64bit.
Ich bekomme immer folgende Einträge im Log, jedoch der Rechner ist nicht in der Domäne registriert.
[6] [23.05.2012 12:46:11] Key closed
[5] [23.05.2012 12:46:11]
[5] [23.05.2012 12:46:11] Set $dom$ = GetProductProperty("dom", " ")
[6] [23.05.2012 12:46:11] The value of the variable "$dom$" is now: "ovh.local"
[5] [23.05.2012 12:46:11]
[5] [23.05.2012 12:46:11] Set $user$ = GetProductProperty("user", " ")
[6] [23.05.2012 12:46:11] The value of the variable "$user$" is now: "cdelellis"
[5] [23.05.2012 12:46:11]
[5] [23.05.2012 12:46:11] Set $password$ = GetProductProperty("password", " ")
[6] [23.05.2012 12:46:11] The value of the variable "$password$" is now: "San22dra!!"
[5] [23.05.2012 12:46:11]
[5] [23.05.2012 12:46:11] Execution of PatchTextFile_Create_powershell
[5] [23.05.2012 12:46:11] FILE P:\domainjoin\join.ps1
[6] [23.05.2012 12:46:11] Info: This file does not exist and will be created
[6] [23.05.2012 12:46:11] Item Pointer set to Top (before first line)
[6] [23.05.2012 12:46:11] Added item '$secpasswd = ConvertTo-SecureString 'San22dra!!' -AsPlainText -Force'
[6] [23.05.2012 12:46:11] Added item '$mycreds = New-Object System.Management.Automation.PSCredential ("cdelellis", $secpasswd)'
[6] [23.05.2012 12:46:11] Added item 'Add-Computer -DomainName "ovh.local" -credential $mycreds'
[6] [23.05.2012 12:46:11] saveToOriginalFile = false
[4] [23.05.2012 12:46:11] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:11] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:12] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:12] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:13] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:13] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:13] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:14] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:14] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:15] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:15] Warning: file not found :c:\joinpatched.ps1 - giving up
[6] [23.05.2012 12:46:15] c:\joinpatched.ps1 saved back with 8 Bit system encoding
[6] [23.05.2012 12:46:15] The lines are saved to "c:\joinpatched.ps1"
[5] [23.05.2012 12:46:15]
[5] [23.05.2012 12:46:15] Execution of ShellBatch_JoinDom
[6] [23.05.2012 12:46:15] c:\opsi.org\tmp\_winstbat_1.bat saved back
[6] [23.05.2012 12:46:15] Executing "cmd.exe" /C "c:\opsi.org\tmp\_winstbat_1.bat"
[6] [23.05.2012 12:46:16] Delete "c:\opsi.org\tmp\_winstbat_*"
[6] [23.05.2012 12:46:16] Search "c:\opsi.org\tmp\"
[6] [23.05.2012 12:46:16] File "c:\opsi.org\tmp\_winstbat_1.bat"
[6] [23.05.2012 12:46:16] The file has been deleted
[1] [23.05.2012 12:46:16] ___________________
[1] [23.05.2012 12:46:16] script finished
[1] [23.05.2012 12:46:16] 0 errors
[1] [23.05.2012 12:46:16] 0 warnings
[1] [23.05.2012 12:46:16]
[1] [23.05.2012 12:46:16] installed Produkt: domainjoin Version: 1.0-1
[1] [23.05.2012 12:46:16]
[6] [23.05.2012 12:46:16] Delete "c:\opsi.org\tmp\_winstbat_*"
[6] [23.05.2012 12:46:16] Search "c:\opsi.org\tmp\"
[6] [23.05.2012 12:46:16] JSON service request https://172.16.16.242:4447/rpc productOnClient_updateObject
[6] [23.05.2012 12:46:16] Registry key [HKLM\SOFTWARE\opsi.org\winst] opened
[6] [23.05.2012 12:46:16] Variable "RebootRequested" is keeping its value "0"
[6] [23.05.2012 12:46:16] Variable "LastLogFilename" is keeping its value "c:\tmp\instlog.txt"
[6] [23.05.2012 12:46:16] Variable "ContinueLogFile" is keeping its value "0"
[6] [23.05.2012 12:46:16] Variable "NumberOfErrors" is keeping its value "0"
[6] [23.05.2012 12:46:16] Key flushed
[6] [23.05.2012 12:46:16] Key closed
Hat jemand eine Idee, was ich da falsch mache ?
Gruß
Carsten
Habe versucht mit opsi ein Domain Join zu konfigurieren mit den scripts aus wiki/userspace:windows7-64bit.
Ich bekomme immer folgende Einträge im Log, jedoch der Rechner ist nicht in der Domäne registriert.
[6] [23.05.2012 12:46:11] Key closed
[5] [23.05.2012 12:46:11]
[5] [23.05.2012 12:46:11] Set $dom$ = GetProductProperty("dom", " ")
[6] [23.05.2012 12:46:11] The value of the variable "$dom$" is now: "ovh.local"
[5] [23.05.2012 12:46:11]
[5] [23.05.2012 12:46:11] Set $user$ = GetProductProperty("user", " ")
[6] [23.05.2012 12:46:11] The value of the variable "$user$" is now: "cdelellis"
[5] [23.05.2012 12:46:11]
[5] [23.05.2012 12:46:11] Set $password$ = GetProductProperty("password", " ")
[6] [23.05.2012 12:46:11] The value of the variable "$password$" is now: "San22dra!!"
[5] [23.05.2012 12:46:11]
[5] [23.05.2012 12:46:11] Execution of PatchTextFile_Create_powershell
[5] [23.05.2012 12:46:11] FILE P:\domainjoin\join.ps1
[6] [23.05.2012 12:46:11] Info: This file does not exist and will be created
[6] [23.05.2012 12:46:11] Item Pointer set to Top (before first line)
[6] [23.05.2012 12:46:11] Added item '$secpasswd = ConvertTo-SecureString 'San22dra!!' -AsPlainText -Force'
[6] [23.05.2012 12:46:11] Added item '$mycreds = New-Object System.Management.Automation.PSCredential ("cdelellis", $secpasswd)'
[6] [23.05.2012 12:46:11] Added item 'Add-Computer -DomainName "ovh.local" -credential $mycreds'
[6] [23.05.2012 12:46:11] saveToOriginalFile = false
[4] [23.05.2012 12:46:11] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:11] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:12] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:12] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:13] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:13] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:13] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:14] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:14] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:15] Warning: file not found :c:\joinpatched.ps1 -retrying
[4] [23.05.2012 12:46:15] Warning: file not found :c:\joinpatched.ps1 - giving up
[6] [23.05.2012 12:46:15] c:\joinpatched.ps1 saved back with 8 Bit system encoding
[6] [23.05.2012 12:46:15] The lines are saved to "c:\joinpatched.ps1"
[5] [23.05.2012 12:46:15]
[5] [23.05.2012 12:46:15] Execution of ShellBatch_JoinDom
[6] [23.05.2012 12:46:15] c:\opsi.org\tmp\_winstbat_1.bat saved back
[6] [23.05.2012 12:46:15] Executing "cmd.exe" /C "c:\opsi.org\tmp\_winstbat_1.bat"
[6] [23.05.2012 12:46:16] Delete "c:\opsi.org\tmp\_winstbat_*"
[6] [23.05.2012 12:46:16] Search "c:\opsi.org\tmp\"
[6] [23.05.2012 12:46:16] File "c:\opsi.org\tmp\_winstbat_1.bat"
[6] [23.05.2012 12:46:16] The file has been deleted
[1] [23.05.2012 12:46:16] ___________________
[1] [23.05.2012 12:46:16] script finished
[1] [23.05.2012 12:46:16] 0 errors
[1] [23.05.2012 12:46:16] 0 warnings
[1] [23.05.2012 12:46:16]
[1] [23.05.2012 12:46:16] installed Produkt: domainjoin Version: 1.0-1
[1] [23.05.2012 12:46:16]
[6] [23.05.2012 12:46:16] Delete "c:\opsi.org\tmp\_winstbat_*"
[6] [23.05.2012 12:46:16] Search "c:\opsi.org\tmp\"
[6] [23.05.2012 12:46:16] JSON service request https://172.16.16.242:4447/rpc productOnClient_updateObject
[6] [23.05.2012 12:46:16] Registry key [HKLM\SOFTWARE\opsi.org\winst] opened
[6] [23.05.2012 12:46:16] Variable "RebootRequested" is keeping its value "0"
[6] [23.05.2012 12:46:16] Variable "LastLogFilename" is keeping its value "c:\tmp\instlog.txt"
[6] [23.05.2012 12:46:16] Variable "ContinueLogFile" is keeping its value "0"
[6] [23.05.2012 12:46:16] Variable "NumberOfErrors" is keeping its value "0"
[6] [23.05.2012 12:46:16] Key flushed
[6] [23.05.2012 12:46:16] Key closed
Hat jemand eine Idee, was ich da falsch mache ?
Gruß
Carsten