@MRCUR I see what you’re saying. It would be less work to not have to manually pin some icons to the taskbar and then run the script.
Granted I have my default base image with my default profile on a esxi vm, so for me it is pretty easy to do. I suppose it could be possible to edit the ntuser.dat file manually to add in shortcuts. I’ll look into that, because it would certainly be easier.

Posts made by JJ Fullmer
-
RE: Cortana/Windows Search breaks in default profile
-
RE: HP Z640 - NVME PCI-E Drive
@Arrowhead-IT Sorry for the delay, my btsync stopped working, still not working and then I broke my local git repo…like 30 different times because I’m dumb when I’m sleepy. Dumb like trying to reset my git repo to the master branch instead of the dev-branch and wondering why it was installing a version in the 3000’s. Fun fact, if you can’t git pull, try
git fetch --all && git reset --hard origin/dev-branch
But anyway back to working correctly and on 6050Resizable download is working again, hooray!
I did try running fog.upload from the download debug session. But I then redid it in an upload debug session and the same error happened. I’m about to test upload on the updated version. -
RE: Cortana/Windows Search breaks in default profile
@MRCUR The IE stuff in appdata is where the shortcut files that are pinned to taskbar go, but to get it to work fully you need the ntuser.dat files. The script I posted copies that file from your customized profile into the default profile but only that file. Give my batch script a try. If you’re using sysprep, some customizations might disappear so you could run the script before sysprep then put the resulting C:\Users\Default in a network share somewhere then copy it back over after sysprep or after imaging.
Does that help at all?
-
RE: HP Z640 - NVME PCI-E Drive
Resizable download is giving the same error on normal sda.
So there is most likely a problem with this version of FOG
Help me obiwan- @Tom-Elliott -nobi, you are my only hope -
RE: HP Z640 - NVME PCI-E Drive
Download and Upload of mps are still working perfectly. It’s just resize that is having trouble.
I am going to try a normal sda vm resizable download to see if this is an nvme problem or a fog init code problem -
RE: HP Z640 - NVME PCI-E Drive
@Tom-Elliott
This is the output of the upload from the same debug session# fog.upload +------------------------------------------+ | ..#######:. ..,#,.. .::##::. | |.:###### .:;####:......;#;.. | |...##... ...##;,;##::::.##... | | ,# ...##.....##:::## ..:: | | ## .::###,,##. . ##.::#.:######::.| |...##:::###::....#. .. .#...#. #...#:::. | |..:####:.. ..##......##::## .. # | | # . ...##:,;##;:::#: ... ##.. | | .# . .:;####;::::.##:::;#:.. | | # ..:;###.. | | | +------------------------------------------+ | Free Computer Imaging Solution | +------------------------------------------+ | Credits: http://fogproject.org/Credits | | http://fogproject.org/Credits | | Released under GPL Version 3 | +------------------------------------------+ Version: 6048 * Press [Enter] key to continue * Verifying network interface configuration.........Done * Press [Enter] key to continue * Checking Operating System.........................Windows 8.1 * Checking CPU Cores................................8 * Send method.......................................NFS * Attempting to check in............................Done * Press [Enter] key to continue * Mounting File System..............................Done * Press [Enter] key to continue * Checking Mounted File System......................Done * Press [Enter] key to continue * Checking img variable is set......................Done * Press [Enter] key to continue * Preparing to send image file to server * Preparing backup location.........................Failed * Press [Enter] key to continue ############################################################################## # # # An error has been detected! # # # ############################################################################## Failed to create image upload path (prepareUploadLocation) * Press [Enter] key to continue
-
RE: HP Z640 - NVME PCI-E Drive
@Tom-Elliott
On version 6048 I did a debug download of a resizable image
The following is the full output (run from ssh) including the looping error once it tried to enter partclone
It did not seem to ever exit the error loop no many how many steps. It got stuck in this same loop on 6040 in a quickimage and never exited, so I updated and ran it in debug# fog +------------------------------------------+ | ..#######:. ..,#,.. .::##::. | |.:###### .:;####:......;#;.. | |...##... ...##;,;##::::.##... | | ,# ...##.....##:::## ..:: | | ## .::###,,##. . ##.::#.:######::.| |...##:::###::....#. .. .#...#. #...#:::. | |..:####:.. ..##......##::## .. # | | # . ...##:,;##;:::#: ... ##.. | | .# . .:;####;::::.##:::;#:.. | | # ..:;###.. | | | +------------------------------------------+ | Free Computer Imaging Solution | +------------------------------------------+ | Credits: http://fogproject.org/Credits | | http://fogproject.org/Credits | | Released under GPL Version 3 | +------------------------------------------+ Version: 6048 * Press [Enter] key to continue * Verifying network interface configuration.........Done * Press [Enter] key to continue * Checking Operating System.........................Windows 8.1 * Checking CPU Cores................................8 * Send method.......................................NFS * Attempting to check in............................Done * Press [Enter] key to continue * Mounting File System..............................Done * Press [Enter] key to continue * Checking Mounted File System......................Done * Press [Enter] key to continue * Checking img variable is set......................Done * Press [Enter] key to continue * Attempting to send inventory...................... Done * Press [Enter] key to continue * Using Image: ResizableNVMEUpTest * Looking for Hard Disk.............................Done * Press [Enter] key to continue * Using Disk: /dev/nvme0n1 * Checking write caching status on HDD..............Enabled * Press [Enter] key to continue * Preparing Partition layout * Wiping /dev/nvme0n1 partition information * Erasing current MBR/GPT Tables.................... Done * Press [Enter] key to continue * Creating disk with new label......................Done * Press [Enter] key to continue * Initializing /dev/nvme0n1 with NTFS partition.....Done * Press [Enter] key to continue * Formatting initialized partition..................Done * Press [Enter] key to continue * Erasing current MBR/GPT Tables....................Done * Press [Enter] key to continue * Restoring Partition Tables (MBR)..................Done * Press [Enter] key to continue * Inserting Extended partitions.....................Done * Press [Enter] key to continue * Attempting to expand/fill partitions..............Done * Press [Enter] key to continue +--------------------------------+ | Attempting to download image | +--------------------------------+ | Using Partclone | +--------------------------------+ Problem opening ############################################################################## for reading! Error is 2. The specified file does not exist! Problem opening ############################################################################## for reading! Error is 2. The specified file does not exist! * Processing Partition: ############################################################################## () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: ##############################################################################: No such file or directory Problem opening ############################################################################## for reading! Error is 2. The specified file does not exist! Problem opening ############################################################################## for reading! Error is 2. The specified file does not exist! error: ##############################################################################: No such file or directory * Not expanding (############################################################################## -- imager) * Press [Enter] key to continue * Press [Enter] key to continue Problem opening # for reading! Error is 2. The specified file does not exist! Problem opening # for reading! Error is 2. The specified file does not exist! * Processing Partition: # () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: #: No such file or directory Problem opening # for reading! Error is 2. The specified file does not exist! Problem opening # for reading! Error is 2. The specified file does not exist! error: #: No such file or directory * Not expanding (# -- imager) * Press [Enter] key to continue * Press [Enter] key to continue Problem opening # for reading! Error is 2. The specified file does not exist! Problem opening # for reading! Error is 2. The specified file does not exist! * Processing Partition: # () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: #: No such file or directory Problem opening # for reading! Error is 2. The specified file does not exist! Problem opening # for reading! Error is 2. The specified file does not exist! error: #: No such file or directory * Not expanding (# -- imager) * Press [Enter] key to continue * Press [Enter] key to continue Problem opening # for reading! Error is 2. The specified file does not exist! Problem opening # for reading! Error is 2. The specified file does not exist! * Processing Partition: # () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: #: No such file or directory Problem opening # for reading! Error is 2. The specified file does not exist! Problem opening # for reading! Error is 2. The specified file does not exist! error: #: No such file or directory * Not expanding (# -- imager) * Press [Enter] key to continue * Press [Enter] key to continue Problem opening An for reading! Error is 2. The specified file does not exist! Problem opening An for reading! Error is 2. The specified file does not exist! * Processing Partition: An () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: An: No such file or directory Problem opening An for reading! Error is 2. The specified file does not exist! Problem opening An for reading! Error is 2. The specified file does not exist! error: An: No such file or directory * Not expanding (An -- imager) * Press [Enter] key to continue * Press [Enter] key to continue Problem opening error for reading! Error is 2. The specified file does not exist! Problem opening error for reading! Error is 2. The specified file does not exist! * Processing Partition: error () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: error: No such file or directory Problem opening error for reading! Error is 2. The specified file does not exist! Problem opening error for reading! Error is 2. The specified file does not exist! error: error: No such file or directory * Not expanding (error -- imager) * Press [Enter] key to continue * Press [Enter] key to continue Problem opening has for reading! Error is 2. The specified file does not exist! Problem opening has for reading! Error is 2. The specified file does not exist! * Processing Partition: has () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: has: No such file or directory Problem opening has for reading! Error is 2. The specified file does not exist! Problem opening has for reading! Error is 2. The specified file does not exist! error: has: No such file or directory * Not expanding (has -- imager) * Press [Enter] key to continue * Press [Enter] key to continue Problem opening been for reading! Error is 2. The specified file does not exist! Problem opening been for reading! Error is 2. The specified file does not exist! * Processing Partition: been () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: been: No such file or directory Problem opening been for reading! Error is 2. The specified file does not exist! Problem opening been for reading! Error is 2. The specified file does not exist! error: been: No such file or directory * Not expanding (been -- imager) * Press [Enter] key to continue * Press [Enter] key to continue Problem opening detected! for reading! Error is 2. The specified file does not exist! Problem opening detected! for reading! Error is 2. The specified file does not exist! * Processing Partition: detected! () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: detected!: No such file or directory Problem opening detected! for reading! Error is 2. The specified file does not exist! Problem opening detected! for reading! Error is 2. The specified file does not exist! error: detected!: No such file or directory * Not expanding (detected! -- imager) * Press [Enter] key to continue
And on the fog server, this is the contents of the image
ls /images/ResizableNVMEUpTest/ d1.fixed_size_partitions d1.minimum.partitions d1.original.swapuuids d1.partitions d1.mbr d1.original.fstypes d1p1.img
I will try an upload of this image as well as the same with my mps test image and post the results
-
RE: Active directory Join issue
@anthonyglamis I like scripting things. And I like sharing. Here’s how I do my fog updates with one command.
If you stick with svn, you can just change the git function in the script to do svn up instead of git pull and change the path variables too in the variable setting function. Or just use git, because sourceforge likes to crash.
https://forums.fogproject.org/topic/6331/automating-git-updates-for-fog -
RE: Impossible to boot on PXE......
I would firstly strongly recommend upgrading to trunk. It includes the latest version of ipxe which alone could fix the issue.
But I have a few other ideas from my tests of difficult networks that I’ve gotten FOG working on.So if I understand correctly you already have reserved ips on your windows dhcp for the hosts you are testing. Does FOG also have a reserved IP address in the dhcp? Something I’ve had good luck with is giving FOG a reservation on the DHCP server (On the same subnet as the computers it’s imaging, even if you have seperate subnets for servers and workstations) and a DNS entry too and then set option 66 with the FQDN (Fully Qualified Domain Name/Hostname.domain). This could be part of the issue here, but since you’re getting as far as you are it probably isn’t, but it could help since it may help the with getting the dhcp address.
So in summary of that idea
- Give FOG a dhcp reservation
- Give FOG a dns reservation
- Set Option 66 to hostname
Now A separate idea, even though you do have the dhcp method working. If it continues to give you grief you can give proxy dhcp via dnsmasq a try. I’ve had luck with it in environments that don’t like being edited. You typically don’t want to use poth the dhcp option and dnsmasq, however in some harder to modify network configurations, it is helpful to have both running. But I’ve also seen where one breaks the other, so just be aware of that when trying. So if you try this method, I would try unsetting option 66 and 67. And if it doesn’t work try setting the options again.
I put some information about configuring dnsmasq in a post in this thread
https://forums.fogproject.org/topic/6262/tftp-problems/43There is also more information in the wiki
https://wiki.fogproject.org/wiki/index.php/ProxyDHCP_/dnsmasq-_DRAFT
https://wiki.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/Using_FOG_with_no_DHCP_serverHopefully that’s helpful in some way.
-
RE: windows 10 fog service
@Wayne-Workman said:
Let me know if you’d like to try it out.
Let me help here, you want to try it out.
You can probably get windows 10 imaging working on the older version of FOG, but if you want everything to work flawlessly, you’re going to need to update, and it’s pretty darn easy.Here are some posts to help out
https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk
https://forums.fogproject.org/topic/6331/automating-git-updates-for-fog
https://forums.fogproject.org/topic/6010/msi-silent-install/2
https://forums.fogproject.org/topic/4250/new-client-progress -
RE: Active directory Join issue
@anthonyglamis @Wayne-Workman speaks the truth.
I would just add that there is a setting called FOG_FTP_IMAGE_SIZE in fog configuration → Fog Settings → General Settings
that you can enable. The size that says 0.0 is likely image size on client. If you enable FOG_FTP_IMAGE_SIZE then you will also see the compressed image size on the FOG server which I think will automatically update, but it might also need to be deployed first.I just like being able to see both sizes.
-
RE: MSI Silent install
@Wayne-Workman I just noticed that I missed this post, it was when I was on vacation. This hasn’t actually been a problem on this new network as much. If it happens to me again I’ll come back here or make a new post with the fog.log on anything having trouble.
-
RE: FOG With BASH
@Wayne-Workman I see that now, You posted while I was writing my post so I didn’t see that. I got distracted whilst writing it.
-
RE: FOG With BASH
So you can do these things in the gui with much ease. I’m guessing you’re trying to write a script of some sort to automate it further?
If you run a debug session then you can run any of those commands on the computer you’re imaging with things like fog.wipe and fog.download.Since the actions you make in the gui are essentially doing things in the database, I suppose that it would be possible to manually edit the database with a script to queue the actions you want on the computers you want. But I don’t know the database well enough to help much more than point you in that direction.
What exactly are you trying to do though? You can set up cron style jobs in the gui if you are trying to just have wipes and restores done regularly, you could set that up in the gui without custom code. Just select cron style deployment when you queue a job in the gui.
Hopefully that’s helpful in some way.
-
RE: Active directory Join issue
@Wayne-Workman said:
@Arrowhead-IT said:
Just make new images in the fog gui with the same settings and point them to the file names and they should work. Does that make sense?
People always mess that up.
Do I sound full of myself if I say that I never messed that up? Because well, I never messed that up. It just kinda worked as it should anytime I’ve done that.
-
RE: Active directory Join issue
@anthonyglamis said:
I created those images in the previous fog version so is this a bug or am I not capturing the image correctly?
Also I deleted those images (Dell3450, LenovoE430) however they are still on my linux box, can I get those back into the fog server?If they are still in the /images folder then yes. If they are in a different machine, still yes, just transfer the files to the new fog server /images folder.
Just make new images in the fog gui with the same settings and point them to the file names and they should work. Does that make sense?
-
RE: Active directory Join issue
@anthonyglamis So what is the current status? Did the new image upload and download successfully? Is AD working like magic with the new version?
-
RE: Active directory Join issue
@anthonyglamis Fogcrypt is essentially obsolete, yes. You can still put the fogcrypt output into the legacy input but I find the new auto-encrypt to work better. But yes I’m pretty sure that the fogcrypt tool is still there
I hadn’t noticed that the hashes were different before, so I checked mine and they are different. I haven’t had any problems though, so I would say it shouldn’t be an issue.
-
RE: Active directory Join issue
@anthonyglamis 6038 is the latest version. That’s the git/svn revision number. It won’t say 1.3.0 until that version is officially released, so don’t worry about that.
For the image store corrupt error, did that go away after upgrading from 6032→6038?
If not check that image folder on the fog server withls /images/imageName
and make sure there’s a d1.mbr or something of that sort.
Also make sure the permissions are correct on the image storesudo chmod -R 775 /images
also what does /etc/exports say?
cat /etc/exports