Fred Mastropasqua's Facebook profile

Windows 7 and Vista god mode

by Fred Mastro 4. January 2010 19:53
  1. Right click on any bank space on your desktop.
  2. Click new from the menu and create a New Folder.
  3. Rename the folder as follow: GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
    DO NOT use this trick on Vista 64X  and Windows 7 64X
    . It will cause your Windows to crash! (read comments below)

This will create a special shortcut to the godmode option; letting you access all Windows 7 or Vista functions via a handy GUI!

image

Tags: , , ,

Operating Systems | Gadgets & Cool Stuff

Show Ports In Use on your Windows OS

by Fred Mastro 2. December 2009 14:47

TCP Ports:

netstat –anop TCP

UDP Ports:

netstat -anop UDP

Tags: , , ,

Troubleshooting | Microsoft | Operating Systems

Upgrading my MacBook Pro 17" 200GB Hard Drive to 320GB with Boot Camp partition (using VMFusion)

by Fred Mastro 4. October 2008 01:44

Ok so I was disappointed with my Mac's HD capacity.  Granted you can get a 300GB HD installed in your MacBook but it's slow. 4200 rpm's come on.  I've used laptops where all the hardware was fast and the bottleneck was the slow drive.  So I went with the fastest drive they had, 7200rpm, but it was the smallest 200gb.

Then I made my 32GB windows partition and quickly I was running low on space on that drive as I installed all my work related software on the vista partition.  

So I wanted to upgrade the hard drive in the laptop.  Even though I've built my window machines for the last 15 years i've never really upgraded laptops before.  I've done repairs on them, but that was swapping out faulty parts for exact replacement, and I know nothing about Macs.

So I did some research out of curiosity and found this great post by Jeff Coughlin at http://www.jeffcoughlin.com/blog/index.cfm/2008/9/26/Upgrade-Hard-Drive-in-a-MacBook-Pro  

He's already done the research on which hard drive to purchase, the WD3200BEKT.

So I followed his steps.. 

Well almost.  See I have VMFusion running my Vista partition, so I installed WinClone and made an image of my VMFusion parttion and saved it to my Documents folder.

I'm running a MacBook Pro 17" screen with a 200GB 7200rpm drive. OS-X Leporad, and 32GB Partition to Vmware Fusion running Vista 32 bit Ultimate.  

Now, note here I was so excited to swap out my drive I just did it. Then delt with the VM partition afterwards, and ran into problems trying to boot my VMFusion vista partition, but the Mac portion worked out great.

So I then ran BootCamp again on Mac and partitioned 50GB for my Windows OS.  Once that was done I ran WinClone and restored the img I had taken before of my bootcamp partition back to the new partition.

 

The first time I went to load my Virtual Vista Machine with VMFusion it I got an error..

Cannot open the disk '/Users/Mastro/Library/Application Support/VMware Fusion/Virtual Machines/Boot Camp/%2Fdev%2Fdisk0/Boot Camp partition.vmwarevm/Boot Camp partition.vmdk' or one of the snapshot disks it depends on.

So I tried what it told me to do, I deleted the hard drive in the vmfusion settings for that virual machine and readded it.  Then I tried to boot the virtual machine. It didn't give me an error but it booted and couldn't find a bootable drive.

Ok so then I deleted the whole virtual machine in VMFusion, since my data was on that partition, this seemed safe to me.  I closed VMFusion and went to /Users/Mastro/Library/Application Support/VMware Fustion/Virtual Machines/ and deleted the "Boot Camp" folder.

VMFusion still saw my Boot Camp partition but as new now so I tried to run it and got the following error.

The Boot Camp partition is not prepared to run as a virtual machine. It appears that Windows did not shut down cleanly the last time it was used.

 The Boot Camp partition is not prepared to run as a virtual machine. It appears that Windows did not shut down cleanly the last time it was used.

Notice the rest of the msg below the error, Restart to Windows, etc.. basically that's what I did and it worked great. Took awhile because windows had to run CHKDSK and re-allocate the free space and fix the indexes.

I'm sure there's a better way to go about it, but maybe not. This is how I did it, and it's working great.

 

Jeff's steps worked great for the Mac, so I took his steps and added the extra steps to handle the VMFusion aspect.

 Parts I ordered:

Software I Used:

 

