?
Solved

Windows 2003 AD Logon Script - Calling htm page

Posted on 2007-11-23
6
Medium Priority
?
453 Views
Last Modified: 2008-05-31
Hi guys I want to create a logon script that opens a htm page with notices/notifications to staff, this page is managed by HR and Communications is there a way i can call this page when a user logon onto their pc, we have windows 2003 active directory and .bat logon scripts for drive mapping
0
Comment
Question by:SEUPB
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

by:mediaonegraphics
ID: 20338283
Add the line:
START "path to web pagee".htm
without quotes to a batch file
0
 
LVL 3

Expert Comment

by:mediaonegraphics
ID: 20338294
Or one of your existing batch (.bat) scripts
0
 
LVL 5

Expert Comment

by:pavaneeshkumar
ID: 20338314
put the following code in your script
explorer "\\servername\sharename\notice.html"

or

"%programfile%\Internet Explorer\iexplore.exe" "\\servername\sharename\notice.html"

 if the html page is accessible through www (local intranet)

you can replace "\\servername\sharename\notice.html" with the www name of that page
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 

Author Comment

by:SEUPB
ID: 20338423
Ok thanks pavaneeshkumar, its opening the window which is great, before i award the points, is there a way to call a limited IE Window, ie no toolbars displayed ??
0
 
LVL 5

Accepted Solution

by:
pavaneeshkumar earned 1000 total points
ID: 20338604
to do so you need to change the approach
you dont need to use the above line in your script .

save the code given below as a file with extention .vbs
i m assuming you saved it as

openie.vbs

on the same lcocation where your current script file is OK.
 Replace the following entry in vbs file accourding to your html page location

.navigate "C:\Documents and Settings\itserviceba\Desktop\test.html"

Now add the following line in your current script


cscript "\\servername\sharename\openie.vbs"








dim objExplorer
 
Set objExplorer = CreateObject("InternetExplorer.Application")
        with objExplorer           
            .ToolBar = 0
            .StatusBar = 0
            .Width=1200
            .Height = 600 
            .Left = 1
            .Top = 1
            .Visible = 1
           .navigate "C:\Documents and Settings\itserviceba\Desktop\test.html"
        End with

Open in new window

0
 
LVL 5

Expert Comment

by:pavaneeshkumar
ID: 20625094
Check and update the status
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question