• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Mentaloid
    3. Posts
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 59
    • Best 5
    • Controversial 0
    • Groups 0

    Posts made by Mentaloid

    • RE: Windows Installation Error

      @UserBxl

      Just a follow up to the original fog-client info:

      I have the client installed in my images: solution for the boot loop issue (if it is the underlying problem)…

      A snippet from my sysprep batch file:

      sc stop FOGService
      sc config FOGService start=disabled
      sc stop FOGService
      
      copy \\server\share\W10\unattend.xml %systemroot%\System32\sysprep\unattend.xml
      mkdir %systemroot%\setup\scripts
      copy \\server\share\W10\setupcomplete.cmd %systemroot%\setup\scripts\setupcomplete.cmd
      
      reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v BypassNRO /t REG_DWORD /d 1 /f
      
      c:
      cd \windows\system32\sysprep
      c:\windows\System32\sysprep\sysprep.exe /quiet /oobe /generalize /shutdown /unattend:unattend.xml
      

      Note the service stop and disable. I keep the setupcomplete.cmd and unattend.xml on a network share for ease of access.

      in setupcomplete.cmd

      @echo off
      del /Q /F c:\windows\system32\sysprep\unattend.xml
      del /Q /F c:\windows\panther\unattend.xml
      sc failure FOGService reset= 86400 actions= restart/60000/restart/60000/restart/60000
      waitfor /t 5 null
      sc failureflag FOGService 1
      sc config FOGService start= delayed-auto
      sc start FOGService
      

      This allows a capture to work with the fog client pre-installed, then turns it on again after the OOBE completes.

      I don’t think this is in the link that @Tom-Elliott gave. I based this off of stuff collected from the FOGProject forums ages ago.

      @JJ-Fullmer That is an interesting powershell script for winapps provisioning issues, thanks! I’ll have to give it a shot for my W11 image I am having some minor issues with!

      posted in Windows Problems
      M
      Mentaloid
    • RE: mbr2gpt problem after deployment

      MBR2GPT not finding the OS partition is either corrupt BCD, or missing recovery environment. Both would occur if not all partitions including the recovery partition, or you didn’t capture the recovery env from the main os partition. Possibly fastboot was enabled and you had a fastboot state saved when captured as well?

      Resizable should work, but I suspect that not all partitions were captured being the root cause.

      posted in Windows Problems
      M
      Mentaloid
    • Creating snapin issue...

      Recently upgraded from FOG 1.3 to FOG1.5.10

      I’ve fixed many problems that occurred, most of them probably due to my direct upgrade from 1.3 instead of stepping through 1.4, however there is one last I can’t seem to figure out…

      Adding snapins: The select existing snapin list is empty when creating a new snapin.
      CreateSnapin.PNG.jpg

      However when editing an existing snapin, the list appears.
      EditSnapin.PNG.jpg

      Not mission critical, I worked around it by selecting a dummy payload for the snapin, then deleting it after selecting the correct snapin in the list when editing.

      Thoughts? maybe a permissions issue or something, but I can’t really see that since the list populates when editing.

      Mark

      posted in Bug Reports
      M
      Mentaloid
    • RE: Snapin Questions

      @Joe-Gill

      W10_edu_act.cmd

      c:
      cd \windows\system32
      c:\windows\system32\cscript.exe //B c:\windows\system32\slmgr.vbs -skms kms7:1688 >> c:\SnapinLogs\W10Activate.log
      c:\windows\system32\cscript.exe //B c:\windows\system32\slmgr.vbs -ato >> c:\SnapinLogs\W10Activate.log
      

      .cmd files are handled by the fog client without any run with parms, and you wont have any local permissions issue.
      0_1469808607007_w10eduact.png

      I don’t use a KMS server, so I am unaware of if it would require domain credentials. I would think the machine would have to be domain joined though. I also was under the impression that you can set the KMS details as part of the domain policy.

      posted in FOG Problems
      M
      Mentaloid
    • RE: Network throughput crippled.

      @Wayne-Workman
      .VMX is the ESXi config file for the guest OS - it normally would be stored with your virt HD on your SAN. If you can’t edit/view the file (plaintext) directly on your SAN, You can view it via the vsphere client/web interface. Edit the powered off VM, go to the options tab, and then advanced/general hit the button for configuration params. Be careful in there!

      Centos I would imagine supports vmxnet adapters… if you have the option for support in your guest OS, they are more efficient/faster than e1000/e1000e emulation. I think this guide should help you get that running…

      vmxnet3incentos7

      Back to an earlier point though, you have confirmed that GuestOS/VM0 to another GuestOS/VM on the same VMHost is not working at correct speed?

      If VM to VM is good (therefore the VMHost virt switch & virt adapters are working internally), I’d look at your LAG/Bond for your uplink. I’ve have ESXi puke and start dropping packets on a LAG before, and I’ve also had switches with good “links” and no frame errors, but not passing data in one direction after a power loss. This can be frustrating to troubleshoot in LAG/Bonded links. Pull out your all but one of the LAG wires (admin down from switch isn’t good enough as you physically have to break the link for ESXi to figure out that it shouldn’t use the port for data), and verify. If it’s good, pull it, and try another - keep going through and verify each port is functioning on it’s own. Of course you need to ensure your using a known good port on this switch for your test machine!

      posted in Linux Problems
      M
      Mentaloid
    • RE: Network throughput crippled.

      @Wayne-Workman
      Just as a reference, my fog server on ESXi 6 to another (OLD debian jessie, including old unoptimised net devices) VM on the same host

      Server listening on TCP port 5001
      TCP window size: 85.3 KByte (default)
      ------------------------------------------------------------
      ------------------------------------------------------------
      Client connecting to 10.1.110.100, TCP port 5001
      TCP window size: 1.83 MByte (default)
      ------------------------------------------------------------
      [  5] local 10.1.100.50 port 50312 connected with 10.1.110.100 port 5001
      [ ID] Interval       Transfer     Bandwidth
      [  5]  0.0-10.0 sec  7.35 GBytes  6.31 Gbits/sec
      [  4] local 10.1.100.50 port 5001 connected with 10.1.110.100 port 40811
      [  4]  0.0-10.0 sec  12.4 GBytes  10.6 Gbits/sec
      

      Only thing I can suggest is possibly removing the virt network device from the guest, boot, re-add the most current, and configure.

      I honestly can’t see what a power outage would do other than possibly mess something up in the guest os VMX file. Do you have a backup to compare?

      These are the relevant lines from my vmx

      ethernet0.virtualDev = "vmxnet3"
      ethernet0.networkName = "VM Network VLAN100"
      ethernet0.addressType = "generated"
      ethernet0.uptCompatibility = "TRUE"
      ethernet0.present = "TRUE"
      ethernet0.pciSlotNumber = "192"
      ethernet0.generatedAddress = "00:0c:29:XX:YY:ZZ"
      ethernet0.generatedAddressOffset = "0"
      
      posted in Linux Problems
      M
      Mentaloid
    • RE: FOG service on 0.10.6 not restarting after reboot

      @Joe-Schmitt

      Yes, FOG service is disabled in the image, setupcomplete.cmd re-enables.

      posted in FOG Problems
      M
      Mentaloid
    • RE: FOG service on 0.10.6 not restarting after reboot

      The driver thing is interesting - and possibly could be part of things.

      So today a colleague deployed to ~60 computers.
      Half of them failed to start fog service after reboot from FOGClientupdate/renaming/joining domain.
      Half of them worked fine.
      The difference between them is a different model motherboard (Both ASUS, H61 and B75 based respectively)

      The image used was made on a VM, with no drivers pre-installed for either motherboard/chipset. In theory, both would need drivers to be installed during OOBE, so I’m not so sure what…
      The H61 based systems should be slower, but not by a whole lot, at least not for imaging tasks.

      Anyways, if it is a driver update/WU based reboot, then this reg key will have been created. Could the fog client detect that, and instead of exiting, accelerate the reboot schedule somehow?

      HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending
      

      Here is the relevant section of the log file - which looks ok, but looks like for some reason (scheduled reboot?) it did not reboot.

      ------------------------------------------------------------------------------
      --------------------------------HostnameChanger-------------------------------
      ------------------------------------------------------------------------------
       6/27/2016 4:04 PM Client-Info Client Version: 0.11.2
       6/27/2016 4:04 PM Client-Info Client OS:      Windows
       6/27/2016 4:04 PM Client-Info Server Version: 8263
       6/27/2016 4:04 PM Middleware::Response Success
       6/27/2016 4:04 PM HostnameChanger Checking Hostname
       6/27/2016 4:04 PM HostnameChanger Removing host from active directory
       6/27/2016 4:04 PM HostnameChanger The machine is not currently joined to a domain, code =  2692
       6/27/2016 4:04 PM HostnameChanger Renaming host to HiLibLabBack4
       6/27/2016 4:04 PM Power Creating shutdown request
       6/27/2016 4:04 PM Power Parameters: /r /c "FOG needs to rename your computer" /t 0
       6/27/2016 4:04 PM Bus {
        "self": true,
        "channel": "Power",
        "data": "{\r\n  \"action\": \"shuttingdown\"\r\n}"
      }
       6/27/2016 4:04 PM Bus Emmiting message on channel: Power
      ------------------------------------------------------------------------------
      

      At this point, no snapins have run, and the computer does not reboot…I logged in via RDP:

      6/27/2016 10:03 PM Main Overriding exception handling
       6/27/2016 10:03 PM Main Bootstrapping Zazzles
       6/27/2016 10:03 PM Controller Initialize
       6/27/2016 10:03 PM Entry Creating obj
       6/27/2016 10:03 PM Controller Start
      
       6/27/2016 10:03 PM Service Starting service
       6/27/2016 10:03 PM Bus Became bus server
       6/27/2016 10:03 PM Bus {
        "self": true,
        "channel": "Status",
        "data": "{\r\n  \"action\": \"load\"\r\n}"
      }
       6/27/2016 10:03 PM Bus Emmiting message on channel: Status
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       6/27/2016 10:03 PM Client-Info Version: 0.11.2
       6/27/2016 10:03 PM Client-Info OS:      Windows
       6/27/2016 10:03 PM Middleware::Authentication Waiting for authentication timeout to pass
       6/27/2016 10:03 PM Middleware::Communication Download: http://fog.XYZ.local/fog/management/other/ssl/srvpublic.crt
       6/27/2016 10:03 PM Data::RSA FOG Server CA cert found
       6/27/2016 10:03 PM Middleware::Authentication Cert OK
       6/27/2016 10:03 PM Middleware::Communication POST URL: http://fog.XYZ.local/fog/management/index.php?sub=requestClientInfo&authorize&newService
       6/27/2016 10:03 PM Middleware::Response Success
       6/27/2016 10:03 PM Middleware::Authentication Authenticated
      

      As you can see, for some reason (foguser?) the service restarted when a user logged in, and carried on - despite a pending reboot that never happened.

      UPDATE: As of ~10:30PM, the machines that hadn’t finished the rename/reboot, rebooted on their own (must have been that scheduled power thing!) and started carrying on.

      posted in FOG Problems
      M
      Mentaloid
    • RE: Snapin task doesn't stop

      @plegrand
      No worries!

      posted in FOG Problems
      M
      Mentaloid
    • RE: FOG Client 11.2 upgrade from 10.6

      @Joe-Schmitt

      Makes sense, and I had suspected as much.

      Thanks!

      PS snapin if anyone needs it.

      Start-Transcript -path c:\SnapinLogs\CleanupUpdaterLog.log
      $strFileName="c:\program"
      If (Test-Path $strFileName){ Remove-Item $strFileName }
      Stop-Transcript
      
      posted in FOG Problems
      M
      Mentaloid
    • FOG Client 11.2 upgrade from 10.6

      Windows:
      Deployed an image with client 10.6 in it to a few machines. After the client updates to 11.2, there’s a file called “C:\Program” which looks like a snippet of the updater log

       6/26/2016 8:35 PM UpdaterHelper Shutting down service...
       6/26/2016 8:35 PM UpdaterHelper Killing remaining processes...
       6/26/2016 8:35 PM UpdaterHelper Applying update...
       6/26/2016 8:35 PM UpdaterHelper Starting service...
      

      Windows 10 seems to not like that and complains @ login. Anyone else?

      posted in FOG Problems
      M
      Mentaloid
    • RE: Snapin task doesn't stop
      msiexec /i MSMath_x64.msi /passive FROMSETUP=1 ALREADYRUNNING=0 DOTNET35=1 SXSOFF=0
      

      Note that you need to have .net 3.5 installed first.
      I have a powershell snapin that installs .net3.5 for windows 10 using this command:

      Add-WindowsCapability –Online -Name NetFx3~~~~ –Source Get-Location
      

      Don’t forget to ensure you have microsoft-windows-netfx3-ondemand-package.cab ( found on your win10 media in the sxs folder) in the same location your running that powershell command from.

      posted in FOG Problems
      M
      Mentaloid
    • RE: Change Max Clients default from 10 to 3.

      Interesting - Is that a dedicated server or under a VM host?

      My location we have FOG running in a VM under ESXi and assigned 32 gigs of VMem. The ESXi host is backed by a Linux NFS host, running a RAID 6 array with 8 SATA 6gbps 10K drives and 32 gigs of RAM. Both are linked by 4*1Gbit bonded Ethernet to the network. FOG does not have an external storage node on the NFS server, FOG is using it’s own virt hard drive.

      Between the RAM being used to cache almost entire images in memory at both NFS and FOG, and due to the bonded ethernet, we can run ~14 clients at max speed in unicast. With multicast, we’ve done 70 at a time with no speed degradation.

      My point is maybe we could have a tool to check the Ethernet link speed,hard drive read speed, and cache memory size, and intelligently figure the max clients limit? Maybe have separate limits for multicast vrs unicast.

      posted in Feature Request
      M
      Mentaloid
    • RE: Converting Images from single SSD to multiple SSD

      Areca cards work well in both environments, they are all pretty universal. I’ve used quite few different models in both OS’s (DebianLinux and Windows) . Debian has support built as modules (arcmsr) into the kernel out of the box, and those modules are also by default in the initrd. I’m not sure what the FOG kernel/initrd are based on, but I would imagine it couldn’t be too hard to add if needed.

      I can attest they are fast cards, and fully support 4k sectors and 64bit LBA, as well as some SSD specific options.

      One thing to be aware of - most OS’s aren’t aware of TRIM support for RAID drives. Some controllers expose emulated TRIM and convert it to drive level TRIM, but that is rare. Consequently, SSD’s will wear out rather quickly in a RAID array with a lot of writes.

      posted in FOG Problems
      M
      Mentaloid
    • RE: FOG service on 0.10.6 not restarting after reboot

      I do - I had a lab of 28 computers imaged on a fresh image of win10 edu/1511. Setupcomplete re-enables FOGService after it was disabled for sysprep. Image has nothing else added except office 2016.

      Of the 28 computers, 2 of them failed to start fogservice during the setupcomplete, and 8 more of them failed to start fogservice after a snapin called for a reboot after install. All 28 computers are identical, bought at the same time. i5@2.3g,4gb ram.

      As with the other examples here, the fog.log has nothing in it except stating it’s gone to sleep - no exit info for shutting down with the system, and no startup. Zazzles.log doesn’t appear to exist…

      I’ve changes my setupcomplete.cmd to have this in it…

      sc config FOGService start= delayed-auto
      waitfor /t 5 null
      sc failure FOGService reset= 86400 actions= restart/60000/restart/60000/restart/60000
      waitfor /t 5 null
      sc failureflag FOGService 1
      waitfor /t 5 null
      sc start FOGService
      

      to see if this has any effect. Note that the failure flag of 1 tells the system to restart the service if it exits unexpectedly (non-0 exit code) using the failure sequence.

      This workaround won’t be tested until next deploy (next weekend maybe?)

      Also - I had periodically experienced this in a VM guest (VMware ESXi 6.0 host, 4virt cpu, 8gvem). Server was practically idle at the time, and is ridiculously fast (deploy, oobe, reboot, desktop takes about 6 minutes). This same guest after another reboot started the service fine, and had been used to test images repeatedly. I’d say it was only about a 5% rate of failure to start the service in the VM.

      posted in FOG Problems
      M
      Mentaloid
    • RE: Snap-in MSI with multiple files

      @Wayne-Workman

      Tilde? like ~ chars? or the backticks like `?

      My experiment seem to show using things like
      param (
      [string]$url = “.”
      [string]$exec = “”
      )
      is messed up as well (Wayne, not the missing line and square brackets if you edit directly)

      posted in General
      M
      Mentaloid
    • RE: Snap-in MSI with multiple files

      @Wayne-Workman
      There’s a ton of missing code in the first code block, and strings seem to be substituted in several places. If I edit the post, it all seems right in the preview, but the actual post is messed up.

      it seems it’s not restricted to code blocks either - I just tried quoting here. I’ll send you a file if I can as an example of what’s messed up?

      posted in General
      M
      Mentaloid
    • RE: Snap-in MSI with multiple files

      Well - I did have some stuff to add to this, but whatever forum software this is doesn’t seem to like code blocks with powershell with param or typecasting in it 😞

      posted in General
      M
      Mentaloid
    • Fog client failing to start , or not waking up after sleep

      but sometimes gets started when an administrator logs in…
      here’s a couple of logs from affected clients.

      This one didn’t wakeup until an administrator (domain) logged in - service shows as started, event viewer has nothing pertaining to FOGService

      ------------------------------------------------------------------------------
      ----------------------------------UserTracker---------------------------------
      ------------------------------------------------------------------------------
       5/26/2016 5:27 PM Client-Info Client Version: 0.10.6
       5/26/2016 5:27 PM Client-Info Client OS:      Windows
       5/26/2016 5:27 PM Client-Info Server Version: 7797
       5/26/2016 5:27 PM Middleware::Response Success
      ------------------------------------------------------------------------------
      
       5/26/2016 5:27 PM Middleware::Communication URL: http://fog13.pcs.local/fog/management/index.php?sub=requestClientInfo&configure&newService&json
       5/26/2016 5:27 PM Middleware::Response Success
       5/26/2016 5:27 PM Service Sleeping for 142 seconds
       5/27/2016 6:00 PM Main Overriding exception handling
       5/27/2016 6:00 PM Main Bootstrapping Zazzles
       5/27/2016 6:00 PM Controller Initialize
       5/27/2016 6:00 PM Entry Creating obj
       5/27/2016 6:00 PM Controller Start
      

      This one didn’t start at all after a reboot - service shows as stopped, event view states “FOGService failed to start in a timely fashion”, and prior, “A time was reached (30000 mseconds) while waiting for the FOGService service to connect”

      ------------------------------------------------------------------------------
      ----------------------------------UserTracker---------------------------------
      ------------------------------------------------------------------------------
       5/27/2016 9:58 AM Client-Info Client Version: 0.10.6
       5/27/2016 9:58 AM Client-Info Client OS:      Windows
       5/27/2016 9:58 AM Client-Info Server Version: 7797
       5/27/2016 9:58 AM Middleware::Response Success
       5/27/2016 9:58 AM User ERROR: Unable to get logged in users
       5/27/2016 9:58 AM User ERROR: A system shutdown is in progress. (Exception from HRESULT: 0x8007045B)
      ------------------------------------------------------------------------------
      
       5/27/2016 9:58 AM Middleware::Communication URL: http://fog13.pcs.local/fog/management/index.php?sub=requestClientInfo&configure&newService&json
       5/27/2016 9:58 AM Middleware::Response Success
       5/27/2016 9:58 AM Service Sleeping for 100 seconds
      

      Client is 10.6, running on Win10 EDU. Nothing special is added to the images (infact, it’s win10, with nothing else installed, practically stock!).

      I don’t know if this is the same issue… or separate.

      Help?

      posted in FOG Problems
      M
      Mentaloid
    • 1 / 1