Solved

Windows 8 and taskmgr.exe

Posted on 2013-06-07
11
685 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
 

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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
This collection of functions covers all the normal rounding methods of just about any numeric value.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

762 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

24 Experts available now in Live!

Get 1:1 Help Now