Link to home
Start Free TrialLog in
Avatar of ID_Lost
ID_Lost

asked on

How to change the update speed to normal in windows 8 task manager using powershell command or registry

In the windows 8 task manager, the update speed is set to paused. What has caused to set the update speed as paused?. Is there any powershell command or registry tweak to set it to normal. so that I can call in my scripts to set it while customization.
Avatar of oBdA
oBdA

Function Reset-TaskManagerPreferences() {
	$OSVersion = [System.Environment]::OSVersion.Version
	If (($OSVersion.Major -gt 6) -Or (($OSVersion.Major -eq 6) -And ($OSVersion.Minor -ge 2))) {
		$PreferencesPath = "HKCU:\Software\Microsoft\Windows\CurrentVersion\TaskManager"
	} Else {
		$PreferencesPath = "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\TaskManager"
	}
	If ($TaskManager = Get-Process -Name TaskMgr -ErrorAction SilentlyContinue) {
		$TaskManager.Kill()
		$RestartTaskManager = $True
	} Else {
		$RestartTaskManager = $False
	}
	Remove-ItemProperty -Path $PreferencesPath -Name "Preferences" -ErrorAction SilentlyContinue
	If ($RestartTaskManager) {
		& "${ENV:Systemroot}\system32\taskmgr.exe"
	}
}

Open in new window

Avatar of ID_Lost

ASKER

Hi.. The script is to delete the preferences and then restart the task manager. Is there any straight forward method to change the binary data of preferences reg value or any other way to change the "update speed" in the view tab of task manager. The reason for asking specific change only w.r.t update speed is we have other settings view settings set and syspreped. IF I get the direct way to only change the "update speed" in task manager view option to "norma" that will be of great solution.
Unfortunately, there's no straight forward way to do that; the format of the binary blob in the registry is undocumented.
Avatar of ID_Lost

ASKER

Thanks mate... but one last question, what if I export the preferences reg from another system and merge it in the problematic system, will there be any functional problem of task manager. The only thing I prefer this is I do not want to clash other settings. killing, deleting and re launching the task manager as in the script, makes me to bring with the default options, like only "fewer" details will be shown.
If you know any impact please let me know, If there is no impact please confirm if registry merge is fine.
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial