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
209 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
  • 3
  • 2
5 Comments
 
LVL 82

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 82

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 82

Accepted Solution

by:
oBdA earned 500 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

Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now