加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

windows – 在登录期间打开URL的现代方法是什么?

发布时间:2020-12-13 23:10:36 所属栏目:Windows 来源:网络整理
导读:目前我在登录 Windows桌面时使用此vbs脚本: Set oIE = CreateObject("InternetExplorer.Application") ' This creates a Internet Explorer windowoIE.Left = -5000 ' This allows the page to initilize off-screenoIE.Top = -5000 ' This allows the page
目前我在登录 Windows桌面时使用此vbs脚本:
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

这是从用户登录批处理文件运行的.

我被要求添加另一个,我不喜欢这种方法,但不知道如何实现它?

谢谢

更多细节

情况是,它只需要在Active Directory中的某些用户运行 – 希望它们将在特定的OU中,如果不是,那么我会将它们放在那里!所以我的方法是从登录脚本应用到组角度 – 我不想使用StartUp文件夹或注册表,以便弹出屏幕的用户可以通过Active Directory轻松管理.希望更有意义!

ShellExecute URL.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读