Just Another Sysadmin

January 22, 2008

Free PDF Printer

Filed under: pdf — justanothersysadmin @ 9:56 pm

Every now and then somebody asks me if there is some way around paying Adobe hundreds and hundreds of dollars if they just want to create some PDF’s. Answer? Absolutely!

Two free PDF printers you can use are CutePDF and PDFCreator. I have not used the latter, but I use CutePDF myself, have recommended CutePDF to several people, and have not had any problems with it.

If you are looking for a bit more functionality, such as creating a single PDF from multiple PDF’s, rearranging pages or adding/removing pages, converting PDF’s to MS Office documents, etc, be sure to check out PDF Converter Pro from Nuance Software. It has a whole whack of features, and it’s only about $100.

I’m not anti-Adobe or anything, but I just think that there are tonnes of less tech-savvy people out there paying hundreds of dollars for Adobe Acrobat functionality that they will never need.

Happy printing!

Exchange 2007 Mailbox GUID

Filed under: active directory, exchange 2007, powershell, scripting — justanothersysadmin @ 9:46 pm

On a recent Exchange 2003 to 2007 upgrade, I ran into a very frustrating issue that significantly delayed our deployment. All new mailboxes that were created on using Exchange 2007 tools (Exchange 2007 Management Console or Powershell) were missing several crucial ADSI attributes, namely:

  • legacyExchangeDN
  • msExchALObjectVersion
  • msExchMailboxGuid
  • msExchMailboxSecurityDescriptor (set to “not set”, all other accounts have a blank value here)
  • msExchUserAccountControl

(more…)

Resize VHD Files

Filed under: .net, vhd, virtual server, virtualization, windows — justanothersysadmin @ 9:13 pm

This topic has been covered a bit (here, here, and here, for instance) but I have been working on a project that utilizes Virtual Server for testing, and it came up again. A consultant that was working on the VM’s in question apparently struggled for quite some time before he asked for help on it. So, I thought I would see if another post on this might help someone out.

If you run into a situation where you have existing Microsoft Virtual Server/PC VHD files, but the sizes you created them with initially simply don’t cut it anymore, there is hope!

What you will need:

  • Original VHD file (obviously)
  • VhdResize from vmtoolkit
  • Spare disk space
  • .Net 2.0 installed on the machine you will be using for the process

The beauty of the tool is that it can be without having to be installed (self-contained). Just extract the zip, double-click the VhdResize.exe executable, select your source file and destination VHD, and away you go! The VhdResize also allows you to convert from fixed-size VHD’s to dynamically-expanding VHD’s as well, and it is non-destructive on your source VHD.

Note that this only increases the size of the VHD, so that, effectively, your VM will see a larger physical hard disk present; it does not resize partitions on that drive. For that, you can either use Disk Management or diskpart in your guest VM, or mount the VHD using the vhdmount utility included in Virtual Server and use those disk utilities from your host OS (quick walkthrough here).

Let me know if that’s of use!

January 20, 2008

Reliable, Free P2V Solution

Filed under: vhd, virtual server, virtualization, vmware, windows — justanothersysadmin @ 9:48 pm

If you have ever had to take on a Physical-to-Virtual (P2V) migration of a server or other machine, you know that you generally have a fine balance of the following triangle of factors: cost, complexity, and reliability. It seems like the only way to get an easy and reliable solution is to throw gobs of money at either a VMWare infrastructure or something like Platespin. Don’t get me wrong: from what I’ve heard they both offer excellent solutions in that field, but it simply isn’t cheap. I had to find out the hard way, but there is another way.

(more…)

January 19, 2008

Modifying Group Memberships with Powershell, Part II

Filed under: .net, active directory, adsi, groups, howto, network management, powershell, scripting — justanothersysadmin @ 3:30 pm

I had hoped to put this all in one post, but the thing would have gone on forever! Part I covered some basics in copying group memberships to an Active Directory user from another user, such as a template account, using Powershell. Part II will delve into my misadventures in gaining more control of user group memberships, including removing users from a group either by editing the group’s attributes or editing the user’s attributes. I was also looking for a way to change dial-in permissions on user accounts, and that will be covered by a similar strategy.

While these examples should be less dependent on the MS Exchange 2007 snap-in for Powershell and Powershell Community Extensions, please note that I have not checked through the code samples to confirm what is purely Powershell and what requires those snap-ins.

