Solved

Windows 8 and taskmgr.exe

Posted on 2013-06-07
11
690 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 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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

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.

Question has a verified solution.

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

Suggested Solutions

The canonical version of this article is on my web site here: http://iconoun.com/articles/collisions/ A companion presentation is available here: http://iconoun.com/articles/collisions/Unicode_Presentation.pdf
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

856 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