Solved

Simple Script onLogon

Posted on 2004-09-19
5
163 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

SHARE your personal details only on a NEED to basis. Take CHARGE and SECURE your IDENTITY. How do I then PROTECT myself and stay in charge of my own Personal details (and) - MY own WAY...
Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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