logo-dw

Go Back   Dreamweaver Club Forums > Community Talk > Dreamweaver Club Cafe
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 12-04-2010, 11:11 AM   #1
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default Starting WAMP on startup

For those on Vista and Windows 7 do you ever get annoyed when you click on an icon only to be asked by windows 'Are you sure you want to do this?' by windows Account Control

This also happens when you drop a restricted app into the start up directory on boot. Not the slickest of features in our world of paranoia.

If you would like WAMP or any other app to start on windows start up without the authorisation acceptance popup appearing then here is what you do...
  • Open Task Schedule (Windows 7 just type Task in search for programs)
  • In the left panel select Task Schedule Library
  • Select Create New task from right panel
  • In the 'General' tab settings give the task a name (Ive called mine WAMP)
  • Select the 'Run with highest privileges' check-box
  • In the Action Tab add a new 'Start Program' action and locate the WAMP exe through the browse button
  • On the 'Conditions' tab make sure the option 'Start the task if only on A/C power' is unchecked.
  • On the Desktop... right click > new > shortcut
  • Right click the shortcut and open properties
  • In the Target add the following

    C:\Windows\System32\schtasks.exe /run /tn {task name}

    Mine looks like this...

    C:\Windows\System32\schtasks.exe /run /tn WAMP

    make sure there are spaces as marked ^ /run ^ /tn ^ WAMP

  • Now move the shortcut into your startup directory and your dev environment will load on startup and be ready for you to start cutting some phat code

    You can change the icon of the shortcut to match the app it opens by selecting change icon option from the properties of the shortcut. You will find the WAMP icon embedded inside the exe of WAMP so just choose the exe and the WAMP icon will become available to select
Job Done!
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk

Last edited by davidj; 12-04-2010 at 11:25 AM..
davidj is offline   Reply With Quote
Old 12-06-2010, 12:36 AM   #2
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

i went to administrative tools >services there 2 entries wampapache and wampmysqld and changed the startup type to automatic that did the trick also
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 12-06-2010, 08:28 AM   #3
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

That will start the deamon but not the app
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 12-06-2010, 08:51 AM   #4
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

works on windows 7 though
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 12-20-2010, 10:25 AM   #5
opet
 
Join Date: Dec 2010
Posts: 6
Default

thanks for information
opet is offline   Reply With Quote
Old 12-21-2010, 12:46 AM   #6
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

ok ignored long enough, @opet if you do not prove your self not to be a bot very soon, you are history!
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:58 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com