Hi there guys,
i’m testing out an CMD script – Changing things in the register.
I added my script to the snapins.
I think this worked good. When i add the snapin to my client , i can find the script in “C:\ProgramFiles\Fog\TMP” --> So he pushed it to the client.
I see the task ending in a minute but nothing happened.
When i look to Debug-File : C:\ProgramFiles\Fog\Fog.txt I see this error :
24-6-2016 12:06 Client-Info Client Version: 0.11.2
24-6-2016 12:06 Client-Info Client OS: Windows
24-6-2016 12:06 Client-Info Server Version: 7410
24-6-2016 12:06 Middleware::Response Success
24-6-2016 12:06 SnapinClient Snapin Found:
24-6-2016 12:06 SnapinClient ID: 3
24-6-2016 12:06 SnapinClient Name: TestScript
24-6-2016 12:06 SnapinClient Created: 2016-06-24 10:05:22
24-6-2016 12:06 SnapinClient Action:
24-6-2016 12:06 SnapinClient Hide: False
24-6-2016 12:06 SnapinClient TimeOut: 0
24-6-2016 12:06 SnapinClient RunWith: cmd.exe
24-6-2016 12:06 SnapinClient RunWithArgs: /c
24-6-2016 12:06 SnapinClient File: testScript.cmd
24-6-2016 12:06 SnapinClient Args:
24-6-2016 12:06 Middleware::Communication Download: http://172.16.0.201/fog/service/snapins.file.php?mac=02:80:37:EC:02:00|40:2C:F4:1C:6A:72|24:77:03:04:E7:60|10:1F:74:ED:8A:3D||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&taskid=3
24-6-2016 12:06 SnapinClient C:\Program Files\FOG\tmp\testScript.cmd
24-6-2016 12:06 SnapinClient ERROR: Hash does not match
24-6-2016 12:06 SnapinClient ERROR: --> Ideal: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 NOT FOUND</TITLE>
</HEAD><BODY>
<H1>NOT FOUND</H1>
<P>THE REQUESTED URL /FOG/STATUS/GETSNAPINHASH.PHP WAS NOT FOUND ON THIS SERVER.</P>
<HR>
<ADDRESS>APACHE SERVER AT 172.16.0.17 PORT 80</ADDRESS>
</BODY></HTML>
24-6-2016 12:06 SnapinClient ERROR: --> Actual: 0E45F1905D0487C4827013E17F7D105DA112E68238E69ABD67A5EEA9F5A60745B13738E07A0CB8444C2A11463F6C30323BF76729A7E136ECB0C11C5E148285B3
24-6-2016 12:06 Middleware::Communication URL: http://172.16.0.201/fog/service/snapins.checkin.php?taskid=3&exitcode=-1&mac=02:80:37:EC:02:00|40:2C:F4:1C:6A:72|24:77:03:04:E7:60|10:1F:74:ED:8A:3D||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
What can this mean?
Do i need to add Administrators right somehow to the script to change something in the register? Yes, How?
Greetings Tom!