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
224 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 84

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 84

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 84

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Slow Restore if incremental backups using RDiff.exe 4 31
Problem to file 4 28
Accessing two networks from one PC 30 116
Sony EVI-D70 and Skype 2 41
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…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

821 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