Solved

Simple Script onLogon

Posted on 2004-09-19
5
161 Views
Last Modified: 2013-12-04

Dear All,

If any user logon to this domain xx.com.ca it should  yahoo pop up screen to be displayed.

Ex:
  My User id is "Neno", when i logon to domain xx.com.ca immediately the Internet Explorer opens with yahoo it should display.

Thanks,
0
Comment
Question by:Nemreen
  • 3
  • 2
5 Comments
 
LVL 3

Accepted Solution

by:
markoid earned 30 total points
ID: 12095589

c:
regedit /s import.reg
cd C:\Program Files\Internet Explorer
iexplore.exe

Create a bat job with the above text in it and save it as startup.bat call the via the logon script in group policy.
create a reg key called import.reg copy and paste the text below into the file and save it.Place it in the root of c: ont the client machine.
This so do the job.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Start Page"="http://www.yahoo.co.uk/"

0
 

Author Comment

by:Nemreen
ID: 12099803
Dear markoid,

First when i logon to domain the IE its open immediately, but without Yahoo URL just blank i think its didnt call the import.reg ?

This what i do:
1-)I create  startup.bat script and pass it logon under group policy ---working Fine
2-)I create  import.reg file and save to C:\  -----It dosnt Open the Yahoo just Blank



If your idea its work, i have 1500 PC logon to domain how i copy the import.reg to 1500 user to c:\ its very diffcult man is there any differnet way ?
0
 
LVL 3

Expert Comment

by:markoid
ID: 12100067
Ok there is a easier way if you want you can set the users home page in grouppolicy under user confiuration\internet explorer maintenance \URLs there is a policy there called important URLs set the home page there ont the top line home page URL.
That should do the job. Couldnt remember where it was the first time.

Cheers,
Mark
0
 
LVL 3

Expert Comment

by:markoid
ID: 12100254
Didnt realise you had some many clients. I can see how copying the reg key to 1500 machines might get a bit tedious. :)
0
 

Author Comment

by:Nemreen
ID: 12109374
Hello again, The first idea what you give it to me I update a small command its working fine without call & import the import.reg also its not required to change the regedit for any PC, just the  call the startup file on logon script as following:

cd C:\Program Files\Internet Explorer
iexplore.exe http://www.yahoo.com

This idea its solve my problem 97% but if some machine they have the program file on D drive...

Thanks again :)


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

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Security measures require Windows be logged in using Standard User login (not Administrator).  Yet, sometimes an application has to be run “As Administrator” from a Standard User login.  This paper describes how to create a shortcut icon to launch a…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
A short film showing how OnPage and Connectwise integration works.

930 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