FOGProject / fog-client

A cross platform computer management client
GNU General Public License v3.0
108 stars 34 forks source link

vbs snapin doesn't work after recent windows updates #147

Closed kovacsIVgabor closed 5 months ago

kovacsIVgabor commented 5 months ago

I tried to run a vbs (with cscript.exe) snapin today and got this error in the fog.log:

Data::Hash ERROR: Unable to hash file C:\Program files(x86)\FOG\tmp\program.vbs

After I deployed the image which was captured in 2023 the snapin worked, so I am sure some windows update causing this.

My original FOG Client version is 0.11.19 I installed the latest release 0.13, which produces the same error.

Please help

lukebarone commented 5 months ago

https://www.spiceworks.com/tech/tech-general/news/microsoft-vbscript-deprecation-timeline-windows-updates/amp/

Vbs scripts are deprecated as of this week with the latest Windows Update.

Will likely not fix as it's slated for complete removal.

I suggest moving over to PowerShell. There are lots more resources available for PS

On Wed, May 29, 2024, 7:30 a.m. kovacsIVgabor @.***> wrote:

I tried to run a vbs (with cscript.exe) snapin today and got this error in the fog.log:

Data::Hash ERROR: Unable to hash file C:\Program files(x86)\FOG\tmp\program.vbs

After I deployed the image which was captured in 2023 the snapin worked, so I am sure some windows update causing this.

My original FOG Client version is 0.11.19 I installed the latest release 0.13, which produces the same error.

Please help

— Reply to this email directly, view it on GitHub https://github.com/FOGProject/fog-client/issues/147, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTQQFXAVKBBGFLXUL7N7L3ZEXRCFAVCNFSM6AAAAABIPCNV3KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDGNBYGQ4TAOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

kovacsIVgabor commented 5 months ago

Thank you for your reply. I kinda expected something like this, and the task was urgent, so I rewrote the script in powershell already. I feel like last man on Earth using vbs :) Thank you again.

lukebarone commented 5 months ago

No problem. It was bound to happen :)