Should it be a path problem ? Should fog client install the script from c:\program file x86\fog\tmp ?
Posts made by lebrun78
-
RE: snappin doesn't work
-
RE: snappin doesn't work
@Tom-Elliott
I manually restart it while the task is still marked as running -
RE: snappin doesn't work
@Zaarin
Fog client is running in his folder, isn’t it ? -
RE: snappin doesn't work
@Tom-Elliott said in snappin doesn't work:
powershell -ExecutionPolicy allsigned -File “C:\Program Files (x86)\FOG\tmp\fog_inst_office2010.ps1” -programme “P:\packages\audio video\vlc\inst_vlc.bat”
On the machine, when I run this command , it runs, fog_inst_office2010.ps1 is download and placed in “C:\Program Files (x86)\FOG\tmp” by fog snap in install
-
RE: snappin doesn't work
@Tom-Elliott
Why have you written twice “-ExecutionPolicy allsigned” -
RE: snappin doesn't work
@Tom-Elliott
I did a new deploy
Here is the entire log file:09/02/2017 14:28 Main Overriding exception handling 09/02/2017 14:28 Main Bootstrapping Zazzles 09/02/2017 14:28 Controller Initialize 09/02/2017 14:28 Zazzles Creating main thread 09/02/2017 14:28 Zazzles Service construction complete 09/02/2017 14:28 Controller Start 09/02/2017 14:28 Service Starting service 09/02/2017 14:28 Bus Became bus server 09/02/2017 14:28 Bus { "self": true, "channel": "Status", "data": "{\r\n \"action\": \"load\"\r\n}" } 09/02/2017 14:28 Bus Emmiting message on channel: Status 09/02/2017 14:28 Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 09/02/2017 14:28 Client-Info Version: 0.11.9 09/02/2017 14:28 Client-Info OS: Windows 09/02/2017 14:28 Middleware::Authentication Waiting for authentication timeout to pass 09/02/2017 14:28 Middleware::Communication Download: http://cosinus.istic.univ-rennes1.fr/fog/management/other/ssl/srvpublic.crt 09/02/2017 14:28 Data::RSA FOG Server CA cert found 09/02/2017 14:28 Middleware::Authentication Cert OK 09/02/2017 14:28 Middleware::Authentication ERROR: Could not get security token 09/02/2017 14:28 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable. 09/02/2017 14:28 Middleware::Communication POST URL: http://cosinus.istic.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&authorize&newService 09/02/2017 14:28 Middleware::Response Invalid security token ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 09/02/2017 14:28 Client-Info Version: 0.11.9 09/02/2017 14:28 Client-Info OS: Windows 09/02/2017 14:28 Middleware::Authentication Waiting for authentication timeout to pass 09/02/2017 14:30 Middleware::Communication Download: http://cosinus.istic.univ-rennes1.fr/fog/management/other/ssl/srvpublic.crt 09/02/2017 14:30 Data::RSA FOG Server CA cert found 09/02/2017 14:30 Middleware::Authentication Cert OK 09/02/2017 14:30 Middleware::Authentication ERROR: Could not get security token 09/02/2017 14:30 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable. 09/02/2017 14:30 Middleware::Communication POST URL: http://cosinus.istic.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&authorize&newService 09/02/2017 14:30 Middleware::Response Invalid security token ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 09/02/2017 14:30 Client-Info Version: 0.11.9 09/02/2017 14:30 Client-Info OS: Windows 09/02/2017 14:30 Middleware::Authentication Waiting for authentication timeout to pass 09/02/2017 14:43 Main Overriding exception handling 09/02/2017 14:43 Main Bootstrapping Zazzles 09/02/2017 14:43 Controller Initialize 09/02/2017 14:43 Zazzles Creating main thread 09/02/2017 14:43 Zazzles Service construction complete 09/02/2017 14:43 Controller Start 09/02/2017 14:43 Service Starting service 09/02/2017 14:43 Bus Became bus server 09/02/2017 14:43 Bus { "self": true, "channel": "Status", "data": "{\r\n \"action\": \"load\"\r\n}" } 09/02/2017 14:43 Bus Emmiting message on channel: Status 09/02/2017 14:43 Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 09/02/2017 14:43 Client-Info Version: 0.11.9 09/02/2017 14:43 Client-Info OS: Windows 09/02/2017 14:43 Middleware::Authentication Waiting for authentication timeout to pass 09/02/2017 14:43 Middleware::Communication Download: http://cosinus.istic.univ-rennes1.fr/fog/management/other/ssl/srvpublic.crt 09/02/2017 14:43 Data::RSA FOG Server CA cert found 09/02/2017 14:43 Middleware::Authentication Cert OK 09/02/2017 14:43 Middleware::Authentication ERROR: Could not get security token 09/02/2017 14:43 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable. 09/02/2017 14:43 Middleware::Communication POST URL: http://cosinus.istic.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&authorize&newService 09/02/2017 14:43 Middleware::Response Success 09/02/2017 14:43 Middleware::Authentication Authenticated 09/02/2017 14:43 Bus Registering ParseBus in channel Power 09/02/2017 14:43 Middleware::Communication URL: http://cosinus.istic.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&configure&newService&json 09/02/2017 14:43 Middleware::Response Success 09/02/2017 14:43 Middleware::Communication URL: http://cosinus.istic.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&mac=52:54:00:CE:A1:DD||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json 09/02/2017 14:43 Middleware::Response Success 09/02/2017 14:43 Middleware::Communication URL: http://cosinus.istic.univ-rennes1.fr/fog/service/getversion.php?clientver&newService&json 09/02/2017 14:43 Middleware::Communication URL: http://cosinus.istic.univ-rennes1.fr/fog/service/getversion.php?newService&json 09/02/2017 14:43 Service Creating user agent cache 09/02/2017 14:43 Middleware::Response Invalid time 09/02/2017 14:43 Middleware::Response Module is disabled on the host 09/02/2017 14:43 Middleware::Response Module is disabled globally on the FOG server 09/02/2017 14:43 Service Initializing modules ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 09/02/2017 14:43 Client-Info Client Version: 0.11.9 09/02/2017 14:43 Client-Info Client OS: Windows 09/02/2017 14:43 Client-Info Server Version: 1.3.4 09/02/2017 14:43 Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 09/02/2017 14:43 Client-Info Client Version: 0.11.9 09/02/2017 14:43 Client-Info Client OS: Windows 09/02/2017 14:43 Client-Info Server Version: 1.3.4 09/02/2017 14:43 Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 09/02/2017 14:43 Client-Info Client Version: 0.11.9 09/02/2017 14:43 Client-Info Client OS: Windows 09/02/2017 14:43 Client-Info Server Version: 1.3.4 09/02/2017 14:43 Middleware::Response Success 09/02/2017 14:43 HostnameChanger Checking Product Key Activation 09/02/2017 14:43 HostnameChanger Windows has correct key but is not licensed 09/02/2017 14:43 WinActivation Installing Product key 09/02/2017 14:43 HostnameChanger Checking Hostname 09/02/2017 14:43 HostnameChanger Hostname is correct ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 09/02/2017 14:43 Client-Info Client Version: 0.11.9 09/02/2017 14:43 Client-Info Client OS: Windows 09/02/2017 14:43 Client-Info Server Version: 1.3.4 09/02/2017 14:43 Middleware::Response Success 09/02/2017 14:43 SnapinClient Snapin Found: 09/02/2017 14:43 SnapinClient ID: 5756 09/02/2017 14:43 SnapinClient Name: test_arnaud3 09/02/2017 14:43 SnapinClient Created: 2017-02-09 13:24:25 09/02/2017 14:43 SnapinClient Action: 09/02/2017 14:43 SnapinClient Pack: False 09/02/2017 14:43 SnapinClient Hide: False 09/02/2017 14:43 SnapinClient Server: 09/02/2017 14:43 SnapinClient TimeOut: 0 09/02/2017 14:43 SnapinClient RunWith: powershell.exe 09/02/2017 14:43 SnapinClient RunWithArgs: -ExecutionPolicy allsigned -File 09/02/2017 14:43 SnapinClient Args: -programme "P:\packages\audio video\vlc\inst_vlc.bat" 09/02/2017 14:43 SnapinClient File: fog_inst_office2010.ps1 09/02/2017 14:43 Middleware::Communication Download: http://cosinus.istic.univ-rennes1.fr/fog/service/snapins.file.php?mac=52:54:00:CE:A1:DD||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&taskid=5756 09/02/2017 14:43 SnapinClient C:\Program Files (x86)\FOG\tmp\fog_inst_office2010.ps1 09/02/2017 14:43 Bus { "self": true, "channel": "Notification", "data": "{\r\n \"title\": \"Installation de test_arnaud3\",\r\n \"message\": \"Ne pas éteindre l'ordinateur tant que la tâche n'est pas terminée\"\r\n}" } 09/02/2017 14:43 Bus Emmiting message on channel: Notification 09/02/2017 14:43 SnapinClient Starting snapin... 09/02/2017 14:51 Main Overriding exception handling 09/02/2017 14:51 Main Bootstrapping Zazzles 09/02/2017 14:51 Controller Initialize 09/02/2017 14:51 Zazzles Creating main thread 09/02/2017 14:51 Zazzles Service construction complete 09/02/2017 14:51 Controller Start 09/02/2017 14:51 Service Starting service 09/02/2017 14:51 Bus Became bus server 09/02/2017 14:51 Bus { "self": true, "channel": "Status", "data": "{\r\n \"action\": \"load\"\r\n}" } 09/02/2017 14:51 Bus Emmiting message on channel: Status 09/02/2017 14:51 Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 09/02/2017 14:51 Client-Info Version: 0.11.9 09/02/2017 14:51 Client-Info OS: Windows 09/02/2017 14:51 Middleware::Authentication Waiting for authentication timeout to pass 09/02/2017 14:51 Middleware::Communication Download: http://cosinus.istic.univ-rennes1.fr/fog/management/other/ssl/srvpublic.crt 09/02/2017 14:51 Data::RSA FOG Server CA cert found 09/02/2017 14:51 Middleware::Authentication Cert OK 09/02/2017 14:51 Middleware::Communication POST URL: http://cosinus.istic.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&authorize&newService 09/02/2017 14:51 Middleware::Response Success 09/02/2017 14:51 Middleware::Authentication Authenticated 09/02/2017 14:51 Bus Registering ParseBus in channel Power 09/02/2017 14:51 Middleware::Communication URL: http://cosinus.istic.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&configure&newService&json 09/02/2017 14:51 Middleware::Response Success 09/02/2017 14:51 Middleware::Communication URL: http://cosinus.istic.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&mac=52:54:00:CE:A1:DD||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json 09/02/2017 14:51 Middleware::Response Success 09/02/2017 14:51 Middleware::Communication URL: http://cosinus.istic.univ-rennes1.fr/fog/service/getversion.php?clientver&newService&json 09/02/2017 14:51 Middleware::Communication URL: http://cosinus.istic.univ-rennes1.fr/fog/service/getversion.php?newService&json 09/02/2017 14:51 Service Creating user agent cache 09/02/2017 14:51 Middleware::Response Invalid time 09/02/2017 14:51 Middleware::Response Module is disabled on the host 09/02/2017 14:51 Middleware::Response Module is disabled globally on the FOG server 09/02/2017 14:51 Service Initializing modules ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 09/02/2017 14:51 Client-Info Client Version: 0.11.9 09/02/2017 14:51 Client-Info Client OS: Windows 09/02/2017 14:51 Client-Info Server Version: 1.3.4 09/02/2017 14:51 Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 09/02/2017 14:51 Client-Info Client Version: 0.11.9 09/02/2017 14:51 Client-Info Client OS: Windows 09/02/2017 14:51 Client-Info Server Version: 1.3.4 09/02/2017 14:51 Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 09/02/2017 14:51 Client-Info Client Version: 0.11.9 09/02/2017 14:51 Client-Info Client OS: Windows 09/02/2017 14:51 Client-Info Server Version: 1.3.4 09/02/2017 14:51 Middleware::Response Success 09/02/2017 14:51 HostnameChanger Checking Product Key Activation 09/02/2017 14:51 HostnameChanger Already activated with correct key 09/02/2017 14:51 HostnameChanger Checking Hostname 09/02/2017 14:51 HostnameChanger Hostname is correct ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 09/02/2017 14:51 Client-Info Client Version: 0.11.9 09/02/2017 14:51 Client-Info Client OS: Windows 09/02/2017 14:51 Client-Info Server Version: 1.3.4 09/02/2017 14:51 Middleware::Response Success 09/02/2017 14:51 SnapinClient Snapin Found: 09/02/2017 14:51 SnapinClient ID: 5756 09/02/2017 14:51 SnapinClient Name: test_arnaud3 09/02/2017 14:51 SnapinClient Created: 2017-02-09 13:24:25 09/02/2017 14:51 SnapinClient Action: 09/02/2017 14:51 SnapinClient Pack: False 09/02/2017 14:51 SnapinClient Hide: False 09/02/2017 14:51 SnapinClient Server: 09/02/2017 14:51 SnapinClient TimeOut: 0 09/02/2017 14:51 SnapinClient RunWith: powershell.exe 09/02/2017 14:51 SnapinClient RunWithArgs: -ExecutionPolicy allsigned -File 09/02/2017 14:51 SnapinClient Args: -programme "P:\packages\audio video\vlc\inst_vlc.bat" 09/02/2017 14:51 SnapinClient File: fog_inst_office2010.ps1 09/02/2017 14:51 Middleware::Communication Download: http://cosinus.istic.univ-rennes1.fr/fog/service/snapins.file.php?mac=52:54:00:CE:A1:DD||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&taskid=5756 09/02/2017 14:51 SnapinClient C:\Program Files (x86)\FOG\tmp\fog_inst_office2010.ps1 09/02/2017 14:51 Bus { "self": true, "channel": "Notification", "data": "{\r\n \"title\": \"Installation de test_arnaud3\",\r\n \"message\": \"Ne pas éteindre l'ordinateur tant que la tâche n'est pas terminée\"\r\n}" } 09/02/2017 14:51 Bus Emmiting message on channel: Notification 09/02/2017 14:51 SnapinClient Starting snapin...
-
RE: snappin doesn't work
Je pensais que le fichier téléchargé était passé automatiquement en argument, ce n’est pas le cas ?
I thought that uploaded file for snapin was automatically add as argument to the command line
Is it ?Obtained Snapin command (read only) seems correct:
Snapin Command
read-onlypowershell.exe -ExecutionPolicy allsigned -File fog_inst_office2010.ps1 -programme "P:\packages\audio video\vlc\inst_vlc.bat"
-
RE: snappin doesn't work
hello
-programme is an option of the script fog_inst_office2010.ps1fog_inst_office2010.ps1 is a script to mount p: with authentication and call a bat script
-
snappin doesn't work
Server
- FOG Version: 1.3.4
- OS: centos6.8
Client
- Service Version:
- OS: win10
Description
Hello
Snappin doesn’t work
Here is the log file:----------------------------------------------------------------------------- --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 09/02/2017 11:47 Client-Info Client Version: 0.11.9 09/02/2017 11:47 Client-Info Client OS: Windows 09/02/2017 11:47 Client-Info Server Version: 1.3.4 09/02/2017 11:47 Middleware::Response Success 09/02/2017 11:47 HostnameChanger Checking Product Key Activation 09/02/2017 11:47 HostnameChanger Already activated with correct key 09/02/2017 11:47 HostnameChanger Checking Hostname 09/02/2017 11:47 HostnameChanger Hostname is correct ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 09/02/2017 11:47 Client-Info Client Version: 0.11.9 09/02/2017 11:47 Client-Info Client OS: Windows 09/02/2017 11:47 Client-Info Server Version: 1.3.4 09/02/2017 11:47 Middleware::Response Success 09/02/2017 11:47 SnapinClient Snapin Found: 09/02/2017 11:47 SnapinClient ID: 5755 09/02/2017 11:47 SnapinClient Name: test_arnaud3 09/02/2017 11:47 SnapinClient Created: 2017-02-09 11:39:24 09/02/2017 11:47 SnapinClient Action: 09/02/2017 11:47 SnapinClient Pack: False 09/02/2017 11:47 SnapinClient Hide: False 09/02/2017 11:47 SnapinClient Server: 09/02/2017 11:47 SnapinClient TimeOut: 0 09/02/2017 11:47 SnapinClient RunWith: powershell.exe 09/02/2017 11:47 SnapinClient RunWithArgs: -ExecutionPolicy allsigned -File 09/02/2017 11:47 SnapinClient Args: -programme "P:\packages\audio video\vlc\inst_vlc.bat" 09/02/2017 11:47 SnapinClient File: -ExecutionPolicy allsigned -File 09/02/2017 11:47 Middleware::Communication Download: http://coconus.istic.univ-rennes1.fr/fog/service/snapins.file.php?mac=52:54:00:CE:A1:DD||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&taskid=5755 09/02/2017 11:47 SnapinClient C:\Program Files (x86)\FOG\tmp\fog_inst_office2010.ps1 09/02/2017 11:47 Bus { "self": true, "channel": "Notification", "data": "{\r\n \"title\": \"Installation de test_arnaud3\",\r\n \"message\": \"Ne pas éteindre l'ordinateur tant que la tâche n'est pas terminée\"\r\n}" } 09/02/2017 11:47 Bus Emmiting message on channel: Notification 09/02/2017 11:47 SnapinClient Starting snapin...
I checked powershell.exe -ExecutionPolicy allsigned -File -ExecutionPolicy allsigned -File “P:\packages\audio video\vlc\inst_vlc.bat” on the client it works.
Where could I find the error ?
-
RE: store a login account in a ipxe menu
@Tom-Elliott
No I always have authentication problem.
The first pass seems ok
I get :
After have valid “deploy image” in boot menuhttp://122.60.15.17/fog/service/ipxeboot.php... ok Invalid login!
-
RE: store a login account in a ipxe menu
nothing, I realize I don’t need it
Could you explains what are (and where could I find source code) login and params
-
store a login account in a ipxe menu
Server
- FOG Version: 1.3.4
- OS: centos 6.8
Client
- Service Version:
- OS:
Description
Hello,
I 'm always looking for a solution for my system learning room and deploying an image locally without account.
If I write this in the fog.deployimage menu#login params param mac0 ${net0/mac} param arch ${arch} param hostname ${hostname} goto host_${hostname} || goto autres :host_admin13 param username toto param password toto param qihost 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme goto fin :autres login param username ${username} param password ${password} param qihost 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme :fin
toto account is not accepted, should I encrypt the password, how show I do that ?
For that room, all the hostnames begin by i201, which syntax could I use to discriminate that machines ?
-
RE: Is it possible to remove the FOG Quick image password?
login toto and password toto is a mobile account
-
RE: Is it possible to remove the FOG Quick image password?
I tried modify the fog.deployimage with this code:
#login params param mac0 ${net0/mac} param arch ${arch} param hostname ${hostname} goto host_${hostname} || goto autres :host_admin13 param username toto param password toto param qihost 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme goto fin :autres login param username ${username} param password ${password} param qihost 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme :fin
My test machine admin13 goes into the loop host_admin13, but login and password are not valid.
It may be a coding problem for the password ? -
RE: Is it possible to remove the FOG Quick image password?
I would like, for a group of machine which the name is beginning by i207, not have to insert login/password to deploy image directly from pxe menu.
But for all the other machines I would have to keep the login/password