Jeff's Steps in Blue
Fred's added Steps
in Maroon

  1. Researched some hard drives and chose the Western Digital WD3200BEKT drive for it's overall balance of speed and power consumption (speed being the more important factor for me). Suggest: Newegg.com or Amazon.com.
  2. Ordered the enclousure (think Jeff already had his) and the tools. Yeah I'm sure I already had what I needed, but I didn't want to take any chances.
  3. Installed WinClone and made an Image of my 32GB VMFusion partition, I saved the image to my ~/Documents folder
  4. Shutdown all programs on my Mac and disconnected from the web (don't want some auto-update running by mistake)
  5. Mounted the new drive to the Mac (now in the enclosure unit) and formated it (use "Applications >> Utilities >> Disk Utility". Select the new drive (which shouldn't be formatted yet if new) and choose "Erase" with the default setting of "Mac OS Extended (Journaled)).
  6. Used Carbon Copy Cloner to clone the data and make the new drive bootable (took 3 hours)
  7. Shut down Mac and installed new HDD
  8. Booted up Mac with new HDD (it was a slow bootup the first time - see next step)
  9. This next part I couldn't find documented anyhere on the web. I just happened to catch some guy talking about it in a forum after having slow bootups from my recent restore.
    • Go into "System Preferences >> Startup Disk", select the new drive, and restart (your bootup will be much faster now).
  10. So I booted up to the Mac the second time after step 9 and then I loaded Boot Camp and created a new 50GB partition for my Windows OS, and I did not reboot, I choose Install later.
  11. I loaded WinClone and restored the img I had made in step 3 and restored it to the new parttion made by boot camp.
  12. I tried to load my VM and got Error #1 so I went to my User's folder and then to ~/Library/Application Support/VMware Fustion/Virtual Machines and I deleted the "Boot Camp" folder.
  13. I tried to load VM again and got Error #2 and then went to System Prefs > Startup Disk and set Windows as the startup OS and Restart
  14. When Windows starts to boot let it run CHKDSK.. Stage 1 of 3 went quickly. Stage 2 of 3 took about 45 minutes.  State 3 of 3 took another 45min and even looked like it was hung up at times, but it finally finished (1.5 hours total)
  15. Once I was booted into windows and logged in, everything looked great.  I went to Control Panel and to Boot Camp for windows and changed my startup back to Mac and rebooted
  16. Once the Mac booted (took like 4 seconds :p ) I was able to load up VMFusion and run my Vista virtual machine. It wanted to reinstall the Virtual Machine Tools but that's fine, I did that and rebooted the Virtual Machine.

And that was it.  I would say it was really easy, esp Jeff's steps with the Mac, if I didn't have the VM partition, the whole thing (minus the cloning time) only took like 10minutes.

Total time with cloning time and CHKDSK waiting time.. took maybe about.. 5 hours. But that's 3 hours of cloning time and 1.5 hours of waiting for CHKDSK time. So really only 30 minutes of my time was used.

One thing that seemed to throw me off was that the Mac only seemed to register 297gb of space vs anything close to 320gb, must be how it allocates space or something, anyone know?  

Well now I have 18gb more space for my windows partition  (50gb) and like 100gb more for my mac, since the 32gb used before was freed up.

Hope that helps someone else down the road.

-Mastro

 

Tags: , ,

Apple/Mac | Computers | Operating Systems

Debugging Timeout on Vista IIS7 with Visual Studio

by Fred Mastro 2. September 2008 01:42

Well I've had this problem awhile.. where if you move over to Vista and IIS 7 you'll notice that your Debug sessions timeout very quickly, 90 seconds to be exact.

It's very annoying.  I had once went through my app pool changing every time value I found to something higher just to fix it for the moment, which is a bad idea. I usually like to know why something happens and figure how to fix it properly.

So I came across a forum article on asp.net written by jshallard.

Here is the solution for fixing your Debugging Timeout Issue:
I went with the first option, I like to debug forever

In IIS 7 go to the Application Pools and select the Advanced Settings for the pool which you process runs in. In the Process Model section you can do one of two things;
    * Set the Ping Enabled property to False. This will stop IIS checking to see if the worker process is still running and keep your process alive permanently (or until you stop your debugged process)
    * If you prefer to allow IIS to continue the monitoring process then change the Ping Maximum Response Timeout value to something larger than 90 seconds (default value).

Tags: , , , , ,

Operating Systems | Troubleshooting | Visual Studio

Windows Live Messenger On Vista Error 81000306

by Fred Mastro 10. April 2008 01:40

 So when I'm at one location, say home, my Live Messenger connects fine. No problems what so ever. However, connecting from another location say the office, it doesn't connect. Or once in a blue moon it might make a connection that last a few minutes then gets booted.

Of course if you look up this error, you will get lots of posts on "make sure your connected to the Internet" or "it's your proxy settings", or a lot of other basic solutions to a more advanced problem.  Very frustrating, especially if you are more then an end user that knows and understands networking.

So after some research I found a post out there that had a suggestion that actually worked.

You basically need to disable AutoTuningLevel on your TCP connection.

This is the command to view the autotuninglevel
netsh int tcp show global

This is the command to disable it. disabled: Fix the receive window at its default value. This one worked for me, I've thought of using the restricted version but haven't had any problems yet.
netsh int tcp set global autotuninglevel=disabled


This is the command to return it to the default normal setting. normal:
Allow the receive window to grow to accomodate almost all scenarios.
netsh int tcp set global autotuninglevel=normal


This is the command to set it to restricted which is you get some benefit from autotuning. restricted: Allow the
receive window to grow beyond its default value, but limit such growth in some scenarios.
netsh int tcp set global autotuninglevel=restricted

After making this change I didn't need to reboot, but you may. I closed and re-opened MSN and it connected instantly. Hopes this helps someone else down the road.

Flash Player 9.0.115.0 on Vista Does Not Display Content

by Fred Mastro 8. February 2008 01:23

You may have noticed, if you're running Vista, that with the latest update to Flash Player 9.0.115.0, you no longer are seeing pages with Flash Content. You'll go to YouTube or GrandCentral.Com and notice that it tells you that you need the latest version of Flash.  You'll install it for the 50th time and still doesn't work.

Solution? You need an update to your Flash Player for Vista, which you can find located here, after you've installed the Flash Plug-in/Player.

Here are the steps I finally found from the Adobe site.

    Windows Vista installation failure

    On some Windows Vista systems Flash Player may be installed, but will not display Flash content. In some cases updating to the latest Flash Player using the included utility can correct the User Account Control settings that cause this problem.

    To run the utility, find your installed Flash folder:

  • Right-click C:\Windows\System32\Macromed\Flash\FlashUtil9d.exe

    The letter changes with each Flash version, so may be "FlashUtilb.exe" or "FlashUtile.exe"

  • Select "Run as Administrator"

  • Follow the steps to complete the Flash Player installation

  • Restart your computer

 

Now, this only worked on my Vista 32bt OS, doesn't work so good on my 64bit.  Upon running the utility it doesn't seem to complete. So I took they Flash folder from my 32bit and over wrote the Flash folder on my 64bit. Located at C:\Windows\SysWOW64\Macromed\Flash.

Seemed to fixed the problem after a reboot.

Tags: , , , , ,

Operating Systems | Troubleshooting

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About the author

A Certified MCSE (NT4 & 2k), MCDBA (2k), A+, CCA, with over 10 years of experience with Windows Networking and Development. Developing mainly in ASP.NET, VB.NET and T-SQL. Also develops in Objective-C (iPhone), XAML (SilverLight & WPF), C#, "Classic" ASP 3.0, ADSI,  VBscript, WScript.

Non-technical hobbies include other areas such as Movie watching (action, epic, comedy, some romantic comedy, well everything), Reading (Science Fiction, Fantasy, Detective and Programming categories), Film Editing, Directing with Special effects (using Adobe Premiere and Adobe After Effects), Dungeons & Dragons (D&D 4th Edition), Auto-Cross Racing & Cars (BMW M3, MazdaSpeed's), Motorcycles (Honda CBR 600), TV Shows (Flight of the Conchords, Lie To Me, DollhouseBattleStar Galatica, Smallville, Alias), Music (Akon, Billy Joel, Micheal Bublé, Bid Daddy Weave, T-Pain, Barlow Girl, Notorious B.I.G and more, love all types of music), and Religion (Christianity, debating and prophecies).


Web Tools - QuickLinks

Web tools I use more then others. Some of these are on my Link Collections page, but this made it easier for me to go to my site and click a tool.

  1. Telerik Code Converter (C# to VB/VB to C#)
  2. Lorem Ipsum - Dummy Text for Prototype Apps
  3. Web Color Values
  4. Open Source Icons

 

Highlights

  • Some websites I've worked on. This is a small collection of sites I've developed or added to awhile back.

  • Revenge Movie Trailer. Trailer I made with Adobe Premiere and After Effects. Jason Christman is the main star and I'm the director behind the camera.

  • Essential Software For your Mac. - I'm a Microsoft geek, but I've switched over to Mac. There was a lot of stuff I needed to get installed that I missed on my Windows machine. Also I had no idea how to do it :p Here's some help.

  • Speed Football. I wanted to make a special effect like the Smallville or Superman running fast. All the other ones I've seen, the person in the frame was the only moving object while everything else was blurred. I wanted to create the effect but interact with another normal moving object.
  •    
  • Code Snippets and Quickies. Sometims I find something or develop something that I think is useful and it can be copied and pasted anywhere for someone to use. Here's a collection of things I've posted on.
  • Books I've Read or Reading