• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Snapins Won't Fire unless User is logged in

    Scheduled Pinned Locked Moved
    Windows Problems
    2
    3
    1.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Thomas Alley
      last edited by

      Hey guys- We just rolled Fog 0.32 for evaluation and so far I’m pretty impressed. I’ve got Fog imaging a PC and joining a domain just fine, even if the joining takes a little longer than I’d like to actually run.

      However, I created a simple Snapin that finished the system prep for me… but the snapin won’t run unless a user logs into the machine. I can set the task and wait forever, but it won’t execute until the next time the snapin process checks [I]after[/I] a login.

      I feel like I’m missing something obvious. Is this expected behavior? Can’t I have a task start without a user actually logging in?

      The Snapin is just a .cmd file that invokes a .ps1 bundled with it; the PS1 is self-contained and just activates MSMQ and Office, no interation required.

      In my fog.log, I see that the SnapinClient stars and then sleeps for it’s (way-too-long) random interval, but then there aren’t any followup entries from the snapin client after that. Unless I log in.

      I’ve tried changing the Fog service from the System account to a local administrator, but that didn’t affect anything.

      1 Reply Last reply Reply Quote 0
      • A
        andyroo54 Moderator
        last edited by

        Hi not sure why it won’t run, but a work around would be to add the cmd and ps scripts to your image, and make them run on first startup? You could do this with your unattend xml file.

        Check out part 7 of this guide to see about scripts running first time after imaging: [url]http://fogproject.org/forum/threads/windows-7-deployment-fog-sad2-driver-tool.380/[/url]

        1 Reply Last reply Reply Quote 0
        • A
          andyroo54 Moderator
          last edited by

          You can also change the sleep time for the snap ins, change this in your image and see if this helps: [url]http://fogproject.org/forum/threads/how-to-modify-your-snapinclient-dll-file-to-check-in-more-quickly-on-a-reboot.613/[/url]

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          156

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project