Tuesday, August 31, 2010

CTX: Unable to save the target. Compacting target files into a container file failed.

When we are going to build the Profile on the Citrix Streaming Profiler, we receive the error: Unable to save the target. Compacting target files into a container file failed.

To fix this issue,we need to reset the permissions of all files inside the profile, using the following process:

• Open the Windows Explorer, select the CtxPackager folder.
• Right click over this folder and select Properties.
• Click on Security tab and then in Advanced button.
• Click on the Owner tab, then in the Edit button.
• Enable the Replace owner on subcontainers and objects checkbox.

Wednesday, August 25, 2010

MS: Enable Aero on Windows Server 2008 R2

How to Enable Aero on Microsoft Windows Server 2008 R2

1) Install latest Video Drivers for your machine. If your manufacturer doesn’t provide a Windows 2008 x64 ones, use Windows 7 x64 drivers. Aero doesn’t work with Standard Video driver provided by Microsoft.

2) Install Desktop Experience feature: Control Panel -> Programs -> Turn Windows features on or off -> Features -> Add Features -> Desktop Experience and reboot machine

3) Enable Themes service: set Themes service to Automatic startup and start service.

4) Adjust Windows for best appearance: Control Panel -> System and Security -> System -> Advanced system settings -> Performance -> Settings -> Visual Effects -> Adjust for best appearance
5) Set Aero theme: Control Panel -> Appearance and Personalization -> Change Theme -> choose Windows 7 Aero Theme.

Create a mobile Hyper-V R2 server on a laptop

How to Create a mobile Hyper-V R2 server on a laptop.

My consulting job requires test lots of applications or builds demos or servers to study new certifications. I download and tested the 30 days VMware Workstation on a Windows 7 Enterprise and then I installed a Windows Server 2008 R2 with Hyper-V R2 in a second partition and compared run both environments for a few days in my old Dell laptop. The winner was Hyper-V.

I found the CPU is the real problem when you run multiples VMs in my old laptop and not the memory, so at least a Quad Core with HT is a required.

The next step was to choose a laptop to run it.

I review dozens and dozens of laptops with a price tag between $1000 to $1500.

I was looking for several features:

- Intel Core i7 Quad Core CPU (720QM or up)
- The machine will support 8GB or more of memory (2 or 4 slots)
- Screen resolution of 1600 x 900 or similar. 15” or 17”
- Will be nice to have 2 hard drives
- 9 cell batteries

Last runners:

- HP Pavilion dv7-4080us $1199 – i7 720QM with 6GB (8GB Max), 1TB (2x500 GB HDD 7200rpm), 17” (1600x900), 9 cell battery, Blu-ray device
- HP ENVY 17-1011NR $1599 - i7 720QM with 8GB (8GB Max), 640GB (2x320GB HDD 7200rpm), 17” (1600x900), 9 cell battery, Blu-ray device
- Acer Aspire AS7745G-6572 $999, i7 720QM with 4GB (16GB Max) 500GB HDD 5400rpm , 17” (1600x900), 6 cell battery, DVD
- Lenovo IdeaPad Y560 $999, i7 720QM with 8GB (8GB Max), 500GB HDD (7200RPM), 15.6” (1366x768), 6 cell Battery, DVD
- Dell Studio 15, $1200, i7 720QM with 8GB (8GB Max), 500GB HDD (7200RPM), 15.6” (1920x1080), 6 cell Battery, DVD

And the winner is HP Pavilion dv7-4080us!

I love this machine. It arrived with Win7 Ultimate and I formatted the hard drive and installed Windows 7 Enterprise and Windows Server 2008 R2 with Hyper-V R2.

Below is a screenshot of current state of my machine:

You can see 6 VMs running on it and I have the CPU at 0% and 4GB of RAM used (I have 2 extra GB of RAM available and can replace the 2GB memory module for 4GB for around $100).

VMs running are:

  • BrickDB01 - Windows 2008 R2 and SQL 2008 R2 DB Citrix Datastore
  • BrickDC01 - Windows 2008 R2 Domain Controller
  • BrickProfiler - Windows 7 Enterprise to profile Citrix Streamed applications
  • BrickXA01 - Windows 2008 R2 and Citrix XenApp 6 server
  • BrickXA02 - Windows 2008 R2 and Citrix XenApp 6 server
  • CONVERG - Windows 7 Enterprise with Office 2010 machin

The only thing I don't like about this machine is the touchpad (you can disable it) and this machine doesn’t include a TPM chip.

Tuesday, August 24, 2010

MS: Enable Network Discovery on Windows 2008

In order to enable the Network Discovery settings, you may make sure the following services are enabled and running.

  • DNS Client
  • Function Discovery Resource Publication
  • SSDP Discovery
  • UPnP Device Host

MS: Change Network Location on Windows 2008

The network location description is stored in the following registry value:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles\{}

The value of Category is set as follows;

Public = 0
Home = 1
Work = 2

Thursday, August 05, 2010

MS: Windows 7 move pagefile error

When you move a Windows 7 the pagefile.sys file to another hard drive and restart you computer you receive following error:

Windows created a temporary paging file on your computer because of a problem that occurred with your paging file configuration when you started your computer. The total paging file size for all disk drives may be somewhat larger than the size you specified.

Try to increase the size of the pagefile. For example if you have 4GB of RAM. Set pagefile to 4096MB minimum and 8192 MB as maximum.

Tuesday, August 03, 2010

CtxAdmTools: Remote Service Manager v1.1 released!

Remote Service Manager is new FREE tool to manage specific Windows services on remote servers.
We can load a list of specific servers and services from text files.

We can start, stop, restart, pause, resume services, set startup mode to automatic, disabled or manual on remote servers.

More info at http://ctxadmtools.musumeci.com.ar/RemoteServicesManager

Sunday, August 01, 2010

CtxAdmTools: Filter Events v1.0 Released!

Currently I’m working in a client and I need to analyze more than 110,000 logs entries in the security log of Windows Server 2003 with specific words and export the results to a file, I found both filter and find on Event Viewer pretty bad options so last night I created a tool to filter events called Filter Events.

The tool read first 100 events (we can change this limit running filterevents /setup-events) and we can move between these log entries using buttons on right.

We can enter a text string to search inside log message description using text box called Filter Events Containing. The search option will display first 100 events (or any value specified using /setup-events) or less. The search function will scan first 5,000 events by default (we can change this limit running filterevents /setup-max).

We can use the Copy Event to Log button to copy specific event to Event Log and using the Save Report button to export file to .rtf file for further analysis.

The tool is available for download at http://ctxadmtools.musumeci.com.ar/FilterEvents