Tag Archives: windows

How to send F2, F8, F9, F12 to a VNC Remote PC from Mac OS X

When recently using Intel Active Management Technology (AMT) I was remotely connected via the RealVNC client, but was having trouble sending keystrokes like F2 to enter the BIOS, F12 to select a startup device, or F8 to access the Windows startup menu. This setup is complicated for a few reasons – first I’m using a Mac keyboard. Secondly, OS X remaps the function keys to do things like dashboard, expose, brightness, and volume by default. After a little searching and trial and error, I found that I can use the free utility included with Mac OS X – AppleScript Editor.app – to send keycodes to the VNC connection. Here’s the code for the applescript you can use to send the F12 key: tell application “VNC Viewer” activate tell application “System Events” to key code 111 end tell This is what it should look like in the editor: To send key combos, like holding down alt and pressing F4, the syntax would be something like this: tell application “System Events” to key code 118 using {command down} We use command instead of alt because that is how Real VNC Viewer translates the “alt” key for a remote windows system by default. To send other keyboard F-keys to the remote Windows machine, use the table below to find the appropriate key – make sure to reference the “Mac” column even if the remote machine is a Windows box. What about JAVA? But what happens if you are running a java applet for … Continue reading

Posted in Tech Tips | Tagged , , , | Leave a comment

Hide “You can search from here with Google” in Chromium

If you’re running chrome in kiosk mode Google Chrome, or Chromium, or even if you are not using kiosk mode, you may have encountered the nuisance popup bubble telling you: You can search from here with Google According to a bug ticket you can create a master_preferences file “in the same directory as the chrome binary” and add this information to it: { “distribution” : { “suppress_first_run_bubble”: true } } That did not work for me, however, I used a command line switch ( a.k.a. a “flag” ) to successfully disable this popup balloon from showing. Just use: –no-first-run When you are launching the Chrome / Chromium player. That would look something like this on Linux: ./chrome –no-first-run Or like this on Windows: C:\path_to_chrome\chrome.exe –no-first-run

Posted in Linux | Tagged , | 1 Comment

ActivePerl Flags

Recently I had to setup Active Perl with Sublime Text 2 in Windows 8. After adding a new build system and setting up the path to perl.exe with the -w flag I wanted to figure out what other flags were available. You can pass perl several flags: bin/perl -w bin/perl -p bin/perl -d bin/perl -i bin/perl -t bin/perl -pe bin/perl -pi Here are what the perl flags do: -i: Modifies your input file in-place -w: Activates some warnings -d: Runs under the Perl debugger -t: Treats certain “tainted” code as warnings -p: Places a printing loop around your command so that it acts on each line of standard input. -e: Allows you to provide the program as an argument rather than in a file.

Posted in Tech Tips | Tagged , , , | Leave a comment

windows system32 host location

Clear and simple. The path for the windows system32 host location is c:\windows\system32\drivers\etc\hosts on most systems. On linux systems it is in /etc/hosts so that part makes sense to me, but I have no idea why it is in the drivers folder. Remember if you want to edit the hosts file you may need to have “administrator access” which can be done by right clicking “Notepad” and choosing “Run As Administrator” and then opening the file with Notepad. Otherwise you might be able to view the file but you will get an erro when saving it. Make a backup before you start Other windows system32 host location Windows 95/98/Me c:\windows\hosts Win2k, Windows NT/2000/XP Pro c:\winnt\system32\drivers\etc\hosts Windows XP Home c:\windows\system32\drivers\etc\hosts

Posted in Tech Opinion | Tagged , , | Leave a comment

Connect to a Shared Folder with VirtualBox and Windows XP

