I did not manage so far to rework the GUI : all my attemps failed (i.e I was not happy with the result).
I tried to rework it so that it would expand horizontally instead of vertically but no luck so far.
If you guys have any proposal (send me screenshots), I would look at it.
In the meantime a new version is out with some bug fixes or improvements.
I have added a new tool in the zip file : discover.exe.
It will look on the network for Tiny PXE Server and retrieve informations.
See example lower in this post.
In the long term, idea is to have a "poor man's" distribution server : from a booted winpe, one could retrieve informations to trigger a windows network install.
Tiny PXE Server version 188.8.131.52
March 02, 2017 - 13:30
modified : dns proxy will read entries from config.ini (section=hostname,ident=ip), no more from hosts file
added : right click open config.ini
added : right click open root_path
fixed : share folder will now add everyone read-only on share permissions
added : share is created with STYPE_TEMPORARY flag, i.e will not survive a reboot
added : TPS will answer to specific 'discovery' messages (see discover.zip)
Example of a batch launched from a WinPe to trigger a windows install without having to hardcode any parameter in the winpe batch.
That batch could be added in winpeshl.ini to be triggerred automatically once winpe has booted up.
Thi way, one can build a generic winpe image to install windows over the network with all params handled on "server" side i.e thru Tiny PXE Server.
rem default : will send back Tiny PXE Server IP
for /f %%i in ('discover.exe') do set remote_ip=%%i
echo remote_ip = %remote_ip%
rem will read share_name from remote config.ini
for /f %%i in ('discover.exe share_name') do set share_name=%%i
echo share_name = %share_name%
rem create the user on the server side with net user user password /add
rem will read share_username from remote config.ini
for /f %%i in ('discover.exe share_username') do set share_username=%%i
echo share_username = %share_username%
rem will read share_password from remote config.ini
for /f %%i in ('discover.exe share_password') do set share_password=%%i
echo share_password = ********
rem you can use symbolic link on your server, use unc paths : mklink /d \\server_ip\pxe\iso \\remote_ip\iso
echo mounting z: \\%ip%\%share_name%
net use z: \\%remote_ip%\%share_name% /user:%share_username% %share_password%