Open OLLI-S opened 3 years ago
I will do some testing and get back to you soon.
The Hyper-V Manager had opened fine for me with these settings.
Can you try that but also the Hyper-V Manager Shortcut directly at
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
instead of using the mmc.exe
I have set the settings exactly as you have, but it is not working:
Also when I add a " at the beginning of the Arguments it is not working.
When I add a new shortcut and select
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Hyper-V Manager.lnk
then I get an exeption:
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.
************** Ausnahmetext **************
System.IO.FileNotFoundException: C:\Program Files (x86)\Hyper-V\SnapInAbout.dll
bei System.Drawing.Icon.ExtractAssociatedIcon(String filePath, Int32 index)
bei client.Forms.frmGroup.handleLnkExt(String file) in C:\Users\jacks\Desktop\Taskbar dev\main\main\Forms\frmGroup.cs:Zeile 383.
bei client.User_controls.ucProgramShortcut.ucProgramShortcut_Load(Object sender, EventArgs e) in C:\Users\jacks\Desktop\Taskbar dev\main\main\User controls\ucProgramShortcut.cs:Zeile 64.
bei System.Windows.Forms.UserControl.OnLoad(EventArgs e)
bei System.Windows.Forms.UserControl.OnCreateControl()
bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
bei System.Windows.Forms.Control.CreateControl()
bei System.Windows.Forms.Control.ControlCollection.Add(Control value)
bei client.Forms.frmGroup.LoadShortcut(ProgramShortcut psc, Int32 position) in C:\Users\jacks\Desktop\Taskbar dev\main\main\Forms\frmGroup.cs:Zeile 127.
bei client.Forms.frmGroup.addShortcut(String file, Boolean isExtension) in C:\Users\jacks\Desktop\Taskbar dev\main\main\Forms\frmGroup.cs:Zeile 225.
bei client.Forms.frmGroup.pnlAddShortcut_Click(Object sender, EventArgs e) in C:\Users\jacks\Desktop\Taskbar dev\main\main\Forms\frmGroup.cs:Zeile 174.
bei System.Windows.Forms.Control.OnClick(EventArgs e)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Geladene Assemblys **************
mscorlib
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4300.0 built by: NET48REL1LAST_C.
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.
----------------------------------------
TaskbarGroups
Assembly-Version: 0.2.0.0.
Win32-Version: 0.2.0.0.
CodeBase: file:///D:/PortableApps/PortableApps/_TaskbarGroups/TaskbarGroups.exe.
----------------------------------------
System.Drawing
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4084.0 built by: NET48REL1.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4300.0 built by: NET48REL1LAST_C.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Windows.Forms
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4270.0 built by: NET48REL1LAST_C.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System.Configuration
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4190.0 built by: NET48REL1LAST_B.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Core
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4300.0 built by: NET48REL1LAST_C.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
System.Xml
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4084.0 built by: NET48REL1.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
mscorlib.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4084.0 built by: NET48REL1.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
----------------------------------------
Microsoft.GeneratedCode
Assembly-Version: 1.0.0.0.
Win32-Version: 4.8.4084.0 built by: NET48REL1.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Net.Http
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4084.0 built by: NET48REL1.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll.
----------------------------------------
Windows.Data
Assembly-Version: 255.255.255.255.
Win32-Version: 10.0.10011.16384.
CodeBase: file:///C:/WINDOWS/SysNative/WinMetadata/Windows.Data.winmd.
----------------------------------------
System.Runtime
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4084.0.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll.
----------------------------------------
Windows.Foundation
Assembly-Version: 255.255.255.255.
Win32-Version: 10.0.10011.16384.
CodeBase: file:///C:/WINDOWS/SysNative/WinMetadata/Windows.Foundation.winmd.
----------------------------------------
ChinhDo.Transactions.FileManager
Assembly-Version: 1.4.0.36.
Win32-Version: 1.4.0.36.
CodeBase: file:///D:/PortableApps/PortableApps/_TaskbarGroups/ChinhDo.Transactions.FileManager.DLL.
----------------------------------------
netstandard
Assembly-Version: 2.0.0.0.
Win32-Version: 4.8.4084.0.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll.
----------------------------------------
System.Transactions
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4084.0 built by: NET48REL1.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll.
----------------------------------------
System.EnterpriseServices
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4084.0 built by: NET48REL1.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll.
----------------------------------------
Microsoft.WindowsAPICodePack.Shell
Assembly-Version: 1.1.4.0.
Win32-Version: 1.1.4.0.
CodeBase: file:///D:/PortableApps/PortableApps/_TaskbarGroups/Microsoft.WindowsAPICodePack.Shell.DLL.
----------------------------------------
Microsoft.WindowsAPICodePack
Assembly-Version: 1.1.4.0.
Win32-Version: 1.1.4.0.
CodeBase: file:///D:/PortableApps/PortableApps/_TaskbarGroups/Microsoft.WindowsAPICodePack.DLL.
----------------------------------------
PresentationFramework
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4300.0.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll.
----------------------------------------
WindowsBase
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4300.0 built by: NET48REL1LAST_C.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll.
----------------------------------------
PresentationCore
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4300.0 built by: NET48REL1LAST_C.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll.
----------------------------------------
System.Xaml
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4300.0 built by: NET48REL1LAST_C.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll.
----------------------------------------
Microsoft.CSharp
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4084.0.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll.
----------------------------------------
System.Dynamic
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4084.0.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll.
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Assembly-Version: 0.0.0.0.
Win32-Version: 4.8.4300.0 built by: NET48REL1LAST_C.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.8.4084.0 built by: NET48REL1.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.
Zum Beispiel:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.
I created a shortcut to the Ressource-Monitor and this is working. But not with the Hyper-V-Manager...
That " at the beginning was a mistake on my end, that is my bad there, I meant to have it on both sides.
With the Hyper-V-Manager, I see what is going wrong now.
For some reason the internal system to expand environment paths is acting up a bit and that was a thing I noticed
System.IO.FileNotFoundException: C:\Program Files (x86)\Hyper-V\SnapInAbout.dll
For some reason Program Files expands to Program Files (x86) I will look for a solution as soon as possible. It is a quite an odd behavior for it to do that.
As a further update, it seems to only happen on the release version to get that Trying to access a token that is not available
error. I will see what I can do about it. It works just fine on the Debug version.
I have a x64 Windows: Windows 10 Pro 64-Bit Version 20H2 (Build 19042.685)
That " at the beginning was a mistake on my end, that is my bad there, I meant to have it on both sides.
Do you mean: the missing " at the beginning Or do you mean: the existing " at the end I tried both variants, both are not working.
I had found a partial fix to get the .lnk working for Hyper-V I will have to further look into why it is giving that error on the release builds.
Thank you very much! My intention is to make Taskbar Groups better and better, so I report all my ideas and all bugs. And I hope that this fix will help other users (with other .lnk) too.
I am using Tasbar Groups dayily and I really love it (this is the reason why I sent so many suggestions for improvements). How it the status of this feature and how is the status of this project (have not heard from you a long time). Hope that you all are well and everything is OK.
Currently I don't have an exact plan and I don't know about @tjackenpacken.
I've been busy with school work and didn't have time to directly work on the project. My next goal is try to merge the pull requests (perhaps into one big one) and try to get that through and then hopefully go on to implement the features. The code must likely wont mesh together well so manual process will be needed there.
An ETA of that is currently unknown and I will see if I can get things moving again.
Thank you for your answer, glad that everything is OK in these times.
I coded in Lazarus (Delphi) a small launcher, where I start multiple apps (also multiple apps with one button click). Then I read about Taskbar Groups so I decided to use this tool instead of my launcher.
In my launcher I also start the Hyper-V-Manager in Windows 10 Pro 64-Bit Version 20H2 (Build 19042.685) via
'C:\WINDOWS\System32\mmc.exe' 'C:\WINDOWS\System32\virtmgmt.msc'
When I add this command to Taskbar Groups and start it, then I get the following error:
Translation: Trying to access a token that is not available
Anything you can do here?