Labels

css (1) jQuery (7) linux (38) mac (70) php (29) python (1) svn/git (9) trac (4) ubuntu (1) virtualbox (6) vista (2) windows (14)

Tuesday, 27 May 2008

I am a geek

This entry is a geeky one



Firstly while cleaning up my pc I thought I'd fix a few issues I've been too busy/lazy to deal with.



Just so you know I'm on windows vista.



Firstly when I open a .html file or something of the same ilk I get an error "unable to find...." from windows then it opens fine in firefox...very annoying.



Google brought me to this note if you're using the 64bit windows you need to add wow6432node to the reg key path after hkcr

This is what fixed it for me:

[code]You will need to manually edit the registry in Windows Vista or in cases where the File Types listing is missing certain entries such as "URL:HyperText Transfer Protocol" (HTTP) and "URL:HyperText Transfer Protocol with Privacy" (HTTPS).



Caution: Editing the registry incorrectly can damage your system. Do not attempt these steps if you are inexperienced or uncomfortable using the Registry Editor.



1. Go to "Start -> Run" (or press the windows key+R) then type regedit and click OK

2. Use the directory tree hierarchy to navigate to "HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec"

3. Delete the "ddeexec" registry key

4. Repeat for "HKEY_CLASSES_ROOT\HTTPS\shell\open\ddeexec" (and any other protocols you want to fix)

5. Repeat for "HKEY_CLASSES_ROOT\FirefoxURL\shell\open\ddeexec"

6. Repeat for "HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\ddeexec" [/code]





Next problem was starting up admin programs at bootup without having to use that annoying "windows has blocked a startup program" which brought me to this



[code]1. Launch the Task Scheduler

Example: Start Menu > All Programs> Accessories > System Tools



2. From the Actions panel on the right, select Create Task...

a. Give the app a name of your choice in the "Name Section"



3. Go to the Security Options on the General tab

a. Select an user account with administrative privileges

b. Select the radio button Run only when user is logged on

c. Check the box Run with highest privileges



4.Go to the Triggers tab and click New...

a. In Begin the task, select At log on

b. In the Settings options, select All users

c. In the Advanced Settings options, check the box Enabled

d. Click OK to close the dialog



5. Go to the Actions tab and click New...

a. For Action, select Start a program

b. In the Settings options, browse for the Program/Script you want to execute on

startup

c. Click OK to close the dialog



6. Go to the Settings tab

a. Check the box Run task as soon as possible after a scheduled start is missed

b. Uncheck the box Stop the task if it runs longer than



7. Make any other desired settings



8. Click OK to save and close the task properties [/code]



works a charm :) now I'm issue free (pretty much...I think)