Wednesday, May 16, 2012

Where do I set the default home page in group policy?

Since I can never remember where this is located, I thought I would post it.

User Configuration > Policies > Windows Settings > Internet Explorer Maintenance > URLs > Important URL


Source: Link

How Do I Copy an Existing Group Policy

Open Group Policy Management

Navigate the tree until you notice the container called "Group Policy Objects"

Right click the GPO and click Copy

Now right click "Group Policy Objects" and click Paste.

Click "Preserve the existing permissions" and click Ok

Source:  Link

Sunday, April 22, 2012

New Windows XP Installation Blue Screens with pci.sys Error

What this means is you have a PCI Express video card and back when Windows XP was first created, PCI Express didn't exist.  Windows XP will work fine, but you have to have an XP cd with SP1, SP2, or SP3 slip'd streamed to it.

Source:  Link

How to Slip Stream a Service Pack in to Windows XP (Need to Add)

Monday, April 2, 2012

How to setup a remote connection to MySQL/Error: mysql said host is not allowed to connect to this mysql server


First connect to the server where you are able to currently connect (i.e.: remote desktop and connect using localhost)

Next run the following command from the MySQL command line:

mysql> GRANT ALL ON *.* TO 'jsmith'@'192.168.1.%' IDENTIFIED BY 'PASSWORD';
mysql> commit;

What this just did is created a user named jsmith that can connect from the network 192.168.1.x.  This works well if you use DHCP and every time you connect is a different IP.

Next thing I had to do was set the password for the user because I was getting an "Access Denied" error

Run the following command:

mysql> use mysql;
Database changed
mysql> update user set password=PASSWORD("new password") where USER='jsmith';

I then tried to connect and was able to connect at that point.

This is just a testing database, but I couldn't get the remote connection for root to work.  I understand where in almost all instances you wouldn't want that.  If anyone figures out how to do that, please post the solution in the comments.  I got past the not allowed to connect, but can't get past the access denied.

Source:  Link  Link  Link  Link

Friday, March 30, 2012

How to Install OS X Lion from a USB Drive

First you have to purchase it from the App Store.

Locate the the Lion app in the Application Folder (Did notice that I already had it downloaded previously and moved it to my desktop. It actually updated the Lion App on the my desktop and did not show up in my Applications Folder, just an FYI)

Right click and click "Show Package Contents" Go to Contents -> SharedSupport

You'll find a file named "InstallESD.dmg"

Open Disk Utility

Plug in the Thumb Drive. Once it shows up on the left hand side click the Top Level for that thumb drive. You'll know your on the right level if you see the Partition tab on the right hand side.

Click Partitions and select 1 Partition.

Select Mac OS Extended (Journaled) as the Format

You can name it whatever you want.
Click Options -> Select GUID Partition Table

Hit Apply (This will erase anything on the drive)

Click the restore tab

Click the Image button and select the "InstallESD.dmg"

Drag the thumb drive partition on the left to the Destination box. This is the 2nd level down.

Click restore

Once completed, reboot and hold the option key.

Select the thumb drive called Mac OS X

You can let go once you see the Apple Logo

Source: Link

Thursday, March 29, 2012

Configuring Your Browser to Use Your CAC/Browser Won't prompt to Select Cert

First install DoD Certs Link

Here is how to use Firefox Link

Here is how to use IE Link 1 or  Link 2

Macs Link

If your getting this error "403 Access Forbidden - You do not have Permission to Access this resource."

They also explain that here. Go to question 9

MilitaryCAC is a great source for CAC stuff in general!

Wednesday, March 21, 2012

How Do I Copy a File to a USB device in VMware ESXi 4.1

First thing is you need to enable SSH.

I already wrote how to do that here -> How To Enable SSH for ESXi 4.1

Next open an ssh program like PuTTY.

Once connected you need to run the following command as root.

/etc/init.d/usbarbitrator stop 

Note: This turns off the USB passthrough for your VMs.

At this point you can plug in the USB device.  4.1 auto mounts it so, type:

ls /vmfs/volumes/NO\ NAME/

This should show anything on the USB Device.

You can copy, delete whatever you want to do.

Source:  Link Link Link

This blog talks about how to use some of the utilities if you are coping a new vm over.

Source:  Link

Once you are done, you should turn back on passthrough by typing:


/etc/init.d/usbarbitrator start

UPDATE:  I found this does work find but for only FAT/FAT16 formatted drives.  I have no yet found a solution to use FAT32 or NTFS.

Wednesday, March 14, 2012

How to transfer WSUS to a New Partition

I'm not even going to try to explain it since this person did it so well.  Hit the link and enjoy!

Source:  Link

Just 1 thing...  The person that explains how to do this says SQL Server 2005 and I was using SQL Server 2008 R2.  Just substitute what he says with SQL Server 2008 R2 and you'll be fine.

I used this link before I found the better link above.

Source:  Link

Monday, March 12, 2012

Module DevicePowerOn power on failed when starting a VM in ESX

I was getting an error message like this:

Module DevicePowerOn power on failed. Unable to create virtual SCSI device for scsi0:0, 


I later found out that the image was being used in VMWare Player and needed to be converted first.  In this instance you need to download VMWare Converter (Link) and connect to your ESX box.  It will convert and then transfer it for you.

VMWare has another way of doing it. Its listed as the source below.

Source:  Link