@TrialAndError if you set the service to delayed start, or manually stop and start up the client after boot, then does it work?
Posts
-
RE: Client 0.11.12, Windows 10 1709 - Reboot failsposted in Bug Reports
-
RE: Print Management problems?posted in FOG Problems
@tesparza the tool Wayne listed should be run a computer where you already have the desired printer installed.
Without any more information, my guess would be that the printer failing to add is due to the
inffile being stored on a network share. I’d first try the genericinffile thatPrinterManagerHelper.exewill point you to, as it should work. If it does not, and you need to use the network share, then you will need to ensure that the share hasAnonymousread privileges for all computers. The client runs asSYSTEM, which causes some issues with network shares. Specifically, even if the machine is already joined to a machine, the client will not be able to access shares enabled for computers bound to a domain. -
RE: Client 0.11.12, Windows 10 1709 - Reboot failsposted in Bug Reports
@TrialAndError @UWPVIOLATOR @x23piracy @dclark I believe I have isolated the issues with Windows 1709 and patched them. Could you try installing this build of the client on a few machines to test? (You may need to hit
Reset Encryption Datafor the hosts if you are uninstalling an existing FOG Client and installing this build). With any luck it will fix all issues with the service failing to start, and not shutting down the computer correctly.https://build.jbob.io/Client/nightly/02-01-2018-win1709-04/SmartInstaller.exe
NOTE: This is a nightly build and is not production compatible! Imaging it may produce security warnings from Windows or your anti virus software.
-
RE: Client 0.11.12, Windows 10 1709 - Reboot failsposted in Bug Reports
@UWPVIOLATOR @x23piracy after running the debugger in the prior post, can you also try installing this build of the client on a few machines: https://build.jbob.io/Client/nightly/01-32-2018-win-dependencies-01/SmartInstaller.exe ?
It likely wont fix the shutdown issue, but it should allow the client to consistently start up with Windows.
-
RE: FOG Client sometimes doesn't workposted in FOG Problems
@tesparza Just a heads up, it may be a few days before I can get to this. I’m currently tracking down a severe bug on Windows 1709:
-
RE: FOG Client sometimes doesn't workposted in FOG Problems
@tesparza nope! Basically, the client works by “locking” into the server. Once the client is locked in, no other program or computer can easily pretend to be that client. “Reset encryption data” removes the lock, and allows a new program to “lock in”.
So what I had you do was allow the Debugger to “lock in”, or become the FOG Client from the server’s perspective.
-
RE: FOG Client sometimes doesn't workposted in FOG Problems
@tesparza well that certainly looks correct. I’ll try and reproduce the issue and get back to you.
-
RE: FOG Client sometimes doesn't workposted in FOG Problems
@tesparza this sounds like a server issue to me; the client is showing no indication that it was told to perform any power management tasks. To be sure, can you try the following steps on this problematic machine?
- Open an administrative CMD, and run
net stop fogservice - Navigate to your FOG server’s web portal, select the host you are working on and perform these steps:
- Schedule an on-demand powermanagement shutdown
- Press
Reset Encryption Dataif its an option
- Download our Debugger.exe and run it
- The Debugger will open a console that has a
fog:prompt, please enter these commands, pressing enter after each one:middleware configuration server http://10.154.72.190/fogmiddleware authentication handshakedump cycle save
The debugger should point you to a
FOGCycle.txtfile. This contains all the information the server tells the client, completely decrypted. Please post it here, after filtering out any sensitive data (such as active directory password).To clean up:
- Close the debugger
- click
Reset Encryption Dataagain on the host in the gui - start back up the fog service if you want
- Open an administrative CMD, and run
-
RE: Client 0.11.12, Windows 10 1709 - Reboot failsposted in Bug Reports
@UWPVIOLATOR @x23piracy can you try the following stops on a problematic machine?
- In an administrative CMD, stop the
fogserviceif it is still running:net stop fogservice - Download and extract this file anywhere on the machine: PowerDebugger.zip
- Run the
Debugger.execontained in the extracted folder as Administrator - Type the following commands into the debugger’s prompt (one at a time, and pressing enter after each line)
bus mode server power restartThe debugger will then schedule the client’s restart process in 60 seconds. Can you let me know if it successfully restarts the machine? If not I’ll need the full output of the Debugger window.
- In an administrative CMD, stop the
-
RE: Client 0.11.12, Windows 10 1709 - Reboot failsposted in Bug Reports
@UWPVIOLATOR @kwisher @TrialAndError so far it seems to be caused by a faulty Windows Spectre patch. See this thread for what hopefully is the solution: https://forums.fogproject.org/topic/11342/windows-10-fog-client-failing-to-restart/7
Please report back if applying the fix actually resolved the client issue!
-
RE: PDQ Deploy run as logged on user, how the hell? :)posted in Windows Problems
@x23piracy a windows service can impersonate one of the logged in users without their password. Essentially the service grabs a process running as the user you wish to impersonate, and obtains a handle on the process’s access token (OpenProcessToken). The service then needs to duplicate the token so it can “impersonate” the user without affecting the process we lifted the token from (DuplicateToken), activate that token, and then perform the work. Finally the token handle must be closed.
Its a pretty win32 api heavy approach. The client does not use this technique as there is no guarantee a user is logged in at any given point.
TL;DR: grab an existing process running as that user, and perform multiple win32 API calls to impersonate that user.
-
RE: Change languages reports and pop up maintenance windows.posted in General
@DarkStorm007 what specifically do you want to change about the form? Is it that its showing in english and not the system language? We do have Spanish-Spain (es-Es) translations, but not for Mexico (es-mx). If you’d like to add a translation, see this thread: https://forums.fogproject.org/topic/9068/help-wanted-client-internationalization and I can include it in the next build/release.
-
RE: Windows 10 - FOG Client Failing To Restartposted in Windows Problems
@dclark some thoughts:
- Could you right-click ->
PropertiesonC:\Windows\Microsoft.Net\Framework\v4.0.30319\mscoreei.dll, and check out theCreated,Modified, and also theDigital Signaturestab to make sure the file wasn’t overwritten? - Can you please run
sfc /scannowfrom an administrative CMD? (this is the Windows System File Checker) - Run a full virus scan. It’s likely not a virus, but I just want to make sure we eliminate that possibility
- Could you right-click ->
-
RE: Windows 10 - FOG Client Failing To Restartposted in Windows Problems
@dclark can you try reinstalling the .NET framework? I agree this is starting to seem more and more like a bad Windows update, hopefully we can isolate which update is causing this.
-
RE: Windows 10 - FOG Client Failing To Restartposted in Windows Problems
Linking with https://forums.fogproject.org/topic/11305/fogclient-0-11-12-windows-10-1709-reboot-fails-after-joining-domain as @TrialAndError has the same issue. It seems to be specific to 1709.
-
RE: Client 0.11.12, Windows 10 1709 - Reboot failsposted in Bug Reports
Linking with https://forums.fogproject.org/topic/11342/windows-10-fog-client-failing-to-restart as @dclark has the same issue. It seems to be specific to 1709.
-
RE: Re-installed fog - now client issuesposted in FOG Problems
@Greg-Plamondon re-run the installer with
./installfog.sh -K. That will regenerate your certificates using your old server’s private CA key, assuming it was transferred over properly. -
RE: FOG Client: Athentication Error: Unable to get tokenposted in FOG Problems
@TomcatKZN @Wayne-Workman that error just means the client hasn’t authenticated with the sever yet and doesnt have a token.
The real error here is
2018/01/22 21:10 Middleware::Response Private key path not found. Try rerunning your fog server install script. @Tom-Elliott would be of help debugging this issue here. -
RE: Client install issues - Legacy uninstallposted in FOG Problems
@Rudy-Delsaut can you try opening regedit and checking for the leftover legacy client software entry? Sorry for all the trouble, the legacy client was built a long time ago for Windows XP so it has some issues like leftover registry entries. If the machine is 64 bit you should also check under
Wow6432Node, keeping the rest of the path the same:@tom-elliott said in Client install issues - Legacy uninstall:
Before redoing everything, per @joe-schmitt, the registry is scanned for the presence of a particular GUID for the FOG Legacy Installer.
Please Open
regeditand look in:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\UninstallRemove the key with:{91C5D423-B6AB-4EAB-8F17-2BB3AE162CA1}and try reinstalling, this should work (hopefully).