What's the modern-day means to open a URL throughout logon?

Presently I am utilizing this vbs script throughout logon to a Windows desktop computer:

Set oIE       = CreateObject("InternetExplorer.Application")  ' This creates a Internet Explorer window
oIE.Left      = -5000                                         ' This allows the page to initilize off-screen
oIE.Top       = -5000                                                 ' This allows the page to initilize off-screen
oIE.navigate "http://myurl/?popup=1"                      ' This is URI
oIE.ToolBar   = 0                                                     ' This removes the toolbar
oIE.StatusBar = 1                                                     ' This removes the status bar
oIE.Resizable = 1                                                     ' This allows the maximise button
oIE.Visible   = 1   

That is ranged from the customers logon set documents.

I've been asked to add an additional one and also I dislike this strategy yet wear; t recognize just how else to attain it?

Many thanks

More Detail

The scenario is that it will certainly require to be run for just particular customers in Active Directory - with any luck they will certainly remain in details OU's and also if they are not after that I'll place them there! So my strategy has actually been from a Logon Script related to Groups angle - I really did not intend to make use of the StartUp folder or the computer system registry to make sure that the customers that have the screen turned up can conveniently be taken care of though Active Directory. Hope that makes even more feeling!

2019-05-07 09:24:07
Source Share
Answers: 3

ShellExecute the URL.

2019-05-09 04:37:25

If it is just on your own, or you are not bothered with customers eliminating it, you can simply create a faster way to the internet site on the desktop computer like any kind of various other faster way after that relocate the faster way to the start food selection in All Program > Startup. For all customers simply drop it in \Documents and Settings\All Users\Start Menu\Programs\Startup, or for a details customer decline it in \Documents and Settings\DESIRED USER\Start Menu\Programs\Startup, making sure to change DESIRED USER with, well, the wanted customer.

Conversely, you can place the faster way in a 'secret' such as \WINDOWS and also create an access in the computer system registry at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run for the existing logged customer, or under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run for all customers. The name needs to be a brief summary of the faster way, and also the value needs to be where the faster way stays on the system, added with.url (as an example if i conserved a faster way to Google in the windows folder, and also called the faster way google, the value would certainly be "C:\WINDOWS\google.url"

2019-05-09 02:52:30

Run the command "start http://your-url", probably?

(This has similar result as Richard Gadsden's remedy, wnoch appears great to me)

It would certainly aid to recognize what you do not like concerning your existing remedy, however.

2019-05-08 10:05:52