Skip to content

Commit

Permalink
Cut 4292 unresponsive search (#140) (#141)
Browse files Browse the repository at this point in the history
* Cut 4292 unresponsive search (#140)

* init

* test

* test

* move search folder removal

* doc

* Update ModuleChangelog.md

Co-authored-by: Joe Workman <54448601+jworkmanjc@users.noreply.github.com>

* Update ModuleChangelog.md

Co-authored-by: Joe Workman <54448601+jworkmanjc@users.noreply.github.com>

---------

Co-authored-by: Ken Maranion <97972790+kmaranionjc@users.noreply.github.com>
  • Loading branch information
jworkmanjc and kmaranionjc authored Sep 25, 2024
1 parent 6599125 commit 825cced
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 5 deletions.
12 changes: 12 additions & 0 deletions ModuleChangelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 2.7.7

Release Date: September 25, 2024

#### RELEASE NOTES

This release resolves an issue on Windows 10 systems where users were unable to use the search bar post-migration

#### Bug Fixes:
```
* Resolves an issue on Windows 10 systems where users were unable to use the search bar post-migration
```
## 2.7.6

Release Date: August 21, 2024
Expand Down
2 changes: 1 addition & 1 deletion jumpcloud-ADMU/JumpCloud.ADMU.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# Version number of this module.

ModuleVersion = '2.7.6'
ModuleVersion = '2.7.7'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
2 changes: 1 addition & 1 deletion jumpcloud-ADMU/Powershell/Form.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function show-mtpSelection {
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="JumpCloud ADMU 2.7.6"
Title="JumpCloud ADMU 2.7.7"
WindowStyle="SingleBorderWindow"
ResizeMode="NoResize"
Background="White" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.HorizontalScrollBarVisibility="Visible" Width="1020" Height="590">
Expand Down
2 changes: 1 addition & 1 deletion jumpcloud-ADMU/Powershell/ProgressForm.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function New-ProgressForm {
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Name="Window" Title="JumpCloud ADMU 2.7.6"
Name="Window" Title="JumpCloud ADMU 2.7.7"
WindowStyle="SingleBorderWindow"
ResizeMode="NoResize"
Background="White" Width="720" Height="550 ">
Expand Down
12 changes: 10 additions & 2 deletions jumpcloud-ADMU/Powershell/Start-Migration.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1883,7 +1883,7 @@ Function Start-Migration {
$AGENT_INSTALLER_URL = "https://cdn02.jumpcloud.com/production/jcagent-msi-signed.msi"
$AGENT_INSTALLER_PATH = "$windowsDrive\windows\Temp\JCADMU\jcagent-msi-signed.msi"
$AGENT_CONF_PATH = "$($AGENT_PATH)\Plugins\Contrib\jcagent.conf"
$admuVersion = '2.7.6'
$admuVersion = '2.7.7'

$script:AdminDebug = $AdminDebug
$isForm = $PSCmdlet.ParameterSetName -eq "form"
Expand Down Expand Up @@ -2729,6 +2729,7 @@ Function Start-Migration {
Write-ToProgress -ProgressBar $Progressbar -Status "CreateRegEntries" -form $isForm

Write-ToLog -Message:('Creating HKLM Registry Entries') -Level Verbose

# Root Key Path
$ADMUKEY = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\ADMU-AppxPackage"
# Remove Root from key to pass into functions
Expand Down Expand Up @@ -2765,7 +2766,14 @@ Function Start-Migration {

Write-ToLog -Message:('Updating UWP Apps for new user') -Level Verbose
$newUserProfileImagePath = Get-ItemPropertyValue -Path ('HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\' + $newusersid) -Name 'ProfileImagePath'

# IF windows 10 remove the windows.search then it will be recreated on login
if ($systemVersion.OSName -match "Windows 10") {
$searchFolder = "$newUserProfileImagePath\AppData\Local\Packages\Microsoft.Windows.Search_cw5n1h2txyewy"
Write-ToLog -Message:('Removing Windows.Search_ folder' + $searchFolder)
if (Test-Path $searchFolder) {
Remove-Item -Path $searchFolder -Recurse -Force
}
}
$path = $newUserProfileImagePath + '\AppData\Local\JumpCloudADMU'
If (!(test-path $path)) {
New-Item -ItemType Directory -Force -Path $path
Expand Down

0 comments on commit 825cced

Please sign in to comment.