Asked by:
How to start Edge in a hidden window?

General discussion
-
Hi,
Thanks for you help in advance! I have a need to open one or more webpages in Microsoft Edge in hidden windows that my enterprise users will not see in their taskbar so that they will not accidentally close them.
Kindly provide a command line or ps1 script that I can schedule to run at Windows 10 startup.
Thanks!
Tom
ThomasAC_hotmail
- Changed type Bill_Stewart Thursday, January 25, 2018 10:38 PM
- Moved by Bill_Stewart Thursday, January 25, 2018 10:38 PM Unanswerable drive-by question
Monday, November 20, 2017 3:59 AM
All replies
-
We cannot help you surreptitiously and illegally do any on this. Please do not request this kind of thing in this forum.
\_(ツ)_/
Monday, November 20, 2017 4:13 AM -
Hello jrv,
Thanks for your quick reply. Perhaps I should have phrased my query in a different manner. My motive for asking this question is to pre-load some webpages and prevent them from being closed accidentally so that the content will remain in cache and quickly accessible by users throughout the work day. It is a legitimate question and not without precedent. For example: utilizing Microsoft's own command line switch for Powershell allows starting Microsoft Word in a hidden manner. Here is a working line from a Powershell PS1 file: Start -Windowstyle hidden winword. There is nothing illegal about it. It is Microsoft's own creation.
Also, Microsoft Scripting Guy, Ed Wilson has or had a Microsoft Technet Blog: https://blogs.technet.microsoft.com/heyscriptingguy/2014/02/16/weekend-scripter-use-powershell-to-start-hidden-process/ in which he discusses at length a script to create a hidden process. A script of his is available for download from Microsoft.com at: https://gallery.technet.microsoft.com/scriptcenter/Start-Hidden-function-b06adaea
So my question is not illegal. However Ed Wilson's script does not apply to Microsoft Edge so I am asking for your assistance here.
At the very least I will like to know how to start edge with a blank page in a hidden window. Is this possible?
Thank you,
Tom
ThomasAC_hotmail
Monday, November 20, 2017 6:24 AM -
Pages are cached automatically. There is no need to do this.
Questions about options for Edge should be asked in the Edge forum.
\_(ツ)_/
Monday, November 20, 2017 10:28 AM -
Yes, I have observed that pages are cached. However, if the browser is closed, then with the passing of time webpages seem to be gradually purged from cache and after 8 to 10 hours, if the page is accessed again, the load time is drastically increased due to this purging.
So, the problem is how to make the webpages stay in cache. Is there a way to mark a webpage for persistent caching?
ThomasAC_hotmail
Monday, November 20, 2017 3:35 PM -
So change the browser setting to keep cached pages.
\_(ツ)_/
Monday, November 20, 2017 3:39 PM -
I have a need to open one or more webpages in Microsoft Edge in hidden windows that my enterprise users will not see in their taskbar so that they will not accidentally close them.
This sounds suspiciously like an XY problem.
What is the actual problem that suggests this is the appropriate solution?
-- Bill Stewart [Bill_Stewart]
- Edited by Bill_Stewart Monday, November 20, 2017 4:47 PM
Monday, November 20, 2017 3:43 PM