• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. jcrod73
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    jcrod73

    @jcrod73

    0
    Reputation
    1
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    jcrod73 Unfollow Follow

    Latest posts made by jcrod73

    • RE: Uninstall FOG-Client (Service) after deploying with Snapin?

      @george1421 This is the bat file that I can run locally on the target machine and it works fine:

      REG ADD “HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce” /V “FOGServiceUninstall” /t REG_SZ /F /D “C:_Install\Image Reset W10 x64_2019\FOGServiceUninstall.bat”

      I don’t see how it could end up in any other registry container?

      The snapin runs and “completes” but the registry entry never gets put in “HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce”

      posted in FOG Problems
      J
      jcrod73
    • RE: Uninstall FOG-Client (Service) after deploying with Snapin?

      @george1421 OK…So I created 2 bat files. One bat file will add a registry entry to “HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce”. The other bat file runs the uninstall from the UninstallString command, like you mentioned. I just need the snapin to run the first bat file so that it adds the registry entry then, on reboot, that will run the second bat file to uninstall the service.

      Doing this locally on the target machine works fine. The registry entry gets added and after reboot it runs the uninstaller. The FogService is uninstalled.

      I created a bat template snapin and it runs fine and the task completes. The registry entry never gets added though. I have tried converting the bat file to an exe and that, as a task, never completes. The command that the snapin is running is just the basic batch template “cmd.exe /c AddtoRegRO.bat”

      Any ideas??

      posted in FOG Problems
      J
      jcrod73
    • RE: Uninstall FOG-Client (Service) after deploying with Snapin?

      @george1421 I figured it had something to do with cutting the branch I was standing on. Great analogy! I’ll give what you suggested a shot! Thanks!!

      posted in FOG Problems
      J
      jcrod73
    • RE: Uninstall FOG-Client (Service) after deploying with Snapin?

      @george1421 Thanks for the reply. Pretty much the same as the original referenced post. There is a list of approved applications and the FOGService isn’t approved.

      I am imaging laptops, having the approved software installed via snapins, then the FOGService needs to be removed. I have tried different snapin methods as mentioned in the referenced post. Tried using a bat script, tried converting the bat to an exe, tried using the msi file. The referenced post is marked solved but no indication as to what solved it?

      posted in FOG Problems
      J
      jcrod73
    • Uninstall FOG-Client (Service) after deploying with Snapin?

      Re: Uninstall FOG-Client (Service) after deploying with Snapin?

      The reference topic was marked as solved but what was the resolution? I am having to do this as well. I have tried different snapin configurations to run the uninstall but nothing happens on the client.

      posted in FOG Problems
      J
      jcrod73