Go Premium for a chance to win a PS4. Enter to Win

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
?
268 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 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

A small collection of useful tips and tricks for Windows 10 users that I decided to write as a result of recent questions that were asked and answered at Experts Exchange. Two short video tutorials included. Enjoy..
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.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

963 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