Solved

Simple Script onLogon

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

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…
Article by: btan
The intent is not to repeat what many has know about Ransomware but more to join its dots of what is it, who are the victims, why it exists, when and how we respond on infection. Lastly, sum up in a glance to share such information with more to help…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

777 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