powershell 7 is opening taskbar pinned locations instead of explorer.exe - powershell-7.0

As the title says, powershell 7 is opening pinned shortcuts of locations that showld open in explorer.exe
Have anyone encountered this problem yet? Or am i the only one?

Related

How to create a Tab Group in Google Chrome from the command line

I use a script to open my browser and a bunch of tabs, for when I accidentally close the browser, with a small window still open in the background (SPAM windows, etc.). The problem is, with Google Chrome set to continue where I left off, when I restart the computer, or Google Chrome, I just get a single windows open with the tab, not my pinned tabs, and tab groups.
Is there a way to create a tab group from the command line?
I have tried a few ways of doing this, but the scripting I can find, will only open the tab in the browser, not actually allow me to create a tab group.
I have tried using:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" google.com mysite.com
This will load the pages as tabs, but I cannot create a tab group.
I have tried Python
python -m webbrowser google.com mysite.com
I cannot see anyway to create a tab group.

Is there a way to open multiple/all notebooks for onenote?

When using onenote, it is really painful that I have to open the notebooks one by one, so is there a way to open multiple/all notebooks at a time?
You can open multiple instances of OneNote with shift click on the taskbar icon and have it opened in multiple instances

Google Earth Engine layer download issues

I am unable to download the piece of my google earth engine layer that I need from the explorer. When I try to select the piece I need with the rectangle tool and hit download, windows kicks back an error message saying
"Windows cannot open the folder. The Compressed (Zipped) folder (file path to folder) is invalid.
I tried downloading multiple times upon changing the rectangle selected, using the viewport selection instead, opening the zip folder in linux and OSX. But nothing worked. How do I solve this?

How to remap a key using AHK to open and close Google Chrome

I am new to AHK and been trying to fidget around with it for quite some time, what I need to do is open a specific profile of Google Chrome when a key is pressed and if it's open close it when the same key is pressed. I tried many things but can't quite figure out how to do it, this is what I have right now.
PgDn::
Process, Exist, chrome.exe
If ErrorLevel <> 0
Process, Close, chrome.exe
Else
Run, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Profile 1"
return
This opens up the chrome to a profile I want but when I close press the button again it closes any and every chrome window open. I understand that's because I close the chrome.exe process, I cannot figure out how to close that specific profile.
Ultimately what I want to do is when the Page Down key is pressed
If Chrome Profile 1 is not opened, open it.
If Chrome Profile 1 is minimized, maximize it.
and if Chrome Profile 1 is opened and maximized, close it.
I would really appreciate if someone could assist with this.
AHK's Run command has a parameter named: OutputVarPID.
you can use this to store the process id of the started chrome instance in a variable, which you can then pass to your Exit command.

Chrome only works on the first session for multi-session logins

I haven't found anything looking like a good answer to my problem, so I'll articulate my own question:
On a Terminal-/Remote Desktop Server (2012 R2), we have a problem running Chrome where there are multiple sessions for the same user. (e.g. a shared "Front Desk" AD user where 2 or 3 people at work may be logged into 4 or 5 RDP sessions with the same user account)
The first launch of Chrome works fine for whichever session opens it. None of the other sessions can use Chrome, however, at least not until the initially launched program instance is closed.
I found an explanation followed by a very unsexy suggestion in the Chromium forums (https://code.google.com/p/chromium/issues/detail?id=160676), so I'm trying to ask here instead in hope that there is a better and more intuitive solution to the problem.
Thank you!
I've solved by, for each concurrent session needed:
In chrome click on Manage people, then Add person, checking Create a desktop shortcut for this user.
Chrome will create a desktop shortcut with the Target property such as:
"C:\......\chrome.exe" --profile-directory="Profile 1"
Edit the Target property of the created desktop shortcut and add a unique folder value for the --user-data parameter:
"C:\......\chrome.exe" --profile-directory="Profile 1" --user-data-dir="C:\temp\user1"
I don't see your log or any other trace clue.
One of my guess chrome's user data directory was locked by the chrome opened.
You might try open the chrome from cmd with this command:
chrome.exe --user-data-dir="C:\temp\user1"
It is starting chrome with a new user data directory.
Workaround details for this issue are here:
https://code.google.com/p/chromium/issues/detail?id=160676
You may want to uncheck the option that lets Chrome run in the background even if "closed"
Click on the Chrome menu (or press Alt+E) Select Settings Click on the link titled ‘Show advanced settings‘ Under the section headed ‘System‘ untick the box next to “Continue running background apps when Google Chrome is closed”