cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bandit61
Level 9
Report Inappropriate Content
Message 21 of 28

Re: Generic Script Error downloading dat-file

Jump to solution

the dat-executable did the trick, but this i can't accept as solution in a managed environment. If this still works tomorrow wiht the dat-file from the repository, we can go on with distributing the new w10-clients. Nevertheless the ePo-server should execute this task without errors, so there should be further investigation on this "generic script error".

 

@cdinet: hope you understand my explanation, but many thanks. Kudos for sure!

cdinet
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 22 of 28

Re: Generic Script Error downloading dat-file

Jump to solution

Understood and I agree, I am looking at the logs.

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

cdinet
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 23 of 28

Re: Generic Script Error downloading dat-file

Jump to solution

Error found - 2020-01-06 15:00:26 E #10216 ScrptExe Failed to get environment variable

see KB78773.

The system you provided mer for doesn't have temp/tmp environmental variable:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
"ComSpec"="C:\WINDOWS\system32\cmd.exe"
"DriverData"="C:\Windows\System32\Drivers\DriverData"
"NUMBER_OF_PROCESSORS"="6"
"OS"="Windows_NT"
"Path"="C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\"
"PATHEXT"=".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
"PROCESSOR_ARCHITECTURE"="AMD64"
"PROCESSOR_IDENTIFIER"="Intel64 Family 6 Model 158 Stepping 10, GenuineIntel"
"PROCESSOR_LEVEL"="6"
"PROCESSOR_REVISION"="9e0a"
"PSModulePath"="C:\Program Files (x86)\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules"
"SNC_LIB"="C:\Program Files (x86)\SAP\Frontend\sapgui\gssapi32.dll"
"UATDATA"="C:\WINDOWS\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77"
"USERNAME"="SYSTEM"
"windir"="C:\WINDOWS"
"DEFLOGDIR"="C:\ProgramData\McAfee\DesktopProtection"
"VSEDEFLOGDIR"="C:\ProgramData\McAfee\DesktopProtection"

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

View solution in original post

bandit61
Level 9
Report Inappropriate Content
Message 24 of 28

Re: Generic Script Error downloading dat-file

Jump to solution
 
bandit61
Level 9
Report Inappropriate Content
Message 25 of 28

Re: Generic Script Error downloading dat-file

Jump to solution

Should a user-environment variable not be enough? Do we really have to have both user- and computer-environment-variables?

cdinet
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 26 of 28

Re: Generic Script Error downloading dat-file

Jump to solution

You need the system environmental variable for that because the agent runs under the system process, which the tasks are run under, requiring no user logged in for that to occur.  It does not run under a user context.

 

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

View solution in original post

bandit61
Level 9
Report Inappropriate Content
Message 27 of 28

Re: Generic Script Error downloading dat-file

Jump to solution

Great, have to talk with the client-dep, cause w10 comes without a system-environment-temp-variable. so they had to add this via gpo.

thanks a lot for your efforts

cdinet
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 28 of 28

Re: Generic Script Error downloading dat-file

Jump to solution

Glad to assist!  We use temp to copy the updates to first to then extract them and copy them to the proper location, so without knowing where to look for that temp dir, we fail.

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community