Closed manuel-rahm closed 4 years ago
Thank you for creating your first issue. We will get to it as soon as possible. This is an automated message designed to manage your expectations. We will most likely respond to your message during Norwegian business hours. If you should think of any additional information, please feel free to add it as a comment. If you are reporting a bug or incompatibility, make sure you include the versions of MaxTo, Windows and any incompatible program.
Even not visible in the notification area.
@manuel-rahm Which MaxTo program are you starting? You should start MaxTo.Core.exe
, which will start the other services for you. Starting the UI without the other services running will cause that error.
If you are having trouble starting MaxTo.Core.exe
, please attach some log files (%AppData%\MaxTo\*.log
) so I can try to figure out what is happening. :)
Thanks for the quick response.
2020-11-05 06:42:03 [CommandLine@2.1.0.704] [Information] [] Logger setup (online logging: True, process #9084)
2020-11-05 06:42:03 [Core@2.1.0.704] [Information] [] Logger setup (online logging: True, process #1456)
2020-11-05 06:42:03 [CommandLine@2.1.0.704] [Information] [MaxTo.Core.Settings.DefaultConfigurationLocation] Found no specified configuration location file, using default settings location "C:\Users\admin_mrahm\AppData\Roaming\MaxTo"
2020-11-05 06:42:04 [Core@2.1.0.704] [Information] [MaxTo.Core.Settings.DefaultConfigurationLocation] Found no specified configuration location file, using default settings location "C:\Users\admin_mrahm\AppData\Roaming\MaxTo"
2020-11-05 06:42:04 [Core@2.1.0.704] [Information] [] Logger setup (online logging: True, process #1456)
2020-11-05 06:42:04 [Core@2.1.0.704] [Information] [] Logger setup (online logging: True, process #1456)
2020-11-05 06:42:04 [Core@2.1.0.704] [Information] [MaxTo.Core.Shims.ChromiumHookBlockInitializer] Creating registry keys to unblock hooks for Chromium-based browsers: "Edge Dev, Edge Beta, Chromium, Google Chrome, Brave, Iridium".
2020-11-05 06:42:05 [Core@2.1.0.704] [Warning] [] Shims not found at C:\Users\admin_mrahm\AppData\Local\MaxTo\shims.json
2020-11-05 06:42:05 [Core@2.1.0.704] [Error] [] Failed to read shims from storage (file not found). Returning empty collection.
System.IO.FileNotFoundException: Could not find file 'C:\Users\admin_mrahm\AppData\Local\MaxTo\shims.json'.
File name: 'C:\Users\admin_mrahm\AppData\Local\MaxTo\shims.json'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at MaxTo.Core.FileEx.
KR,
Manuel
@manuel-rahm How do you attempt to start MaxTo exactly? From the log files, it seems like you are starting MaxTo.exe
, which is the command line tool.
When I start the core nothing happens, but the process is running. but still no icon in the notification bar. What exactly is this missing shims.json? Is it for the compatibility of other programs with MaxTo? Sorry didn't even write what environment we have: W7 and the application version is 2.1.0, we used the machine wide installer.
shims.json
is a local cache of compatibility shims that MaxTo will download from the internet if it cannot find it locally. Below is the contents of my file. It should be generated automatically once MaxTo starts successfully, and it should also be installed with the installer.
I am not completely sure what to ask next, but I will try this in a virtual machine running Windows 7 to see if I can reproduce it.
[
{
"id": "1password",
"descriptions": {
"en": {
"title": "1Password",
"subtitle": "1Password windows can stop repainting if MaxTo tries to make it transparent.",
"description": null
}
},
"iconUrl": "https://maxto.net/assets/shims/1password.png",
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": false,
"disableSubclassing": false,
"disableSnapping": false,
"disableTransparency": true,
"emulatesMaximize": false,
"windowClasses": [],
"processes": [
"1Password"
]
},
{
"id": "acrobat_reader",
"descriptions": {
"en": {
"title": "Adobe Acrobat Reader",
"subtitle": "Security sandbox prevents MaxTo from accessing it",
"description": "[Adobe Acrobat Reader](https://get.adobe.com/no/reader/) (formerly Adobe Reader) is a tool for reading PDF documents.\r\n\r\nThis software has a sandbox feature which protects against viruses being carried in PDF files. This sandbox at the same time prevents other software installed on the machine from interacting with their window. If this shim is disabled while the sandbox is active, Acrobat Reader and/or MaxTo may crash when Acrobat windows are maximized.\r\n\r\nThis shim stops MaxTo from accessing Acrobat Reader window completely.\r\n\r\nTo make MaxTo work with PDF files, you can either:\r\n\r\n1. Use a different PDF reader. There are many alternatives, such as:\r\n - Most recent web browsers can read display PDFs natively\r\n - [FoxIt Reader](https://www.foxitsoftware.com/products/pdf-reader/)\r\n2. Disable the security sandbox\r\n\r\n#### Disabling the security sandbox\r\n\r\n**Important!** Disabling the Acrobat Reader's security sandbox is not recommended. By doing this, you accept responsibility for what happens to you, your loved ones, and your computer.\r\n\r\n1. Open Adobe Reader.\r\n2. Choose *Edit*, then *Preferences*.\r\n3. In the *Categories* list on the left, select *Security (Enhanced)*. In Adobe Reader X or earlier, you need to instead select *General*.\r\n4. Disable *Enable Protected Mode at startup*.\r\n5. Restart Adobe Reader.\r\n\r\n#### Disabling this shim\r\n\r\nAfter disabling the security sandbox, you need to disable this shim in MaxTo.\r\n\r\n1. Open MaxTo settings, and click the Compatibility tab.\r\n2. Find the Adobe Acrobat Reader shim, and click it to open it.\r\n3. Click the toggle switch so it says Disabled.\r\n4. Restart the computer to make sure the changes are loaded.\r\n\r\n##### In MaxTo versions prior to 2.0\r\n\r\n1. Open *Notepad* as administrator\r\n2. Open `%ProgramFiles%\\MaxTo\\shims.xml`.\r\n3. Find the lines reading `<windowclass title=\"Adobe Acrobat\">AcrobatSDIWindow</windowclass>` (there are two), and remove them.\r\n4. Restart MaxTo."
}
},
"iconUrl": "https://maxto.net/assets/shims/adobe_reader.png",
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": true,
"disableSubclassing": true,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [],
"processes": [
"AcroRd32"
]
},
{
"id": "altap_salamander",
"descriptions": {
"en": {
"title": "Altap Salamander",
"subtitle": "Disable drag-to-snap for preview windows.",
"description": "[Altap Salamander](https://www.altap.cz/) is a Norton Commander-style file manager for Windows.\r\n\r\nThis compatibility shim disables drag-to-snap on Altap windows, as it can lead to crashes in Altap Salamander."
}
},
"iconUrl": "https://maxto.net/assets/shims/altap_salamander.png",
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": false,
"disableSubclassing": true,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [
"Salamander's Viewer Window"
],
"processes": []
},
{
"id": "assetto_corsa",
"descriptions": {
"en": {
"title": "Assetto Corsa",
"subtitle": "Prevent launcher from crashing.",
"description": "Assetto Corsa is a racing simulator. The launcher has an issue that means MaxTo needs to disable subclassing for that process."
}
},
"iconUrl": null,
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": false,
"disableSubclassing": true,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [],
"processes": [
"AssettoCorsa"
]
},
{
"id": "console",
"descriptions": {
"en": {
"title": "Console windows",
"subtitle": "Move console windows differently",
"description": "Console windows require a different mechanism when moved than other windows do. This shim ensures MaxTo uses `MoveWindow` instead of `SetWindowPos` when moving console windows."
}
},
"iconUrl": "https://maxto.net/assets/shims/cmd.png",
"url": null,
"canDisable": false,
"defaultEnabled": true,
"ignore": false,
"disableSubclassing": false,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [
"ConsoleWindowClass"
],
"processes": []
},
{
"id": "eplan_harness",
"descriptions": {
"en": {
"title": "EPLAN Harness proD",
"subtitle": "Does not close correctly without this shim.",
"description": null
}
},
"iconUrl": "https://maxto.net/assets/shims/eplan_harness_prod.png",
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": false,
"disableSubclassing": true,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [],
"processes": [
"HLibrary",
"HStudio"
]
},
{
"id": "intel_xtu",
"descriptions": {
"en": {
"title": "Intel Extreme Tuning Utility",
"subtitle": "Prevent empty window frame.",
"description": "Intel Extreme Tuning Utility (Intel XTU) offers the state of the art in overclocking. It is a comprehensive set of tools to tune, test and monitor your system. If MaxTo is active, XTU will display an empty window and/or mouse clicks will not be registered. This shim disables MaxTo's transparency on XTU windows."
}
},
"iconUrl": "https://maxto.net/assets/shims/intel_xtu.png",
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": false,
"disableSubclassing": false,
"disableSnapping": false,
"disableTransparency": true,
"emulatesMaximize": false,
"windowClasses": [],
"processes": [
"PerfTune"
]
},
{
"id": "itunes",
"descriptions": {
"en": {
"title": "Apple iTunes",
"subtitle": null,
"description": null
}
},
"iconUrl": "https://maxto.net/assets/shims/itunes.png",
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": true,
"disableSubclassing": true,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [],
"processes": [
"iTunes",
"iTunesHelper"
]
},
{
"id": "izotope_rx7",
"descriptions": {
"en": {
"title": "iZotope RX 7",
"subtitle": "RX 7 cannot be moved or resized by MaxTo.",
"description": "Designed specifically for the demanding needs of music and post professionals, RX 7 is the industry standard audio repair tool used on movies and TV shows. This compatibility shim disables MaxTo for all of the RX 7 windows."
}
},
"iconUrl": "https://maxto.net/assets/shims/izotope_rx7.png",
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": false,
"disableSubclassing": true,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [],
"processes": [
"iZotope RX 7 Audio Editor",
"iZotope RX 7 Advanced Audio Editor"
]
},
{
"id": "kakaotalk",
"descriptions": {
"en": {
"title": "KakaoTalk",
"subtitle": "Windows grow bigger when resized",
"description": "[KakaoTalk](http://www.kakao.com/talk) is a mobile chat solution that also has a Windows version.\n\nThis shim disables all MaxTo functionality for KakaoTalk windows."
}
},
"iconUrl": "https://maxto.net/assets/shims/kakaotalk.png",
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": true,
"disableSubclassing": false,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [],
"processes": [
"KakaoTalk"
]
},
{
"id": "manictime",
"descriptions": {
"en": {
"title": "ManicTime",
"subtitle": "Window goes blank when resizing",
"description": "[ManicTime](http://www.manictime.com/) lets you record where you spend your time for billing purposes.\n\nThis software has issues whenever MaxTo tries to attach to it or tell it to move something around. For that reason, it has been put on MaxTo's ignore list. No MaxTo functionality will work with ManicTime as long as this shim is enabled."
}
},
"iconUrl": "https://maxto.net/assets/shims/manictime.png",
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": true,
"disableSubclassing": false,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [],
"processes": [
"ManicTime",
"ManicTimeClient"
]
},
{
"id": "mediamonkey",
"descriptions": {
"en": {
"title": "MediaMonkey",
"subtitle": "Crashes when subclassing",
"description": "[MediaMonkey](http://www.mediamonkey.com/) is a media jukebox. It crashes whenever another window subclasses it. Subclassing is used by MaxTo enable the snap-to-edge and drag-to-maximize features.\n\nThis shim disables subclassing of MediaMonkey."
}
},
"iconUrl": "https://maxto.net/assets/shims/mediamonkey.png",
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": false,
"disableSubclassing": true,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [],
"processes": [
"MediaMonkey (non-skinned)",
"MediaMonkey"
]
},
{
"id": "powertoys",
"descriptions": {
"en": {
"title": "Microsoft PowerToys",
"subtitle": "Prevent crashes",
"description": "Microsoft PowerToys are extensions to Windows that improve functionality. This shim prevents PowerToys from crashing when used with MaxTo."
}
},
"iconUrl": null,
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": false,
"disableSubclassing": true,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [],
"processes": [
"Microsoft.PowerToys.Settings.UI.Runner"
]
},
{
"id": "quickbooks",
"descriptions": {
"en": {
"title": "Intuit Quickbooks",
"subtitle": "Does not work with MaxTo",
"description": "[Intuit Quickbooks](http://quickbooks.intuit.com/) is account software for small businesses.\n\nIt has trouble when being manipulated by MaxTo. MaxTo therefore disables interaction with it by default."
}
},
"iconUrl": "https://maxto.net/assets/shims/quickbooks.png",
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": true,
"disableSubclassing": false,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [],
"processes": [
"QBW32"
]
},
{
"id": "razer_synapse",
"descriptions": {
"en": {
"title": "Razer Synapse",
"subtitle": "MaxTo interferes with normal functioning",
"description": "MaxTo may interfere with the normal functioning of the application."
}
},
"iconUrl": null,
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": false,
"disableSubclassing": true,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [],
"processes": [
"Razer Synapse 3"
]
},
{
"id": "ultramon",
"descriptions": {
"en": {
"title": "UltraMon",
"subtitle": "Ignore the UltraMon taskbar",
"description": "[UltraMon](http://www.realtimesoft.com/ultramon/) lets you have a taskbar on multiple monitors in Windows 7 or lower. \n\nThis shim prevents MaxTo from moving the UltraMon taskbars when they have focus."
}
},
"iconUrl": "https://maxto.net/assets/shims/ultramon.png",
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": true,
"disableSubclassing": false,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [
"UltraMonDeskTaskBar"
],
"processes": []
},
{
"id": "unity",
"descriptions": {
"en": {
"title": "Unity 3D",
"subtitle": "Prevent black screen by disabling some MaxTo functionality",
"description": "Unity reacts badly to MaxTo's window transparency when dragging its window.\r\n\r\nThis shim disables window transparency for the main Unity window."
}
},
"iconUrl": "https://maxto.net/assets/shims/unity.png",
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": false,
"disableSubclassing": false,
"disableSnapping": false,
"disableTransparency": true,
"emulatesMaximize": false,
"windowClasses": [
"UnityContainerWndClass"
],
"processes": []
},
{
"id": "uplay",
"descriptions": {
"en": {
"title": "Uplay",
"subtitle": "Prevent disappearing content while dragging.",
"description": null
}
},
"iconUrl": "https://maxto.net/assets/shims/uplay.png",
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": false,
"disableSubclassing": false,
"disableSnapping": false,
"disableTransparency": true,
"emulatesMaximize": false,
"windowClasses": [
"uplay_main"
],
"processes": []
},
{
"id": "winamp",
"descriptions": {
"en": {
"title": "Winamp",
"subtitle": "It Really Whips the Llama's Ass",
"description": "[Winamp](http://www.winamp.com/) was one of the first MP3-players for Windows. Since discontinued, and now continued again.\n\nWinamp windows does not really maximize, they are simply placed to cover the entire screen exactly. This shim enables MaxTo to detect when this happens with Winamp windows, and respond accordingly."
}
},
"iconUrl": "https://maxto.net/assets/shims/winamp.png",
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": false,
"disableSubclassing": false,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": true,
"windowClasses": [
"BaseWindow_RootWnd"
],
"processes": []
},
{
"id": "winbox",
"descriptions": {
"en": {
"title": "MikroTik WinBox",
"subtitle": "Prevent crash",
"description": "MikroTik WinBox presents some intermediary windows that MaxTo should not subclass, to prevent crashes."
}
},
"iconUrl": "https://maxto.net/assets/shims/winbox.png",
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": false,
"disableSubclassing": true,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [
"routeros_null",
"routeros_connect",
"routeros_dbl_canvas"
],
"processes": []
},
{
"id": "windows",
"descriptions": {
"en": {
"title": "Specific Windows components",
"subtitle": "Don't let Maxto move stuff it shouldn't",
"description": "This shim disables MaxTo functionality for specific Windows components.\r\n\r\n- Taskbar\r\n- Sidebar gadgets (Windows 7 and below)\r\n- Windows Taskbar Search (Windows 10 and above)"
}
},
"iconUrl": null,
"url": null,
"canDisable": false,
"defaultEnabled": true,
"ignore": true,
"disableSubclassing": false,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [
"Shell_TrayWnd",
"SideBar_HTMLHostWindow",
"Internet Explorer_Server",
"WorkerW"
],
"processes": [
"sidebar",
"SearchUI"
]
},
{
"id": "windows_terminal",
"descriptions": {
"en": {
"title": "Windows Terminal",
"subtitle": "Prevent crash when subclassing.",
"description": "Windows Terminal is the new host for all terminals in Windows 10."
}
},
"iconUrl": null,
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": false,
"disableSubclassing": true,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [],
"processes": [
"WindowsTerminal"
]
},
{
"id": "wxwidget",
"descriptions": {
"en": {
"title": "wxWidgets-based software",
"subtitle": "Prevent crashes",
"description": "[wxWidgets](https://www.wxwidgets.org/) is a toolkit that lets developers create applications for Windows, Mac OS X, Linux and other platforms with a single code base. Certain wxWidgets-based software will crash whenever run in conjunction with MaxTo. So far, this has been [reported](https://github.com/digitalcreations/MaxTo/issues/13) when using the [LINE desktop application](http://line.me/en/download). \n\nThis shim disables subclassing wxWidgets-based windows. This means that snap-to-edge and drag-to-maximize will be unavailable for these apps."
}
},
"iconUrl": "https://maxto.net/assets/shims/wxwidgets.png",
"url": null,
"canDisable": true,
"defaultEnabled": true,
"ignore": false,
"disableSubclassing": true,
"disableSnapping": false,
"disableTransparency": false,
"emulatesMaximize": false,
"windowClasses": [
"wxWindow"
],
"processes": []
}
]
Ah okay, so we need internet access to run maxto? We are using a vlan that doesn't allow internet connection.
I pasted the text for the json file.
Internet access should not be necessary.
Try clicking the small arrow in the system tray, to see if you can find MaxTo there. Here is a video illustrating how you pull MaxTo out from behind the arrow: https://docs.maxto.net/tutorial/regions/systray.mp4
It's not visible. And I activated it in the system configuration.
New log after fresh installation and creating the shims.json:
2020-11-05 06:42:03 [CommandLine@2.1.0.704] [Information] [] Logger setup (online logging: True, process #9084)
2020-11-05 06:42:03 [Core@2.1.0.704] [Information] [] Logger setup (online logging: True, process #1456)
2020-11-05 06:42:03 [CommandLine@2.1.0.704] [Information] [MaxTo.Core.Settings.DefaultConfigurationLocation] Found no specified configuration location file, using default settings location "C:\Users\admin_mrahm\AppData\Roaming\MaxTo"
2020-11-05 06:42:04 [Core@2.1.0.704] [Information] [MaxTo.Core.Settings.DefaultConfigurationLocation] Found no specified configuration location file, using default settings location "C:\Users\admin_mrahm\AppData\Roaming\MaxTo"
2020-11-05 06:42:04 [Core@2.1.0.704] [Information] [] Logger setup (online logging: True, process #1456)
2020-11-05 06:42:04 [Core@2.1.0.704] [Information] [] Logger setup (online logging: True, process #1456)
2020-11-05 06:42:04 [Core@2.1.0.704] [Information] [MaxTo.Core.Shims.ChromiumHookBlockInitializer] Creating registry keys to unblock hooks for Chromium-based browsers: "Edge Dev, Edge Beta, Chromium, Google Chrome, Brave, Iridium".
2020-11-05 06:42:05 [Core@2.1.0.704] [Warning] [] Shims not found at C:\Users\admin_mrahm\AppData\Local\MaxTo\shims.json
2020-11-05 06:42:05 [Core@2.1.0.704] [Error] [] Failed to read shims from storage (file not found). Returning empty collection.
System.IO.FileNotFoundException: Could not find file 'C:\Users\admin_mrahm\AppData\Local\MaxTo\shims.json'.
File name: 'C:\Users\admin_mrahm\AppData\Local\MaxTo\shims.json'
at System.IO.Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at MaxTo.Core.FileEx.
I don't know how but it suddenly started without me doing something.
That's good, I guess. I can only see one concerning thing in the logs, and that is the user interface not being able to communicate with the rest of MaxTo, which means most features will probably not work. Is this running under a restricted user account in some manner?
It was installed on my account even though I used the machine wide installer and I don't think that normal users have access to my admin directory.
2020-11-05 10:45:35 [Core@2.1.0.704] [Information] [MaxTo.Core.Settings.LoginRegistrationService] Found startup task with incorrect definition. Recreating task. 2020-11-05 10:45:35 [Core@2.1.0.704] [Error] [MaxTo.Core.Settings.LoginRegistrationService] Could not register startup task during startup. System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at Microsoft.Win32.TaskScheduler.V2Interop.ITaskFolder.DeleteTask(String Name, Int32 flags) at Microsoft.Win32.TaskScheduler.TaskFolder.DeleteTask(String name, Boolean exceptionOnNotExists) at MaxTo.Core.Update.InstallHelper.DeleteScheduledTask() at MaxTo.Core.Settings.LoginRegistrationService.Register() at MaxTo.Core.Settings.LoginRegistrationService.InitializeAsync()
That's how the machine-wide installer works, unfortunately. It is documented here.
The log entries seem to indicate that there is a scheduled task named MaxTo already, that it cannot delete. Can you verify that, and who owns it?
Are you trying to run MaxTo as admin or as a standard user?
I try to run it as a standard user and in the mean time I moved the MaxTo directory to Program Files. MaxTo process is owned by my account admin_mrahm.
And the scheduled task?
You can try deleting that task (don't rename or disable it), and have MaxTo recreate it when you start it the next time?
2020-11-05 11:01:42 [Core@2.1.0.704] [Information] [] Logger setup (online logging: True, process #5016) 2020-11-05 11:01:42 [Core@2.1.0.704] [Information] [MaxTo.Core.Settings.DefaultConfigurationLocation] Found no specified configuration location file, using default settings location "C:\Users\admin_mrahm\AppData\Roaming\MaxTo" 2020-11-05 11:01:42 [Core@2.1.0.704] [Information] [] Logger setup (online logging: True, process #5016) 2020-11-05 11:01:42 [Core@2.1.0.704] [Information] [] Logger setup (online logging: True, process #5016) 2020-11-05 11:01:42 [Core@2.1.0.704] [Information] [MaxTo.Core.Shims.ChromiumHookBlockInitializer] Creating registry keys to unblock hooks for Chromium-based browsers: "Edge Dev, Edge Beta, Chromium, Google Chrome, Brave, Iridium". 2020-11-05 11:01:43 [Core@2.1.0.704] [Information] [] Read shims from "C:\Users\admin_mrahm\AppData\Local\MaxTo\shims.json" 2020-11-05 11:01:43 [Core@2.1.0.704] [Information] [MaxTo.Core.Update.UpdateService] Squirrel-installed app, so rewriting CLI batch file. 2020-11-05 11:01:43 [Core@2.1.0.704] [Information] [MaxTo.Core.Update.UpdateService] Automatic updates are not enabled, skipping update check. 2020-11-05 11:01:43 [Core@2.1.0.704] [Information] [MaxTo.Core.Settings.LoginRegistrationService] Could not find startup task, but MaxTo is set to start with Windows. Creating task. 2020-11-05 11:02:17 [Server@2.1.0.704] [Information] [] Logger setup (online logging: True, process #10588) 2020-11-05 11:02:18 [Core@2.1.0.704] [Information] [] Server up and running, client connected. 2020-11-05 11:02:18 [Core@2.1.0.704] [Information] [MaxTo.Core.Bootstrapper] 4 processes started 2020-11-05 11:02:52 [CompanionX64@2.1.0.704] [Information] [] Logger setup (online logging: True, process #11044) 2020-11-05 11:02:52 [CompanionX86@2.1.0.704] [Information] [] Logger setup (online logging: True, process #10680) 2020-11-05 11:02:52 [CompanionX64@2.1.0.704] [Information] [MaxTo.Core.Settings.DefaultConfigurationLocation] Found no specified configuration location file, using default settings location "C:\Users\admin_mrahm\AppData\Roaming\MaxTo" 2020-11-05 11:02:52 [CompanionX86@2.1.0.704] [Information] [MaxTo.Core.Settings.DefaultConfigurationLocation] Found no specified configuration location file, using default settings location "C:\Users\admin_mrahm\AppData\Roaming\MaxTo" 2020-11-05 11:02:53 [CompanionX64@2.1.0.704] [Information] [] Read shims from "C:\Users\admin_mrahm\AppData\Local\MaxTo\shims.json" 2020-11-05 11:02:53 [CompanionX64@2.1.0.704] [Information] [MaxTo.Companion.Hook.HookController] Enabled hook 2020-11-05 11:02:54 [CompanionX86@2.1.0.704] [Information] [] Read shims from "C:\Users\admin_mrahm\AppData\Local\MaxTo\shims.json" 2020-11-05 11:02:54 [CompanionX86@2.1.0.704] [Information] [MaxTo.Companion.Hook.HookController] Enabled hook 2020-11-05 11:02:54 [UserInterface@2.1.0.704] [Information] [] Logger setup (online logging: True, process #9732) 2020-11-05 11:02:54 [UserInterface@2.1.0.704] [Information] [] Activated "MaxTo.UI.ViewModels.NotificationIconViewModel"
Looks good, Can I now set the task to start everytime a user logs on?
@manuel-rahm What do you mean? If you run MaxTo as a given user, it will create that task automatically for that user. I don't think this will work the way you think, and it is clearly not the way it was meant to work from our end.
Hmm okay, I thought that I could set the trigger for "log on every user". But how should other users run the program, when it wants to start it from my directory?
If you use the MSI; it will install MaxTo separately for each user account upon login (automatically). Every user will then get a copy in their %LocalAppData%\MaxTo
.
Okay, thank you for your help and time.
Best Regards,
Manuel
Best of luck. Closing this issue as there isn't anything else actionable for me to do here.
Hi
MaxTo isn't visible as a program when searching with start menu. I can start it manually with the .exe in the 2.1.0 app directory. It doesn't open and it states that the communication failed within the services.
Kind Regards
Manuel