Solved

Windows 2003 AD Logon Script - Calling htm page

Posted on 2007-11-23
6
433 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

This article runs through the process of deploying a single EXE application selectively to a group of user.
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

809 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