Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2015-02-11
5
Medium Priority
?
258 Views
Last Modified: 2015-02-15
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.
0
Comment
Question by:ID_Lost
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 85

Expert Comment

by:oBdA
ID: 40603460
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

0
 

Author Comment

by:ID_Lost
ID: 40603799
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.
0
 
LVL 85

Expert Comment

by:oBdA
ID: 40605336
Unfortunately, there's no straight forward way to do that; the format of the binary blob in the registry is undocumented.
0
 

Author Comment

by:ID_Lost
ID: 40605377
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.
0
 
LVL 85

Accepted Solution

by:
oBdA earned 2000 total points
ID: 40605876
If the "other" system has the same OS version, an import/export should work; you only need the "Preferences" value.
Just note that Taskmanager may not be running at the time of the import; the settings will only be written back on exit, so if you import while it's running, the current/old settings will be written back over the imported ones on exit.
Note that you can do an unattended import for this with 'reg.exe import "C:\Temp\taskmanagerpreferences.reg"'; the wider known 'regedit /s' will always come up with an UAC prompt, even for changes in HKCU only.
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Windows 10 Creator Update has just been released and I have it working very well on my laptop. Read below for issues, fixes and ideas.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question