How to Unblock Files after Patching Process

ERROR: The below error message will be displayed if Unblock Files Process is not run following the patch process to unlock the new files. 

A screenshot of a computer

AI-generated content may be incorrect.

 

GOAL: To provide a wholistic overview of how to run the Unblock Files PS Script after patching. 

 

STEPS TO RESOLVE: Complete the below process as outlined as best practice for patching and incorporate the Unblock Files process as outlined. 

 

PROCESS OVERVIEW

RIGHT CLICK WINDOWS ICON > POWERSHELL as ADMINISTRATOR

**Open Powershell Administrator window**

 

STEP 1: Run ‘iisreset /stop

**Similar to CMD > Stop**

 

STEP 2: Patch as Normal

**Environment Binaries + DB Scripts + Portal Package (if applicable)**

 

STEP 3: Run ‘cd c:\temp’ > ‘u’ > TAB

A screenshot of a computer program

AI-generated content may be incorrect.

**Enter to run**

 

STEP 4: Run ‘iisreset /start

**Similar to CMD > Start**

 

STEP 5: CMD > Discover

**Same as always**

 

 

IMPORTANT NOTE: Unblock Files.ps1 is attached in the forum.