Solved

Windows 8 and taskmgr.exe

Posted on 2013-06-07
11
687 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
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 …
Viewers will learn the different options available in the Backstage view in Excel 2013.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

910 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

23 Experts available now in Live!

Get 1:1 Help Now