Giter Club home page Giter Club logo

branchcache's Introduction

BranchCache

Scripts and tools for managing BranchCache

branchcache's People

Contributors

arwidmark avatar matbe avatar phil2pint avatar hammarskjold avatar

Stargazers

Carljohan Hederoth avatar  avatar Bert Mueller avatar Arran avatar AVA avatar Andreas Wikström avatar  avatar Daniel Keer avatar gebyt-rybrit avatar Stefan de Kooter avatar Jordan Hoff avatar  avatar Pratheep Sinnathurai avatar  avatar  avatar  avatar Mike avatar  avatar Robert Johnsson avatar Ioan Popovici avatar Kevin Severud avatar  avatar Babzillan avatar  avatar  avatar froxxon avatar  avatar

Watchers

James Cloos avatar  avatar Ioan Popovici avatar froxxon avatar Jordan Hoff avatar  avatar

branchcache's Issues

Injector fails if TSProgressUI is not initialized properly

A TS client fails to initialize the TSProgressUI:

<![LOG[Unable to create an instance of the Progress UI COM Object. 0x8000401a.]LOG]!><time="10:35:15.771-120" date="08-19-2020" component="OSDDownloadContent" context="" type="2" thread="46516" file="clientui.cpp:165">

We then fail in the script with;

<![LOG[Unable to connect to the Task Sequence Progress UI! Please verify you are in a running Task Sequence Environment. ]LOG]!><time="10:35:32.625-120" date="08-19-2020" component="RunPowerShellScript" context="" type="3" thread="38596" file="main.cpp:76">
<![LOG[Please note: TSProgressUI cannot be loaded during a prestart command.]LOG]!><time="10:35:32.625-120" date="08-19-2020" component="RunPowerShellScript" context="" type="3" thread="38596" file="main.cpp:76">
<![LOG[ErrorDetails:]LOG]!><time="10:35:32.625-120" date="08-19-2020" component="RunPowerShellScript" context="" type="3" thread="38596" file="main.cpp:76">
<![LOG[Retrieving the COM class factory for component with CLSID {F79474A1-7B80-4A18-BC7B-D3938BD93808} failed due to the ]LOG]!><time="10:35:32.625-120" date="08-19-2020" component="RunPowerShellScript" context="" type="3" thread="38596" file="main.cpp:76">
<![LOG[following error: 8000401a The server process could not be started because the configured identity is incorrect. Check ]LOG]!><time="10:35:32.625-120" date="08-19-2020" component="RunPowerShellScript" context="" type="3" thread="38596" file="main.cpp:76">
<![LOG[the username and password. (Exception from HRESULT: 0x8000401A).]LOG]!><time="10:35:32.625-120" date="08-19-2020" component="RunPowerShellScript" context="" type="3" thread="38596" file="main.cpp:76">
<![LOG[At F:_SMSTaskSequence\Packages\AP100014\InjectBCData.ps1:815 char:9]LOG]!><time="10:35:32.625-120" date="08-19-2020" component="RunPowerShellScript" context="" type="3" thread="38596" file="main.cpp:76">
<![LOG[+ throw "Unable to connect to the Task Sequence Progress UI! Pl ...]LOG]!><time="10:35:32.625-120" date="08-19-2020" component="RunPowerShellScript" context="" type="3" thread="38596" file="main.cpp:76">
<![LOG[+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]LOG]!><time="10:35:32.625-120" date="08-19-2020" component="RunPowerShellScript" context="" type="3" thread="38596" file="main.cpp:76">
<![LOG[ + CategoryInfo : OperationStopped: (Unable to conne...T: 0x8000401A).:String) [], RuntimeException]LOG]!><time="10:35:32.625-120" date="08-19-2020" component="RunPowerShellScript" context="" type="3" thread="38596" file="main.cpp:76">
<![LOG[ + FullyQualifiedErrorId : Unable to connect to the Task Sequence Progress UI! Please verify you are in a running T ]LOG]!><time="10:35:32.625-120" date="08-19-2020" component="RunPowerShellScript" context="" type="3" thread="38596" file="main.cpp:76">
<![LOG[ ask Sequence Environment. Please note: TSProgressUI cannot be loaded during a prestart command.]LOG]!><time="10:35:32.625-120" date="08-19-2020" component="RunPowerShellScript" context="" type="3" thread="38596" file="main.cpp:76">
<![LOG[ErrorDetails:]LOG]!><time="10:35:32.625-120" date="08-19-2020" component="RunPowerShellScript" context="" type="3" thread="38596" file="main.cpp:76">
<![LOG[ Retrieving the COM class factory for component with CLSID {F79474A1-7B80-4A18-BC7B-D3938BD93808} failed due to the ]LOG]!><time="10:35:32.625-120" date="08-19-2020" component="RunPowerShellScript" context="" type="3" thread="38596" file="main.cpp:76">
<![LOG[ following error: 8000401a The server process could not be started because the configured identity is incorrect. C ]LOG]!><time="10:35:32.625-120" date="08-19-2020" component="RunPowerShellScript" context="" type="3" thread="38596" file="main.cpp:76">
<![LOG[ heck the username and password. (Exception from HRESULT: 0x8000401A).]LOG]!><time="10:35:32.625-120" date="08-19-2020" component="RunPowerShellScript" context="" type="3" thread="38596" file="main.cpp:76">
<![LOG[ ]LOG]!><time="10:35:32.705-120" date="08-19-2020" component="RunPowerShellScript" context="" type="3" thread="38596" file="main.cpp:76">
<![LOG[Process completed with exit code 1]LOG]!><time="10:35:32.705-120" date="08-19-2020" component="RunPowerShellScript" context="" type="0" thread="38596" file="CommandLine.cpp:1136">
<![LOG[PowerShell command line returned code 1]LOG]!><time="10:35:32.705-120" date="08-19-2020" component="RunPowerShellScript" context="" type="1" thread="38596" file="main.cpp:487">

What affects the lifetime of the content?

Hello.
The remediation script specifies the lifetime of the content in the cache.
..

SET THIS VARIABLE to set the TTL - this is the time (Days) that BranchCache will keep content in the cache

#-----------------------<<<<<
$TTL = 180
..

Is this the time after which all content in the cache will be invalid?
The question came up because branchcache was working for a long time and then stopped working. There is almost nothing from the neighbors.
Will there be a problem when setting a lifetime of 3000 days?

Thank you.

OldKey Check false positive (line 360)

The if($OldKey -eq 0) check on line 360 should probably be checking for an array status such as if($OldKey -isnot [array]) so that the actual status of the value set is made. I have been getting "Could not parse current secret key from registry" when it was actually parsed just fine. When I change the line as indicated, the check works as expected.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.