Skip to content


How to permanently delete your Facebook account

Update: check out this cool new site that provides up to date links to all major social networking sites and information on how to delete online profiles!

http://deleteyouraccount.com/

——————-

Facebook? We don’t need no stinking Facebook…

If you’re like the thousands of people that don’t like the idea of a site changing its privacy policy or Terms of Service on a whim (and you actually care $0.02 about your privacy), then you were likely one of the many people who was genuinely irate when Facebook started changing its Terms of Service.

After the privacy policy flap that made global headlines and brought thousands of complaints to Facebook’s doorstep,  a method to permanently delete (not just deactivate) your Facebook account was finally introduced.

You can find information on this on the Facebook site at:

http://www.facebook.com/group.php?gid=16929680703

Want the shortcut? Here it is…

Log in to your Facebook account for the very last time and then go to the following URL:
http://www.facebook.com/help/contact.php?show_form=delete_account

You’ll receive a nice notice about how the site screwed up with its terms of use and how it’s apparently made amends. Right.Complete the request and the notice that appears says your account should be permanently removed within 14 days.

Interested in learning more about why Facebook is a privacy nightmare? Read on:

Facebook’s Privacy Nightmare

New Facebook Connect: Federated Identity Or Privacy Nightmare?

Facebook’s new Terms of Use suck

Posted in Uncategorized.

How to remove TCP / network printers in a login script

I ran into a problem with netowrk printers recereating / reinstalling themselves several times, so I found an old script command and placed it into the login script to remove specific printer entries:

rundll32 printui.dll,PrintUIEntry /dn /n \\<UNC>\<PRINTERNAME>

The approach was intended to remove specific existinng netowrk printers and re-install them fresh every time the user logged on. This seemed to work fine for quite some time.

Eventually, I upgraded the script to use the nifty CON2PRT function to delete all network printers and pause for 3 seconds to let the system settle:

\\<unc to server>\netlogon\CON2PRT /F ping -n 3 127.0.0.1 >NUL

Recently, however, the client reported a problem where network printer settings and driver options were getting seriously messed up. In addition to this, severl copies (in some cases as many as 12) copies of a single network printer were being installed on the client. Whether this was caused by a bad MS patch or something else I don’t know… In any event,  it needed to be fixed.

I needed to find a script or command that would definitively clean up any and all TCP / network based printers and re-install from scratch. I discovered the Windows Management Instrumentation Command-line (WMIC). WMIC “…uses the power of Windows Management Instrumentation (WMI) to enable systems management from the command line…”.

Using this new WMIC tool, I modified the login script to call a batch file that ran a one line command to clean up all network printers. In my case, all network printers use a standard naming convention of IP_<IP address>. The batch file I called from the login script was this:

wmic printer where “PortName LIKE ‘IP_%%’” delete

Note – you normally only have to put one “%”, but because the command line reads the first “%” as a special character, you have to put two to make the command work.

After running the new login script on the client machines, all existing TCP printers were zapped and a fresh copy of the network printer was installed on each machine.

Posted in Networking, Windows, printing.

How to align virtual machine OS and data partitions in ESX Server

VMware’s Recommendations for VMFS Alignment performance study article suggests that it is not necessary to align the boot disk in a virtual machine and that it is only recommended for data disks in a virutal machine.

While a data disk in a virtual machine is likely to generate the largest amount of disk I/O in a virtual machine, properly aligning the virtual guest OS boot disk partition will also help to improve performance of your virtual machine.

Creating a properly aligned data file system partition in a virtual machine

The most straighforward and easiest way to align a disk in a virtual machine is when creating a new data file system partition. Information on how to do this is outlined in the VMware article referenced above.

Creating a properly aligned NTFS OS boot partition in a virtual machine

Creating a properly aligned OS boot partition in a virtual machine is somewhat more involved. The following steps outline how to prep a properly aligned NTFS boot partition for a virtual machine in ESX Server.

The process can be summarized as follows:

  1. Create a virtual machine in ESX Server
  2. Attach a WinPE boot disk  (or ISO image) to your virtual machine (see below)
  3. Boot your vanilla virtual machine with the WinPE media / ISO
  4. Create a properly aligned NTFS partition
  5. Exit – save your virtual machine as a template or proceed to install the guest OS

First, you will need some form of Windows PE boot media. Refer to the following links for information on how to prepare your  WinPE boot disk:

Microsoft Technet Walkthrough: Create a Bootable Windows PE RAM Disk on CD-ROM

Windows ITPro: How to create the bootable Windows Preinstallation Environment (WinPE) CD-ROM

One you have your WinPE media in-hand, attach it to the VM and boot the VM into the WinPE environment. Once in the WinPE command prompt, use the diskpart.exe utility to create a properly aligned partition for the VMs guest OS boot partition. To do this, perform the following:

diskpart
select disk 0 <-- the VM OS boot disk
create partition primary align=64

Exit diskpart by typing ‘exit’ and then shut down your virtual machine. Your VMs OS boot partition is now ready for OS installation.

When installing your Windows operating system and prompted for a location to install the OS, select and use the existing partition created above and format it using NTFS. Do NOT delete and recreate the existing partition as this will break the alignment of the partition you created above.

Once you have completed the OS setup you can use VMware tools to convert the VM to a template – this will speed up deployment of future VMs with properly aligned guest OS boot partitions.

If you create new data disks within your virtual machine, don’t forget to follow the steps outlined above to ensure optimal performance of your new VM.

Posted in Virtualization.