Computers not joining our Domain during Sysprep
-
Also…not sure if this matters but I am trying to “capture” my image from my VM. I created a windows 10 VM and set it up the way I wanted it. I fully registered it…and I chose join domain as 1 of the options it gives you when your full register a client. I put the unattend.xml in the sysprep folder and the setupcomplete in the scripts folder.
-
@kyle.heath And you’re looking at
c:\fog.log
? If that’s literally it, reinstall the fog client. You should have more in the log just from when you installed it and rebooted before capture. -
@Wayne-Workman I reinstalled FOG and now there is no file at all. I’ll post a pic. Since I reinstalled FOG should I try to recapture now?
-
@kyle.heath No. One of the steps you should always do before capture is verify the FOG Client is functioning properly. The way you would do this is look into the fog log for errors. You should see a normal log before you start preparing the system for capture.
Check inside of Program Files for a folder called fog, one of them should have it. Look for a fog.log in there.
Also what version of Windows? And is this a fresh installation of windows or an upgrade or an old image you updated?
-
@Wayne-Workman Alright the only .log file in the FOG folder is one called zazzles. Here is what’s inside.
-
@kyle.heath Please if you are able, copy/paste the logs. This makes the errors you post search-able so others can find them. Plus I can’t see the entire error in that photo.
-
@Wayne-Workman Here is the full log. I can’t copy and paste because it’s from a VM.
-
@kyle.heath What distribution and version is your FOG Server running on?
-
and we are using Ubuntu 14.04.2
-
@kyle.heath See if you have firewall or apparmor on the server. If you do, disable those at least temporarily. Also try to web-browser from the VM to the fog server and see if that works.
-
@Wayne-Workman Yeah I can log into my fog management console using google chrome on my VM.
-
@kyle.heath I may try to revert my VM to an earlier state and see if that helps.
-
Here is the code after trying to image again. The FOG.log had a lot of information in it after I tried to capture the VM.
12/15/2016 7:14 AM Main Overriding exception handling
12/15/2016 7:14 AM Main Bootstrapping Zazzles
12/15/2016 7:14 AM Controller Initialize
12/15/2016 7:14 AM Zazzles Creating main thread
12/15/2016 7:14 AM Zazzles Service construction complete
1/10/2017 10:26 AM Main Overriding exception handling
1/10/2017 10:26 AM Main Bootstrapping Zazzles
1/10/2017 10:26 AM Controller Initialize
1/10/2017 10:26 AM Zazzles Creating main thread
1/10/2017 10:26 AM Zazzles Service construction complete
1/10/2017 10:26 AM Controller Start1/10/2017 10:26 AM Service Starting service
1/10/2017 10:26 AM Bus Became bus server
1/10/2017 10:26 AM Bus {
“self”: true,
“channel”: “Status”,
“data”: “{\r\n “action”: “load”\r\n}”
}
1/10/2017 10:26 AM Bus Emmiting message on channel: Status
1/10/2017 10:26 AM Service Invoking early JIT compilation on needed binaries
--------------------------------Authentication--------------------------------
1/10/2017 10:26 AM Client-Info Version: 0.11.5
1/10/2017 10:26 AM Client-Info OS: Windows
1/10/2017 10:26 AM Middleware::Authentication Waiting for authentication timeout to pass
1/10/2017 10:26 AM Middleware::Communication Download: http://10.0.0.13/fog/management/other/ssl/srvpublic.crt
1/10/2017 10:26 AM Data::RSA FOG Server CA cert found
1/10/2017 10:26 AM Middleware::Authentication Cert OK
1/10/2017 10:26 AM Middleware::Authentication ERROR: Could not get security token
1/10/2017 10:26 AM Middleware::Authentication ERROR: Could not find file ‘C:\Program Files (x86)\FOG\token.dat’.
1/10/2017 10:26 AM Middleware::Communication POST URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&authorize&newService
1/10/2017 10:26 AM Middleware::Response Success
1/10/2017 10:26 AM Middleware::Authentication Authenticated1/10/2017 10:26 AM Bus Registering ParseBus in channel Power
1/10/2017 10:26 AM Middleware::Communication URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&mac=00:50:56:98:78:B9||00:00:00:00:00:00:00:E0&newService&json
1/10/2017 10:26 AM Middleware::Response Success
1/10/2017 10:26 AM Middleware::Communication URL: http://10.0.0.13/fog/service/getversion.php?clientver&newService&json
1/10/2017 10:26 AM Middleware::Communication URL: http://10.0.0.13/fog/service/getversion.php?newService&json1/10/2017 10:26 AM Service Creating user agent cache
1/10/2017 10:26 AM Middleware::Response Invalid time
1/10/2017 10:26 AM Middleware::Response No Printers
1/10/2017 10:26 AM Middleware::Response Module is disabled globally on the FOG server
1/10/2017 10:26 AM Service Initializing modules
---------------------------------ClientUpdater--------------------------------
1/10/2017 10:27 AM Client-Info Client Version: 0.11.5
1/10/2017 10:27 AM Client-Info Client OS: Windows
1/10/2017 10:27 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:27 AM Middleware::Response Success
1/10/2017 10:27 AM Middleware::Communication Download: http://10.0.0.13/fog/client/SmartInstaller.exe
1/10/2017 10:27 AM Data::RSA FOG Project cert found
1/10/2017 10:27 AM ClientUpdater Update file is authentic1/10/2017 10:27 AM Bus {
“self”: true,
“channel”: “Update”,
“data”: “{\r\n “action”: “start”\r\n}”
}
1/10/2017 10:27 AM Bus Emmiting message on channel: Update
1/10/2017 10:27 AM Service-Update Spawning update helper
1/10/2017 10:27 AM UpdaterHelper Shutting down service…
1/10/2017 10:27 AM UpdaterHelper Killing remaining processes…
1/10/2017 10:27 AM UpdaterHelper Applying update…
1/10/2017 10:28 AM UpdaterHelper Starting service…
1/10/2017 10:28 AM Main Overriding exception handling
1/10/2017 10:28 AM Main Bootstrapping Zazzles
1/10/2017 10:28 AM Controller Initialize
1/10/2017 10:28 AM Zazzles Creating main thread
1/10/2017 10:28 AM Zazzles Service construction complete
1/10/2017 10:28 AM Controller Start1/10/2017 10:28 AM Service Starting service
1/10/2017 10:28 AM Bus Became bus server
1/10/2017 10:28 AM Bus {
“self”: true,
“channel”: “Status”,
“data”: “{\r\n “action”: “load”\r\n}”
}
1/10/2017 10:28 AM Bus Emmiting message on channel: Status
1/10/2017 10:28 AM Service Invoking early JIT compilation on needed binaries
--------------------------------Authentication--------------------------------
1/10/2017 10:28 AM Client-Info Version: 0.11.7
1/10/2017 10:28 AM Client-Info OS: Windows
1/10/2017 10:28 AM Middleware::Authentication Waiting for authentication timeout to pass
1/10/2017 10:28 AM Middleware::Communication Download: http://10.0.0.13/fog/management/other/ssl/srvpublic.crt
1/10/2017 10:28 AM Data::RSA FOG Server CA cert found
1/10/2017 10:28 AM Middleware::Authentication Cert OK
1/10/2017 10:28 AM Middleware::Communication POST URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&authorize&newService
1/10/2017 10:28 AM Middleware::Response Success
1/10/2017 10:28 AM Middleware::Authentication Authenticated1/10/2017 10:28 AM Bus Registering ParseBus in channel Power
1/10/2017 10:28 AM Middleware::Communication URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&configure&newService&json
1/10/2017 10:28 AM Middleware::Response Success
1/10/2017 10:28 AM Middleware::Communication URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&mac=00:50:56:98:78:B9||00:00:00:00:00:00:00:E0&newService&json
1/10/2017 10:28 AM Middleware::Response Success
1/10/2017 10:28 AM Middleware::Communication URL: http://10.0.0.13/fog/service/getversion.php?clientver&newService&json
1/10/2017 10:28 AM Middleware::Communication URL: http://10.0.0.13/fog/service/getversion.php?newService&json1/10/2017 10:28 AM Service Creating user agent cache
1/10/2017 10:28 AM Middleware::Response Invalid time
1/10/2017 10:28 AM Middleware::Response No Printers
1/10/2017 10:28 AM Middleware::Response Module is disabled globally on the FOG server
1/10/2017 10:28 AM Service Initializing modules
---------------------------------ClientUpdater--------------------------------
1/10/2017 10:28 AM Client-Info Client Version: 0.11.7
1/10/2017 10:28 AM Client-Info Client OS: Windows
1/10/2017 10:28 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:28 AM Middleware::Response Success
----------------------------------TaskReboot----------------------------------
1/10/2017 10:28 AM Client-Info Client Version: 0.11.7
1/10/2017 10:28 AM Client-Info Client OS: Windows
1/10/2017 10:28 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:28 AM Middleware::Response Success
--------------------------------HostnameChanger-------------------------------
1/10/2017 10:28 AM Client-Info Client Version: 0.11.7
1/10/2017 10:28 AM Client-Info Client OS: Windows
1/10/2017 10:28 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:28 AM Middleware::Response Success
1/10/2017 10:28 AM HostnameChanger Checking Hostname
1/10/2017 10:28 AM HostnameChanger Removing host from domain
1/10/2017 10:28 AM HostnameChanger The machine is not currently joined to a domain, code = 2692
1/10/2017 10:28 AM HostnameChanger Renaming host to Windows10x64
1/10/2017 10:28 AM Power Creating shutdown command in 60 seconds
1/10/2017 10:28 AM Bus {
“self”: true,
“channel”: “Power”,
“data”: “{\r\n “action”: “request”,\r\n “period”: 60,\r\n “options”: 2,\r\n “command”: “/r /c \“FOG needs to rename your computer\” /t 0”,\r\n “aggregatedDelayTime”: 0,\r\n “message”: “FOG needs to perform maintenance on this computer.”\r\n}”
}
1/10/2017 10:28 AM Bus Emmiting message on channel: Power
---------------------------------SnapinClient---------------------------------
1/10/2017 10:28 AM Client-Info Client Version: 0.11.7
1/10/2017 10:28 AM Client-Info Client OS: Windows
1/10/2017 10:28 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:28 AM Middleware::Response No snapins
1/10/2017 10:28 AM SnapinClient A power operation is pending, aborting module
--------------------------------PrinterManager--------------------------------
1/10/2017 10:28 AM Client-Info Client Version: 0.11.7
1/10/2017 10:28 AM Client-Info Client OS: Windows
1/10/2017 10:28 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:28 AM Middleware::Response No Printers
1/10/2017 10:28 AM PrinterManager Getting installed printers
--------------------------------PowerManagement-------------------------------
1/10/2017 10:28 AM Client-Info Client Version: 0.11.7
1/10/2017 10:28 AM Client-Info Client OS: Windows
1/10/2017 10:28 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:28 AM Middleware::Response Success
1/10/2017 10:28 AM PowerManagement Calculating tasks to unschedule
1/10/2017 10:28 AM PowerManagement Calculating tasks to schedule
----------------------------------UserTracker---------------------------------
1/10/2017 10:28 AM Client-Info Client Version: 0.11.7
1/10/2017 10:28 AM Client-Info Client OS: Windows
1/10/2017 10:28 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:28 AM Middleware::Response Success
1/10/2017 10:28 AM Middleware::Communication URL: http://10.0.0.13/fog/service/usertracking.report.php?action=login&user=AUTOBVT-R429B8B\CFA&mac=00:50:56:98:78:B9||00:00:00:00:00:00:00:E0&newService&json1/10/2017 10:28 AM Service Sleeping for 150 seconds
1/10/2017 10:30 AM Main Overriding exception handling
1/10/2017 10:30 AM Main Bootstrapping Zazzles
1/10/2017 10:30 AM Controller Initialize
1/10/2017 10:30 AM Zazzles Creating main thread
1/10/2017 10:30 AM Zazzles Service construction complete
1/10/2017 10:30 AM Controller Start1/10/2017 10:30 AM Service Starting service
1/10/2017 10:30 AM Bus Became bus server
1/10/2017 10:30 AM Bus {
“self”: true,
“channel”: “Status”,
“data”: “{\r\n “action”: “load”\r\n}”
}
1/10/2017 10:30 AM Bus Emmiting message on channel: Status
1/10/2017 10:30 AM Service Invoking early JIT compilation on needed binaries
--------------------------------Authentication--------------------------------
1/10/2017 10:30 AM Client-Info Version: 0.11.7
1/10/2017 10:30 AM Client-Info OS: Windows
1/10/2017 10:30 AM Middleware::Authentication Waiting for authentication timeout to pass
1/10/2017 10:30 AM Middleware::Communication Download: http://10.0.0.13/fog/management/other/ssl/srvpublic.crt
1/10/2017 10:30 AM Data::RSA FOG Server CA cert found
1/10/2017 10:30 AM Middleware::Authentication Cert OK
1/10/2017 10:30 AM Middleware::Communication POST URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&authorize&newService
1/10/2017 10:30 AM Middleware::Response Success
1/10/2017 10:30 AM Middleware::Authentication Authenticated1/10/2017 10:30 AM Bus Registering ParseBus in channel Power
1/10/2017 10:30 AM Middleware::Communication URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&configure&newService&json
1/10/2017 10:30 AM Middleware::Response Success
1/10/2017 10:30 AM Middleware::Communication URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&mac=00:50:56:98:78:B9||00:00:00:00:00:00:00:E0&newService&json
1/10/2017 10:30 AM Middleware::Response Success
1/10/2017 10:30 AM Middleware::Communication URL: http://10.0.0.13/fog/service/getversion.php?clientver&newService&json
1/10/2017 10:30 AM Middleware::Communication URL: http://10.0.0.13/fog/service/getversion.php?newService&json1/10/2017 10:30 AM Service Creating user agent cache
1/10/2017 10:30 AM Middleware::Response Invalid time
1/10/2017 10:30 AM Middleware::Response No Printers
1/10/2017 10:30 AM Middleware::Response Module is disabled globally on the FOG server
1/10/2017 10:30 AM Service Initializing modules
---------------------------------ClientUpdater--------------------------------
1/10/2017 10:30 AM Client-Info Client Version: 0.11.7
1/10/2017 10:30 AM Client-Info Client OS: Windows
1/10/2017 10:30 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:30 AM Middleware::Response Success
----------------------------------TaskReboot----------------------------------
1/10/2017 10:30 AM Client-Info Client Version: 0.11.7
1/10/2017 10:30 AM Client-Info Client OS: Windows
1/10/2017 10:30 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:30 AM Middleware::Response Success
--------------------------------HostnameChanger-------------------------------
1/10/2017 10:30 AM Client-Info Client Version: 0.11.7
1/10/2017 10:30 AM Client-Info Client OS: Windows
1/10/2017 10:30 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:30 AM Middleware::Response Success
1/10/2017 10:30 AM HostnameChanger Checking Hostname
1/10/2017 10:30 AM HostnameChanger Hostname is correct
1/10/2017 10:30 AM HostnameChanger Attempting to join domain
1/10/2017 10:30 AM HostnameChanger Logon failure: unknown username or bad password, code = 1326
---------------------------------SnapinClient---------------------------------
1/10/2017 10:30 AM Client-Info Client Version: 0.11.7
1/10/2017 10:30 AM Client-Info Client OS: Windows
1/10/2017 10:30 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:30 AM Middleware::Response No snapins
--------------------------------PrinterManager--------------------------------
1/10/2017 10:30 AM Client-Info Client Version: 0.11.7
1/10/2017 10:30 AM Client-Info Client OS: Windows
1/10/2017 10:30 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:30 AM Middleware::Response No Printers
1/10/2017 10:30 AM PrinterManager Getting installed printers
--------------------------------PowerManagement-------------------------------
1/10/2017 10:30 AM Client-Info Client Version: 0.11.7
1/10/2017 10:30 AM Client-Info Client OS: Windows
1/10/2017 10:30 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:30 AM Middleware::Response Success
1/10/2017 10:30 AM PowerManagement Calculating tasks to unschedule
1/10/2017 10:30 AM PowerManagement Calculating tasks to schedule
----------------------------------UserTracker---------------------------------
1/10/2017 10:30 AM Client-Info Client Version: 0.11.7
1/10/2017 10:30 AM Client-Info Client OS: Windows
1/10/2017 10:30 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:30 AM Middleware::Response Success1/10/2017 10:30 AM Service Sleeping for 139 seconds
1/10/2017 10:32 AM Middleware::Communication URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&configure&newService&json
1/10/2017 10:32 AM Middleware::Response Success
1/10/2017 10:32 AM Middleware::Communication URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&mac=00:50:56:98:78:B9||00:00:00:00:00:00:00:E0&newService&json
1/10/2017 10:32 AM Middleware::Response Success
1/10/2017 10:32 AM Middleware::Communication URL: http://10.0.0.13/fog/service/getversion.php?clientver&newService&json
1/10/2017 10:32 AM Middleware::Communication URL: http://10.0.0.13/fog/service/getversion.php?newService&json1/10/2017 10:32 AM Service Creating user agent cache
1/10/2017 10:32 AM Middleware::Response Invalid time
1/10/2017 10:32 AM Middleware::Response No Printers
1/10/2017 10:32 AM Middleware::Response Module is disabled globally on the FOG server
---------------------------------ClientUpdater--------------------------------
1/10/2017 10:32 AM Client-Info Client Version: 0.11.7
1/10/2017 10:32 AM Client-Info Client OS: Windows
1/10/2017 10:32 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:32 AM Middleware::Response Success
----------------------------------TaskReboot----------------------------------
1/10/2017 10:32 AM Client-Info Client Version: 0.11.7
1/10/2017 10:32 AM Client-Info Client OS: Windows
1/10/2017 10:32 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:32 AM Middleware::Response Success
--------------------------------HostnameChanger-------------------------------
1/10/2017 10:32 AM Client-Info Client Version: 0.11.7
1/10/2017 10:32 AM Client-Info Client OS: Windows
1/10/2017 10:32 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:32 AM Middleware::Response Success
1/10/2017 10:32 AM HostnameChanger Checking Hostname
1/10/2017 10:32 AM HostnameChanger Hostname is correct
1/10/2017 10:32 AM HostnameChanger Attempting to join domain
1/10/2017 10:32 AM HostnameChanger Logon failure: unknown username or bad password, code = 1326
---------------------------------SnapinClient---------------------------------
1/10/2017 10:32 AM Client-Info Client Version: 0.11.7
1/10/2017 10:32 AM Client-Info Client OS: Windows
1/10/2017 10:32 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:32 AM Middleware::Response No snapins
--------------------------------PrinterManager--------------------------------
1/10/2017 10:32 AM Client-Info Client Version: 0.11.7
1/10/2017 10:32 AM Client-Info Client OS: Windows
1/10/2017 10:32 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:32 AM Middleware::Response No Printers
1/10/2017 10:32 AM PrinterManager Getting installed printers
--------------------------------PowerManagement-------------------------------
1/10/2017 10:32 AM Client-Info Client Version: 0.11.7
1/10/2017 10:32 AM Client-Info Client OS: Windows
1/10/2017 10:32 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:32 AM Middleware::Response Success
1/10/2017 10:32 AM PowerManagement Calculating tasks to unschedule
1/10/2017 10:32 AM PowerManagement Calculating tasks to schedule
----------------------------------UserTracker---------------------------------
1/10/2017 10:32 AM Client-Info Client Version: 0.11.7
1/10/2017 10:32 AM Client-Info Client OS: Windows
1/10/2017 10:32 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:32 AM Middleware::Response Success1/10/2017 10:32 AM Service Sleeping for 148 seconds
-
The weird thing is the FOG service is running when I logged into the local admin account. It’s just not joining our domain for some reason.
-
@kyle.heath Please use the code wrapping tool when posting logs. It looks like this in the editing area:
</>
Later in the log, the health of the FOG Client looks fine, but I see this line:1/10/2017 10:30 AM HostnameChanger Logon failure: unknown username or bad password, code = 1326
That is a pretty clear error, bad username or password. Doublecheck your active directory settings for this particular host, also doublecheck your domain defaults in FOG Configuration -> FOG Settings -> AD Defaults
-
@Wayne-Workman Alright I thought I had tried this already but I’ll double check. I’ll change it and try to capture the image again.
-
@Wayne-Workman I double checked them and updated them…it still isn’t joining the domain. Any other suggestions?
-
@kyle.heath it has to be a user or pass or domain name issue. There has to be a typo or something. Unapply and reapply the domain settings to the problem system.
-
@Wayne-Workman Maybe I need to do something on the actual FOG server? Is there a way to update the info on that to make sure it works correctly. I just restarted the server and logged in fine though.
-
@Wayne-Workman Ok I think there is something wrong with my FOG server and the database…I need to get both of them on the same page. I was having issues so I reverted to an old snapshot I had of FOG. Whats the best way to get both the database and FOG working correctly together.