Solved

Windows 8 and taskmgr.exe

Posted on 2013-06-07
11
691 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
[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
  • 6
  • 5
11 Comments
 
LVL 27

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 27

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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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 27

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 27

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 27

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
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 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…

735 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