Solved

Simple Script onLogon

Posted on 2004-09-19
5
160 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
Comment Utility

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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

In today's information driven age, entrepreneurs have so many great tools and options at their disposal to help turn good ideas into a thriving business. With cloud-based online services, such as Amazon's Web Services (AWS) or Microsoft's Azure, bus…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 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