how would I force delete a client from the database?
Posts made by Troye Johnson
-
RE: Latest FOG 0.33b
Ok thought it was just me but just in case I am imaging another machine to test on I am using hyper-V by the way on a 2012 r2 server machine. Also can we change the 5 min option it does seem forever at times
-
RE: Latest FOG 0.33b
I have to test it again because i think I had issues editing it the other day and had to delete and re-add it but let me make sure that is the case but let me make sure it was not user error lol, but I like the setup.
-
RE: Latest FOG 0.33b
what do you mean in the snapin part choosing instead of browsing your local computer I like the option.
-
RE: Latest FOG 0.33b
[quote=“Tom Elliott, post: 21796, member: 7271”]Can you tell me how you setup your snapin? What file and args? This way I have something more concrete to test with.[/quote]
It is just a normal bat file to activate windows silently
[QUOTE]
[SIZE=14px][FONT=monospace][COLOR=#545454]@echo off[/COLOR][/FONT][/SIZE][SIZE=14px][FONT=monospace][COLOR=#545454]cls[/COLOR][/FONT][/SIZE]
[SIZE=14px][FONT=monospace][COLOR=#545454]echo Activating Windws 7… Please wait as this might take several minutes…[/COLOR][/FONT][/SIZE]
[SIZE=14px][FONT=monospace][COLOR=#545454]echo.[/COLOR][/FONT][/SIZE]
[SIZE=14px][FONT=monospace][COLOR=#545454]cscript //B “%windir%\system32\slmgr.vbs” /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX[/COLOR][/FONT][/SIZE]
[SIZE=14px][FONT=monospace][COLOR=#545454]cscript //B “%windir%\system32\slmgr.vbs” /ato[/COLOR][/FONT][/SIZE][SIZE=14px][FONT=monospace][COLOR=#545454]echo Activation complete![/COLOR][/FONT][/SIZE][/QUOTE]
this script is what is in the bat file.
-
RE: Latest FOG 0.33b
I am on the latest one just updated about 1 hour ago. and yes I deployed a snapin
-
RE: Latest FOG 0.33b
Hey Tom,
Do you have any ideas on how to fix this error just started happening and i have tried re registering it and it did not work
1/22/2014 4:40 PM FOG::SnapinClient Maybe MAC isn’t registered: 00:15:5D:01:CE:09|00:15:5D:01:CE:08
1/22/2014 4:45 PM FOG::SnapinClient Attempting to connect to fog server…
1/22/2014 4:45 PM FOG::SnapinClient Module is active…
1/22/2014 4:45 PM FOG::SnapinClient Unable to determine snapin status due to an unknown error.
1/22/2014 4:45 PM FOG::SnapinClient Maybe MAC isn’t registered: 00:15:5D:01:CE:09|00:15:5D:01:CE:08
1/22/2014 4:50 PM FOG::SnapinClient Attempting to connect to fog server…
1/22/2014 4:50 PM FOG::SnapinClient Module is active…
1/22/2014 4:50 PM FOG::SnapinClient Unable to determine snapin status due to an unknown error.
1/22/2014 4:50 PM FOG::SnapinClient Maybe MAC isn’t registered: 00:15:5D:01:CE:09|00:15:5D:01:CE:08 -
RE: Latest FOG 0.33b
ok yea I dont think that will work because I am trying to go from one server to another in a diffrent location. Just wanted to make sure there was no easier way before I did it manually.
-
RE: Latest FOG 0.33b
Morning Tom,
Question for you is there any way to import and export snapins?
-
RE: Latest FOG 0.33b
[quote=“Tom Elliott, post: 21659, member: 7271”]I’m currently rewriting the Service scripts that deals with handling the snapin tasks. I’m in the midst of testing. I think it was creating a new entry when it wasn’t really necessary. I could set all the task/snapin task variables (theoretically) by the service scripts them selves, rather than having to use the ClientServiceManager.class.php file. It seems like this is the culprit to your particular issue Troye. It means, however, that things are neater and more in place. I can actually, hopefully, remove ClientServiceManager altogether and still get things to work. Less code, easier to troubleshoot and maintain. It does, however, mean reenabling the Task creation part of the snapin deploy job, though I imagine it will be easier to cancel the task by the active tasks. I just need a way of making sure it doesn’t fail out because you’ve set a deploy to the job, then want to upload the image when you’re done deploying. That’s for the future though.[/quote]
This sounds promising can’t wait until its ready for me to test in the mean while I am rebuilding another server to see if I can recreate the current issue also.
-
RE: Latest FOG 0.33b
Just a feature request because I am rebuilding everything from scratch now… Is there a way to be able to export the snapin part of the data base or all of your fog settings? I know you can with the inventory. but I think it would be nice for people who have more then 10 snapins if they ever had to rebuild.
-
RE: Latest FOG 0.33b
do you think dropping the database and reinstalling fog may help? I would have to start everything all over but it may be worth it if it fixes the issue what kind of snapins are you trying. it only happens after it deploys on the ws.
-
RE: Latest FOG 0.33b
the issue is still happing I tried a different snapin also just to ensure it was not the application it self. attached is the screen shot of the page do you need the error.log again?
[url=“/_imported_xf_attachments/0/506_fogchromeerror.pdf?:”]fogchromeerror.pdf[/url]
-
RE: Latest FOG 0.33b
That’s the issue if you look its all the same snapin I launched it once and for some reason its duplicating the task it is running but it is running muiltiple times and not just once. attached is the error.log from apache2 thanks for looking into it.
[url=“/_imported_xf_attachments/0/502_error.txt?:”]error.txt[/url]
-
RE: Latest FOG 0.33b
Hey Tom snapins are still acting a little strange when I deploy any snapin at first it shows currectly under active task but then after a few min the task duplicates and it keeps duplicating I am attaching an screen shot.
[url=“/_imported_xf_attachments/0/501_fogerror.pdf?:”]fogerror.pdf[/url]
-
RE: Latest FOG 0.33b
I will give it a try thanks again for your hard work. I will keep an eye out for the snapin fix for now I am just removing them and re adding them with the correct info. also Should windows verbals work? like %windir%\system32\cmd because it does not seem like they do with the run with line with the snapins.
-
RE: Latest FOG 0.33b
Hey Tom I may have found another bug when ever I go to edit a snapin it is giving me this error “Failed to add snapin, no file was uploaded.” but the file was already uploaded it should just let me make changes.
Also with the hostname changer I found out that it only works when making the computer join a domain. Is that how it was ment to function because I was under the impression it should work with or without joining a domain.
-
RE: Latest FOG 0.33b
[quote=“Tom Elliott, post: 21574, member: 7271”]Do your hosts have the snapins associated before trying to deploy it?[/quote]
That was it must have associated them when I did that database command. I will try to test the deploy now and see if it works.