send “ctrl + alt + delete” to a remote computer via rdp

after bugging around with the tool “passchg” (from  http://ctrl-alt-del.com.au/CAD_TSUtils.htm) to change the password on a remote computer i finally found a shortcut to send ctrl + alt + delete …

just hit “ctrl + alt + end” …

as this will not work in a nested rdp-session i still have to use the tool there .. but for 90 % of my sessions this will work for me …

opening website takes forever … goodbye DM2

i run my windows system at work with a bunch of software tools:

  • puretext [paste clipboard in plain text]
  • dm2 [always on top any window/send to tray any window]
  • bins [group software on the taskbar]
  • hotkeyz [well … for hotkeys]
  • winsplit revolution [a great window positioning/aligning tool]
  • and one or two more …

those all worked fine with windows 7 but unfortunately not all work with windows 8 …

puretext does simply do nothing when trying to paste a text with the hotkey set … and dm2 is making even firefox behave strange … that’s where the title comes from .. dm2 causes firefox to take several minutes to load one page …

for now i will just life without them .. but i am certain there are some alternatives over at alternativeto.net

powershell – download file from server via https which has a self signed certificate

the problem:

when I was trying to “wget” a file using $webClient.DownloadFile from a server with a self signed certificate it failed when using the following code:

$webClient = new-object System.Net.WebClient
$webClient.DownloadFile( $url, $path )

 

powershell - download file from server via https which has a self signed certificate

the resource:

searching for a solution i stumpled upon http://blogs.technet.com/b/heyscriptingguy/archive/2010/07/25/windows-powershell-invalid-certificates-and-automated-downloading.aspx

there you will read that all it takes is to set the following just before you download the file …

[Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}

the solution:

the complete script then would be something like:

$url = "https://server/file.ext"
$path = "c:\downloads\file.ext"
[Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}
$webClient = new-object System.Net.WebClient
$webClient.DownloadFile( $url, $path )

skype direct download link [windows]

i was just searching for a direct download link for skype for half an hour …

turns out they want you to register if you come with an ie before downloading the setup …

so you might wanna take firefox or another brother of choice to get a download without signing up …

or you can take the following link:

http://www.skype.com/go/getskype

@microsoft: why .. oh why?!

automatically upload photos taken with the iphone to skydrive [update 2013-08-09]

[update 2013-08-09] as there is now IFTTT for your iPhone you can do it using this recipe “natively” [/update]

i wanted this feature ever since i have my iphone 4s and a skydrive account … but sadly this is not yet possible with the phone alone …

and as i read the article on lifehacker today (http://lifehacker.com/5936429/standing-desks-small-wrenches-and-skydrive-auto+upload/gallery/4/) where mscasslopezan came up with an alternative i thought .. “first thing today is write that post” .. so .. here we go …

@mac users: as there is a skydrive app for mac and icloud somewhat integrated to your os (or am i wrong here) you may do similar things …

for windows you will need the “icloud control panel” from apple (which can only be installed on windows vista and up):
http://www.icloud.com/icloudcontrolpanel

and of course the skydrive app
https://apps.live.com/skydrive

replace “gpunktschmitz” in the following with your own username  …

first off .. you install the skydrive app with defaults settings .. meaning your SkyDrive-folder will be in you user directory (e.g. C:\Users\gpunktschmitz\SkyDrive\)

next up you install the icloud control panel .. after the installation will have to enter your apple id to logon to your icloud storage …

now you can activate several options which you want to be synchronised .. for what we do here all you need to activate is “Photo Stream” …

you can define two folders within the “Photo Stream” option .. an upload folder (which i set to  C:\Users\gpunktschmitz\Pictures\iCloud-Uploads [don’t remember if that was the default option]) … and a download folder … in a first test i did set the  icloud photo stream download folder to “C:\Users\gpunktschmitz\SkyDrive\Pictures\iPhone” .. meaning any photo taken with the iphone which is synched to the icloud will be downloaded via the icloud control center to your SkyDrive folder specified … this SkyDrive folder is of course then uploaded to SkyDrive …

automatically upload photos taken with the iphone to skydrive [update 2013-08-09]

a disadvantage of this setting is that any photo you delete from that stream will be deleted from the photo stream and thus deleted in SkyDrive …

therefore i changed the photo stream download folder to be “C:\Users\gpunktschmitz\Pictures\iCloud-Download\” (again .. dunno any more if that is a default setting) and set up a script which is run by the windows task scheduler every hour or so:

echo n | copy C:\Users\gpunktschmitz\Pictures\iCloud-Download\* ^
 C:\Users\gpunktschmitz\SkyDrive\Pictures\iPhone\
echo j | del C:\Users\gpunktschmitz\Pictures\iCloud-Download\*

the script copies any downloaded photo from icloud to my skydrive folder and deletes the files from the photo stream download folder as it does not make any sense to store it twice on my local disk … i did not check if it is deleted from my icloud itself as it doesn’t matter for me …

automatically upload photos taken with the iphone to skydrive [update 2013-08-09]

remove exif and metadata from jpeg using exiftool

did you ever want to remove any meta data from your jpeg file? such as the software you were editing the image with or the camera type with which you took that photo? or did you even know that some jpgs contain a thumbnail of themselves?

i just found “exiftool”  (http://www.sno.phy.queensu.ca/~phil/exiftool/) which you can use in the windows command line .. with the parameter “-all=” you would remove all meta data …

here the command as an example:

c:\%path_to_your_exiftool_exe%\exiftool.exe -all= c:\%path_to_the_jpegs%\*.jpg

this would remove any meta data … you may want to add the parameter ” -ThumbnailImage=” as i don’t know whether these are removed with the “-all=”-parameter …

you can see the meta data  by running exiftool without a parameter …

c:\%path_to_your_exiftool_exe%\exiftool.exe c:\%path_to_the_jpegs%\aJpeg.jpg

getting sound working in virtualbox guest windows 7 – no audio output device is installed

to get the sound working start up windows 7 and download the realtek AC’97 sound driver to your desktop. therefore click on the following link, accept and click ‘next’ and download the very first driver “Vista/Win7 (32/64 bits) Driver only (ZIP file)” from any mirror …

http://www.realtek.com.tw

and extract it by right-clicking and selection “Extract All…”

getting sound working in virtualbox guest windows 7 - no audio output device is installed

select “Extract” on the next screen and wait for the file to be extracted.

getting sound working in virtualbox guest windows 7 - no audio output device is installed

when it is done click on the “Start”-Button and right-click “Computer” and select “Manage”.

getting sound working in virtualbox guest windows 7 - no audio output device is installed

the computer management console opens. select “Device Manger” in the left tree.

getting sound working in virtualbox guest windows 7 - no audio output device is installed

on the right side you should now see a device with a warning sign named “Multimedia Audio Controller”

getting sound working in virtualbox guest windows 7 - no audio output device is installed

double-click on that and select “Update Driver…” in its properties.

getting sound working in virtualbox guest windows 7 - no audio output device is installed

choose “Browse my computer for driver software”

getting sound working in virtualbox guest windows 7 - no audio output device is installed

and click the “Browse…”-button in the new window

getting sound working in virtualbox guest windows 7 - no audio output device is installed

select the lately extracted folder and click on “OK”

getting sound working in virtualbox guest windows 7 - no audio output device is installed

make sure the option “Include subfolders” is checked and confirm the step by clicking on the “Next”-button.

getting sound working in virtualbox guest windows 7 - no audio output device is installed

confirm the windows security popup by clicking on “Install this driver software anyway”

getting sound working in virtualbox guest windows 7 - no audio output device is installed

and wait for the installation to finish.

getting sound working in virtualbox guest windows 7 - no audio output device is installed

you now have sound in your vm.