Solved

Windows 8 and taskmgr.exe

Posted on 2013-06-07
11
689 Views
Last Modified: 2013-06-08
Hi,

I cannot get Taskmgr.exe to start on logon on Windows 8. My account is admin and I have tried putting shortcuts into the various startup directories but nothing seems to work. I also activated the built in Administrator account and tried using that to place the shortcut, no joy  with that either.

I found this powershell script on the web and it works fine if I paste it into a powershell terminal, but when run it from a saved *.ps1 file on startup (or anytime) I see some errors and it fails. The errors flick by so fast I can't actually see what they are. I am using Windows 8 pro 64 bit

start C:\Windows\System32\taskmgr.exe
[void] [System.Reflection.Assembly]::LoadWithPartialName("'Microsoft.VisualBasic")
$shell = New-Object -ComObject “Shell.Application”
$shell.MinimizeAll()

Best Regards,

MusicBuddha
0
Comment
Question by:MusicBuddha
  • 6
  • 5
11 Comments
 
LVL 26

Expert Comment

by:skullnobrains
ID: 39231078
the "startup" directory of the start menu should work. even though the start menu does not exist any more. (yeah windows). did you try that one ?

you can access it by typing "shell:startup" in the address bar of the file browser

i'm not sure it will be actually visible until you switch to the regular desktop

you may also want to check this

http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/314c9b58-89c7-4f3f-9362-46849f302fe0
0
 

Author Comment

by:MusicBuddha
ID: 39231084
Hi,

Thanks for your reply.

I have tried placing a shortcut and the actual taskmgr.exe into the "shell:startup" folder but it doesn't work. I am booting directly into the Desktop.

Best Regards,

MusicBuddha
0
 
LVL 26

Expert Comment

by:skullnobrains
ID: 39231085
try to add it to the startup tab of the task manager. the programs that launch automagically are all present there on my system.

you also have the option to bind it to te winlogon event as discussed in the article i linked but there should be a simpler way such as the above
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

Author Comment

by:MusicBuddha
ID: 39231090
try to add it to the startup tab of the task manager. the programs that launch automagically are all present there on my system.


I can see it in the startup tab but it doesn't work either. It is not disabled.
0
 
LVL 26

Expert Comment

by:skullnobrains
ID: 39231101
what exactly did you add to the startup tab ?
0
 

Author Comment

by:MusicBuddha
ID: 39231110
I have tried so many solutions that I cannot remember what I changed to get the Taskmgr to appear in the startup tab. I know that I have never edited anything to do with the startup tab of the Taskmgr.
0
 

Author Comment

by:MusicBuddha
ID: 39231119
I see how I added taskmgr.exe to the startup tab now. I copied the taskmgr.exe to c:\windows\System32\GroupPolicy\User\Scripts
0
 
LVL 26

Accepted Solution

by:
skullnobrains earned 500 total points
ID: 39231125
the path does not even exist on my system, but anyway this looks like it would only work in a domain.

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run

those 2 locations work on my system. just stick the COMPLETE path to the task manager in a REG_SZ
0
 

Author Comment

by:MusicBuddha
ID: 39231152
Yeah I seem to remember having to create the path.

The second registry key works and the first one might not have worked cause I had spaces in the name of the REG_SZ. So thanks for that :)

Whilst I will accept that as the answer I just wanted to ask you before I do, do you know of a way to get the Task Manager to start up minimized using this registry key?

MusicBuddha
0
 
LVL 26

Expert Comment

by:skullnobrains
ID: 39231173
you used to be able to do it by appending /MINIMISED to the program path. maybe it still works.

if not, you can probably create a shortcut to the task manager, set the shortcut to start the tm as minimised and run the shortcut from the run key. i never tryed so i'm unsure this will work.

you'll find startup directories and reg keys using autoruns if you need to check how an existing progrm manages to do it

---

just for the record, i will answer your extra questions if i have enough time regardless the fact you accept my answer before, after, or not at all. i'm not getting paid for answering questions and the only benefit of points is being able to browse the forum freely and i have more than enough points for that
0
 

Author Comment

by:MusicBuddha
ID: 39231190
The /minimized or minimised does not work :( and neither does a shortcut I made on the desktop and then added the path to that from the run key.

you'll find startup directories and reg keys using autoruns if you need to check how an existing progrm manages to do it

I am not sure what you mean here. Anyway I will set your answer as the solution. Thank you very much for your help.

Regards,

MusicBuddha
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
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…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

803 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