Total Views

Wednesday, February 23, 2011

Windows 7 or Vista Log On automatically

Type in netplwiz into the start menu search box, hit enter, and you’ll see this screen:
Note: If that doesn’t work, you can type in control userpasswords2 instead.
control-userpasswords2.png
Uncheck the box that says “Users must enter a user name and password to use this computer”, and then hit Apply. You’ll see a username and password box. Enter in the appropriate information here and hit OK:
automatically-log-on.png
Note that these steps work perfectly on XP as well.

Tuesday, February 22, 2011

Time machine backup onto network share

Here is how you do it:
REQUIREMENTS
You need to be running Leopard and you’ll need a network share which is larger or equal to your hard drive in your Mac. In my case these shares are in SMB and AFP.
1. Go into Applications / Utilities and open up terminal
2. Copy and paste this command into terminal (all on one line)
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
3. Hit enter / return
4. Mount your network share, in my case my share is off our server called INAS1 and my share is called User-Backups
5. Go to System Preferences and open Time Machine
6. Click on Change Disk
7. Select the share you wish to backup to, I’ve selected User-Backups
6. That’s it, you’re done

Wednesday, February 16, 2011

Create Templates in Hyper-V

Base Virtual Machine

The first thing to do is create a couple or more virtual machines where you run a normal installation of any OS you need. I made myself two different machines, one with Windows 7 and another with Windows Server 2008 R2.
I won’t go into details on how you setup a new virtual machine with Hyper-V, you just go through the wizards to create a new machine and you choose which boot device you want to use (physical DVD, ISO file, network share).
When the machine is fully installed and you’re on the desktop, make sure you patch the OS fully. You can additionally install anti virus or other software if needed. Additionally you might want to install the Integration Services, if you are using other OS than Windows 7 and Windows Server 2008.
Both of those comes with Integration Services pre-installed. Avoid everything that you don’t want to have on every new machine.
Step #1: Shut down your machine and make a backup copy of the VHD. This is useful when you in the future want to re-create the base template. Do this copy before you run sysprep.
Step #2: Boot the machine (not the copy you just made) and run sysprep. Sysprep is now included with the latest versions of Windows, you will find it under C:\WINDOWS\SYSTEM32\SYSPREP\SYSPREP.EXE.
Step #3: Configure sysprep to do an OOBE, make sure you check the Generalize button or else it will not create a new SSID. Choose Shutdown in the Shutdown Options.
sysprep_options
Step #4: Copy your VHD once again, this time you are making copies of all the new machines you want to create. My advise is to make the finished sysprep image read-only, so you won’t boot and destroy the finished base template.

Creating Virtual Machine From Base Template

Now it’s time to create new virtual machines that will use the sysprepped VHD copies we have made. I created multiple copies of the server that I will use for development and testing. One of them is for Microsoft Office SharePoint Server 2007, one for SharePoint 2010, another for Team Foundation Server 2010 and a bunch of others, even one for Ubuntu Linux.
Create a new virtual machine using the wizard as you’ve done before, only that this time you’ll choose to use an existing virtual hard disk.
new_virtual_machine
Start the newly created virtual machine and your new machine will start and ask you a few standard questions like machine name. After a few minutes, you should have a completely new machine that is distinct from the base template, it does not share the same SSID or network MAC address.
sysprep_startup_2
Set_Up_Windows

Tuesday, January 18, 2011

How to rename your Microsoft Outlook Mail Profile

If you are using MS Outlook (any version), you will notice that there is no way to rename the mail profile from Control Panel (see Figures A and B).

Figure A


Figure B


I knew that most of these settings are stored in the registry, so I ran a search for every instance of Profile. I did find where the change was and confirmed my suspicion that this setting can be modified using the registry.
Note: As always, edit the registry at your own risk. Make sure you have a reliable backup of the registry; some erroneous edits could render your system unbootable.
The only way to rename your Mail Profile is through direct editing of the registry.

Figure C

Click to enlarge.
1.       Launch Regedit and browse to
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\ (Figure C).
2.       Now, edit the DefaultProfile key by right-clicking and selecting Modify.
3.       Rename the key to how you would like it to appear.
4.       Next, right-click the profile you just renamed. It will be located at HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\bbird@igius.com.
5.       Right-click the profile and click Rename and rename it to the same as above.
6.       Close the Registry editor and then re-open the Mail Applet in Control Panel to find that the Mail Profile has been successfully renamed, as shown in Figure D.

Figure D

Friday, January 14, 2011

Build a Home FTP Server with FileZilla

Upload and download files on your home PC from anywhere by turning it into a personal FTP server. With a home FTP server, you can upload and download files on your home hard drive from the office, your friend's house, or to your laptop while you're on the road using any FTP client. Setting up an FTP server may sound like a complicated undertaking only system administrators can handle, but it's actually quite easy and free with open source software FileZilla. You've already heard of FileZilla's FTP client application, but the FileZilla project also offers a server application for Windows. Today we'll build an FTP server on your Windows PC with FileZilla for easy file transfers from any computer.