(more…)

Modifying Group Memberships with Powershell, Part I

Filed under: .net, active directory, adsi, groups, howto, network management, powershell, scripting — justanothersysadmin @ 11:03 am

I recently had to spend hours figuring out how to properly modify Active Directory group memberships using Powershell. Some of the .Net methods have not yet been implemented, so I had to get a bit tricky with it. I could find the various bits of information I needed in various places, so I hope that collecting them here in one place is of some use to others.

The scenario was that I needed to disable user accounts in a Windows Server 2003 Active Directory environment running with Exchange 2007. We have a fairly customized, hosted Exchange environment, and so disabling a user is not just a simple matter and right-clicking and disabling the account in Active Directory Users and Computers (ADUC); we have a 2-page doc for the process to catch everything from removing group memberships to setting up email forwarding or restrictions, changing dial-in permissions, changing NTFS permissions on profile directories, etc.

(more…)

January 16, 2008

Ultimate Guide to Linux Boot Problems

Filed under: dual-boot, howto, linux, troubleshooting — Tags: , , , , , — justanothersysadmin @ 6:41 pm

I haven’t played around much in Linux lately, but I finally dusted off my Ubuntu CD’s and started tooling around again. I already had Vista installation on my work laptop, and did not want to blow that away, so I erred on the side of caution by not letting the Xubuntu setup program install its own GRUB bootloader…except then I couldn’t get into the Linux OS…

So, off I go in search of GRUB install guides, and just about every how-to out there is using the basic scenario that GRUB was installed in the first place, and that it just needs to reinstall itself, which was totally not the case this time around!

Anyway, after searching and searching and booting back and forth multiple times between Vista (slow boot!) and the Xubuntu live CD (which is somehow booting faster, even though it’s discovering all of the hardware for the first time), I finally stumbled across an absolute gem for Linux booting troubleshooting.

I have to say this is by FAR the most conclusive coverage I have EVER seen for resolving Linux boot issues. Lilo and GRUB issues are covered with tonnes of different scenarios, including dual-booting and the dreaded Vista BCD bootloader. If you have run just about ANY Linux distro, you need this reference. And don’t tell me that you’ve never had boot loader issues, ‘cuz it will happen to you!

Check it out here.

January 12, 2008

Update on Network Solutions Front-running

Filed under: dns, network solutions, news, web, whois — justanothersysadmin @ 6:37 pm

If you caught my previous post about Network Solutions’ practice of domain front-running, here’s the latest bit: They are now actually claiming that this practice protects people against front-running (see CW article for more details). Their logic? Well, if the domain gets reserved when you search for it, they are preventing scammers from registering the domain and selling it back to you…

…uhm…

Let’s try this again:

  • I go to NS to search for a domain’s availability
  • NS registers that domain so that it’s only available through them, but in no way is this reservation tied to me, the person who did the search.

End results:

  • If I want the domain, I HAVE to buy it through Network Solutions.
  • If some scammer wants to snatch up the domain to sell it back to me at a profit, the only catch is that he has to register the domain through Network Solutions. He can do this because, again, NS has in NO WAY tied the search and subsequent reservation to only myself.

Wow, even for PR spin that’s some pretty crappy logic in their excuse.

January 9, 2008

Network Solutions Domain Frontrunning

Filed under: dns, network solutions, news, web, whois — justanothersysadmin @ 6:24 pm

If you have not heard of the term cybersquatting, here’s the gist:

  • Think of a domain name that someone else is likely to be interested in.
  • Register/Purchase that domain.
  • Wait for that person to try and register the domain for themselves.
  • Sell the domain to them for a profit.

Another spin on this idea is called domain frontrunning, where domain registrars track which domains are checked for availability (e.g. you searched for a domain that you’re interested in), and they snatch up that domain. They still show the domain as available through their searches, but other whois lookups or domain registrar searches shows the domain as already registered…to the first registrar.This might sound confusing, but basically it means that whatever domain you just searched for through the first registrar is now ONLY available through that registrar, forcing you to buy it through them and no one else. Technically, this is not illegal, but it’s a pretty underhanded way to do business. While I personally have never had any problems working with Network Solutions, they are currently accused of this practice of front running.

For more details, check out the full article at Domain Name News.

Blog at WordPress.com.