I have tried to run partimage in debug and it says that partition is too small to be restored.
Original size is : 250059317760 and destination size is 250058301440.
Is there a way to bypass this ?
I have tried to run partimage in debug and it says that partition is too small to be restored.
Original size is : 250059317760 and destination size is 250058301440.
Is there a way to bypass this ?
I am running 1.5.0 RC 11 and since few update, I have this error.
Here are the files in the directory of the image.
@Tom-Elliott I have make a look at GUI this morning and I didn’t see anything blocking me. I would like to say that it looks functional for an average use.
As I work under VMWare, i’ll make a snapshot of my server and run the update.
I missed bothering Thomas for bugs.
Tested using VBS.
Result is the same and even
objShell.ExpandEnvironmentStrings( "%COMPUTERNAME%" )
return nothing.
I kind of make errors using “if defined ValueName ()” command.
To confirm that “reg query” is the problem and that i don’t have problem of rights to create a directory, I have tested again with these two lines in my script.
( because I just realised that topic was a bit focusing on the wrong thing)
if defined ValueName (echo %COMPUTERNAME%;%ValueValue% >> \\console\wsusclients$\logs.csv)
echo %COMPUTERNAME%;%ValueValue% >> \\console\wsusclients$\logs.csv
I have only one line in the logs.csv that is
console;
It means ValueName has no value.
@Joe-Schmitt That’s what I did. Hidden share with full rights for everybody.
Your command has changed something.
Now, it runs “single snapin” only on the host that have it added (it means only 1).
Is this normal ? lol
edit : Found out, with Thomas, that I have to associate this snapin to each host to create a working task for every host using group single snapin task.
Yes it is. Here is the orginal code :
@echo OFF
setlocal ENABLEEXTENSIONS
set KEY_NAME=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate
set VALUE_NAME=SusClientId
FOR /F "tokens=1-3" %%A IN ('REG QUERY %KEY_NAME% /v %VALUE_NAME% 2^>nul') DO (
set ValueName=%%A
set ValueType=%%B
set ValueValue=%%C
)
if defined ValueName (
echo %COMPUTERNAME%;%ValueValue% >> \\console\wsusclients$\logs.csv
)
------------------------------------------------------------------------------
---------------------------------SnapinClient---------------------------------
------------------------------------------------------------------------------
20/03/2017 16:38 Client-Info Client Version: 0.11.11
20/03/2017 16:38 Client-Info Client OS: Windows
20/03/2017 16:38 Client-Info Server Version: 1.3.5
20/03/2017 16:38 Middleware::Response Success
20/03/2017 16:38 SnapinClient Snapin Found:
20/03/2017 16:38 SnapinClient ID: 272
20/03/2017 16:38 SnapinClient Name: WSUS ID
20/03/2017 16:38 SnapinClient Created: 2017-03-20 15:38:00
20/03/2017 16:38 SnapinClient Action:
20/03/2017 16:38 SnapinClient Pack: False
20/03/2017 16:38 SnapinClient Hide: False
20/03/2017 16:38 SnapinClient Server:
20/03/2017 16:38 SnapinClient TimeOut: 0
20/03/2017 16:38 SnapinClient RunWith: cmd.exe
20/03/2017 16:38 SnapinClient RunWithArgs: /c
20/03/2017 16:38 SnapinClient Args:
20/03/2017 16:38 SnapinClient File: SusClientId.cmd
20/03/2017 16:38 Middleware::Communication Download: http://fogserver/fog/service/snapins.file.php?mac=4C:CC:6A:32:E5:4B||00:00:00:00:00:00:00:E0&taskid=272
20/03/2017 16:38 SnapinClient C:\Program Files (x86)\FOG\tmp\SusClientId.cmd
20/03/2017 16:38 Bus {
"self": true,
"channel": "Notification",
"data": "{\r\n \"title\": \"Installation de WSUS ID\",\r\n \"message\": \"Ne pas éteindre l'ordinateur tant que la tâche n'est pas terminée\"\r\n}"
}
20/03/2017 16:38 Bus Emmiting message on channel: Notification
20/03/2017 16:38 SnapinClient Starting snapin...
20/03/2017 16:38 SnapinClient Snapin finished
20/03/2017 16:38 SnapinClient Return Code: 0
20/03/2017 16:38 Bus {
"self": true,
"channel": "Notification",
"data": "{\r\n \"title\": \"WSUS ID installé\",\r\n \"message\": \"L’installation est terminée, prêt pour l'utilisation\"\r\n}"
}
20/03/2017 16:38 Bus Emmiting message on channel: Notification
20/03/2017 16:38 Middleware::Communication URL: http://fogserver/fog/service/snapins.checkin.php?taskid=272&exitcode=0&mac=4C:CC:6A:32:E5:4B||00:00:00:00:00:00:00:E0&newService&json
------------------------------------------------------------------------------
I run a script that write on a network share and use reg query.
It was working fine on 1.3.4 but since i have updated to 1.3.5, some commands doesn’t look to work.
I can write in local (such as c:) but not using \aComputerName\Myshare even using a “net use”.
Reg query doesn’t return anything neither.
These are the test I have done writing localy
echo 1. blablabla >> C:\logs.txt
REG QUERY %KEY_NAME% /v %VALUE_NAME% >> C:\logs.txt
echo 3. %KEY_NAME% >> C:\logs.txt
echo 4. %VALUE_NAME% >> C:\logs.txt
echo 5. titi;toto;tata >> C:\logs.txt
echo 6. %COMPUTERNAME%;%ValueValue% >> C:\logs.txt
Here are the results :
1. blablabla
3. HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate
4. SusClientId
5. titi;toto;tata
6. console;
I have also run as Thomas asked :
truncate table snapinJobs;
truncate table snapinTasks;
delete from tasks where taskTypeID IN (12,13);
but without success
I have a group of 260 hosts, I try to deploy a “Single Snapin” task.
More than 250 host had image associated.
None has snapins associated (it’s my first snapin).
Only 64 hosts hast task created at the end.
Cancel from GUI all task or run :
DELETE FROM `tasks` WHERE `taskStateID` IN ("1","2","3");
DELETE FROM `snapinTasks` WHERE `stState` in ("1","2","3");
only end to create the same amount of task each time.
Thank you
@sourceminer Hello, I never tested using a channel but using a private message works fine with test token.
You can also create your bot : https://my.slack.com/services/new/bot
Here is my conf :
Hello,
I have speak of this with Thomas but I don’t want to make him spend too much time on my problems.
We have received 3 type of Acer computer this year X2640g, X4640G and N4640G.
Both X are working fine with undionly.kkpxe but N isn’t.
N is only working with ipxe.pxe.
Thomas asked us to use the 10s delay pxe boot file since he thinks it’s because RSTP that is disabled on switches but problem remain the same.
Here are the 2 screenshot using undionly.kkpxe.
First is normal one, second is 10s delay one.
I have the same problem on my side (under Win 10 too).