Solved

Windows 2003 AD Logon Script - Calling htm page

Posted on 2007-11-23
6
412 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
  • 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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

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 250 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Starting in Windows Server 2008, Microsoft introduced the Group Policy Central Store. This automatically replicating location allows IT administrators to have the latest and greatest Group Policy (GP) configuration settings available. Let’s expl…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now