Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Simple Script onLogon

Posted on 2004-09-19
5
Medium Priority
?
171 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
[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
5 Comments
 
LVL 3

Accepted Solution

by:
markoid earned 90 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

As I write this article, I am finishing cleanup from the Qakbot virus variant found in the wild on April 18, 2011.  It was a messy beast that had varying levels of infection, speculated as being dependent on how long it resided on the infected syste…
Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

618 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