Install the FileZilla FTP Server

The FileZilla server installation is a regular Windows "just press Next" wizard, and for most users, the suggested default settings will work. However, let's take a look at its initial settings anyway, since they'll affect how you work with your server. Here's how to get FileZilla going:
  • Download the FileZilla server application. Even though the FileZilla FTP client is available for multiple operating systems, the server app is Windows-only.
  • Run the server as a Windows Service. First FileZilla will give you the option of how it should start up: as a Windows service or not, automatically or manually. Windows services are processes that run on your PC which you can manage from the Services management pane. There's more on how to manage that below, but at this point, running FileZilla as a Windows service that runs automatically is the default option. If you want your FTP server on by default, choose "Start as service, started automatically (default)" as shown. Otherwise, choose "Start as service, started manually."
    In this pane you'll also set the port for the admin interface to use. By default it's 14147, and you're most likely safe leaving it at that. If you do change that port number, make a note of what it is—you'll need it to connect to the server later on.
  • Set the server administrative interface to launch automatically (or not). On the final installation dialog, choose whether you want the server admin window to launch automatically when the current Windows user logs on, when any user logs on, or if it should be started manually.
  • Run and connect to the server with the admin interface. As the installation wizard completes, set it to start the server admin interface. This is the window where you'll configure your server and monitor its activity. The first time you run the admin interface, it will ask you for the server's address and port. Since the server is running on your PC—the same one the admin interface is running on—its address is localhost, or 127.0.0.1. The default port is 14147 (or whatever you may have changed it to, as noted above), as shown:
    filezilla-connect.png
    If this is the only FTP server you'll be administering (most likely it is), check off the "Always connect to this server" box to bypass this dialog in the future.

Create Server Users

If all's gone well, your server's up and running—but no one can use it yet, since you haven't given anyone permission. To set up a server user, from the Edit menu choose Users. In the Users dialog on the right hand side, hit the Add button to create a new user and assign a password. Then, on the left side, select "Shared Folders" to set what folders that user will have access to on your server. Here I've created a user named gina and granted read access to the C:\data\ directory.

Notice you can fine-tune file access rights for each user: grant read-only rights (download only), write rights (to upload files), and whether or not the user can delete files or create directories, too.
If you want to grant several users access to your server all with the same rights and directory access, instead of creating each one individually, set up a user group. For example, if you're sharing your MP3 directory with friends, make a user group called "music fans" with access to the correct directory and add users to that group, which automatically gives them those rights. Then, if you move your music directory you only have to edit the group, not each user in it. To manage user groups, from the Edit menu, choose Groups.

Log into the Server

Now that the server's up and running with users, it's time to log in and try uploading and downloading. Using any FTP client enter the server address, user name and password.
  • Server address If you're FTP'ing across your home network (like from your upstairs PC to your bedroom PC), you can reach the server by using its internal network address (most likely something like 192.168.xx.xx.) From the command line, type ipconfig to see what that address is. If you want to log into your FTP server over the internet, set up a memorable URL for it and allow connections from outside your network.
  • User name and password This is one of the users you set up in FileZilla's admin interface, not the server admin user name. If friends, family, and co-workers will be logging into your FTP server, give them each a their specific username and password to log in (along with the server address.)

Starting and Stopping Your Server in Windows Services

Finally, to shut down or restart your FileZilla server running as a Windows service, from Control Panel, Administrative Tools, launch Services. Right-click on the FileZilla FTP Server item on the list to stop it, edit its Properties, or restart it, as shown.

How to connect to FTP with a web browser ?

There are a few ways to connect by FTP to a host. The easiest way is using Internet Explorer which has the best ftp support.

In order to connect by FTP with your browser, you should just use the following address:

ftp://YourFtpUser:YourFtpUserPassword@yourdomain.com

However, if your FTP user to connect is similar to user@yourdomain.com then you will have to URL encode it like this:

ftp://YourFtpUser%40YourDomain.com:YourFtpUserPassword@yourdomain.com

In the above case it is important to note what the FTP username is:

YourFtpUser%40YourDomain.com

Friday, December 3, 2010

Canon MF3110 printing with Windows 7 64bit

Ever tried to print with your MF3110 device on Windows 7 64bit?

The solution is to download the Windows 7 64 bit printer drivers for the Canon MF5750 and then install the drivers as your LPT1: Printer.  Note this same work around should work in theory with the Canon MF3111 model as well.
You know you have the right file because if you go to Canon’s website link here:

http://www.usa.canon.com/consumer/controller?act=ModelInfoAct&tabact=DownloadDetailTabAct&fcategoryid=335&modelid=11148

Select Windows 7 (x64) in the drop down
And download these drivers:
MF5730_5750_MFDrivers_Win_x64_us_EN_7.exe



Install a new Printer and Select these drivers. Set it as the LPT1: port.
Then plug in your MF3110 USB printer and when it looks for drivers “say Have Disk”
Select the drivers for the MF5750 and it should work for you.
I was able to get this configuration working and printed some test pages without issue.