Snapin question
-
hello a question: to run a batch file immediately after deploy do I have to use the snapin? but do I have to register the clients to make the snapin work? we deploy multiple machines at the same time without ever registering the hosts, would it be possible to run the snapin without registering or associating the hosts to a group? thanks
-
@alexamore90 Can you provide more clarification?
“Immediately after deploy” as in after the imaging has completed, but is still in the FOS system?
“Immediately after deploy” as in after the imaging has completed, restarted and is in whatever operating system?
If it’s the first, there’s something called postinit scripts which can do what you may require. There isn’t one that we can provide, you’d have to create and have it run.
If it’s the second, that could be done with a snapin and the machine has the FOG Client, but that would require you to have the machine registered (so no it wouldn’t be possible to run the snapin without registering or associating the hosts to a group)
If it’s the second, and your “golden image” is sysprepped, this is effectively the point of the setupcomplete.cmd script methods. But again you’re left to your own devices here.
-
@Tom-Elliott
yes sure, I would be interested in running a batch file after the fog has restarted because the deployment on the client has finished. I think I can’t use the snapin because of the host registration that we don’t do. but is the postinit done with fog? -
@alexamore90 said in Snapin question:
@Tom-Elliott
yes sure, I would be interested in running a batch file after the fog has restarted because the deployment on the client has finished. I think I can’t use the snapin because of the host registration that we don’t do. but is the postinit done with fog?You still haven’t answered the question.
I already stated that postinit scripts run in FOS (fog adjacent if you will) but you haven’t answered the question of “where or when” you’re expecting the script to run.
Please provide details of what you’re doing, when you’re expecting things to happen (explicitly as possible) and we can try to give guidance and direction.
Otherwise we’re talking in circles.