Connecting to a Shared Folder with VirtualBox and Windows XP is easy. In the following example Windows XP (TinyXP) is being used to connect to VirtualBox on Mac OS X Mountain Lion. On your list of VirtualBox machines choose the windows XP machine you want to share a folder with and then click “Settings” Choose the “Shared Folders” tab and then select the path on your host computer that you want to share with the Virtual Machine Select the options “Auto mount” and “Make permanent” if you would like this connection to persist If your Windows XP virtual machine is running you may need to restart it Open “My Computer” and from the “Tools” menu choose “Map Network Drive” When the “Map Network Drive” dialog box opens click on “Browse” Choose “Virtualbox Shared Folders” and then “\VBOXSVR” and then the name of your shared folder – (VBOXSVR is how virtualbox refers your host machine – opposed to Remote Desktop / Terminal services which refers to it as \tsclient / tsclient ) Click OK and now you should have your new drive appearing in “My Computer”

Posted in Linux, Mac, Tech Tips | Tagged , , , | Leave a comment

Windows XP Cisco VPN Client Latest Version

If you’re wondering what the latest Version of the Cisco VPN Client for Windows XP, you’ve come to the right place. You may want to heed notice from Cisco that this product is no longer supported… But, according to the information I have found, the final version of the Cisco VPN client software for Windows XP was “” and the installation file was: vpnclient-win-msi-

Posted in Security, Software, Tech Tips | Tagged , , | Leave a comment

Where can I download rdpclip for Windows XP?

rdpclip.exe is the main executable for File Copy and gives functionality to Terminal Services (remote desktop) server that allows you to copy and paste between server and client. File Copy is an extension to Terminal Services server that lets you copy and paste between the server and the client. RdpClip lets you copy and paste files between a terminal session and a client console session. Download RDPCLIP by visiting http://download.microsoft.com/download/win2000platform/rdpclip/1.0/NT5/EN-US/rdpclip_hotfix.exe

Posted in Software, Tech Tips | Tagged , , , , , | Leave a comment

Firefox: Disable Auto Update

There are two methods to Disable Auto Update in Firefox: Firefox: Disable Auto Update Method 1 Go to the “Tools” menu (in the menu bar) and choose Preferences / Options. On Mac OS X Go to the “Firefox” menu bar and choose preferences or press cmd+, Choose the “Advanced” tab and the “Update” sub tab, and then choose one of the options: Install updates automatically (recommended) Download update but let me choose whether to install them Check for updates but let me choose whether to download and install them Never check for updates (not recommended) Firefox: Disable Auto Update Method 2 In your browser bar type in about:config and press return. Type in app.update.auto to filter results, and look for the boolean entry. Set this to: true – firefox will auto update (default setting) false – firefox will not update automatically

Posted in Software, Tech Tips | Tagged , , , , , | 1 Comment

Use Google Chrome as a Screensaver

You can use Google Chrome‘s –kiosk mode to create a full-screen screensaver of sorts. This might be good if you have a webpage or intranet page you’d like to display. Here’s how I did it for a windows computer: Create a file such as c:\screensaver.bat and add the following code. Replace with your location of chrome.exe @echo off taskkill /im chrome.exe start /wait “” “C:\Documents and Settings\Google\Chrome\Application\chrome.exe” –kiosk http://www.mysite.com rem ## run any command here you’d like after the “screensaver” finishes ## Next, set that to run as a scheduled task after the computer has been idle for 5 minutes (or however long you choose). You can then listen with jQuery / javascript to close the page when the mouse moves. Here is code that closes the page when the mouse moves more than 20 pixels. You could also bind it to a keyboard event. <html> <head> <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js”></script> </head> <body> <h1>hello</h1> <div id=”log”></div> <script type=”text/javascript”> var startx = ”; var starty = ”; jQuery(‘html’).bind(‘mousemove’,function(event){ if(startx == ”){ startx = event.pageX; starty = event.pageY; }else { deltax = Math.abs(event.pageX – startx); deltay = Math.abs(event.pageY – starty); var msg = ”; msg += “distance x “; msg += deltax; msg += “distance y “; msg += deltay; $(“#log”).html(“<div>” + msg + “</div>”); if(deltax > 20 || deltay > 20){ closeWindow(); } } }); function closeWindow(){ setTimeout(function(){ window.open(”, ‘_self’, ”); window.close(); },1000); } </script> </body> </html>

Posted in Software, Tech Tips, Web Development | Tagged , , , , , , , , | 4 Comments