Citrix XenApp

Your Journey towards cloud.

Virtualization Picking up Speed

Are your Skills keeping up? Skill up. Be Relevant

Are you a System Admin

Learn Citrix XenApp, Its future.

Citrix XenApp

Industry-leading virtualization platform for building cloud.

Cloud Computing in Demand

Learn how to build cloud on Citrix XenApp.

Saturday 30 June 2012

How to Air Print to ANY printer from your iPod, iPad or iPhone

Apple has introduced a ‘print’ button onto iPads, iPhones and iPods to allow you to print directly to a printer from your iOS device. Unfortunately  you need a special AirPrint enabled printer. Thankfully there is a free application called ‘AirPrint Activator’ that allows you to print to any printer, here’s where to get it and how to use it.
AIRPRINT
On your iPhone at the bottom of some apps is a ‘share’ button. If you click this button you get a menu of different ways to share the content, one of these options is ‘print’ as shown below.
Share Button


Print Button
When you press the ‘Print’ button you will be given an option to choose a printer, but unless you have a special AirPrint printer’ you will see no printers here at all.  (I have a Canon IR5000, a Canon inkjet, a Xerox and a HP and none of them are AirPrint!)
If you don't have an AirPrint printer there will be no printer here to select
AIRPRINT ON NON-AIRPRINT PRINTERS
If you want your non-airprint printer to appear then you can download the following free application called ‘AirPrint Activator’ from netputing.
Click here to go to the netting page to find the latest  AirPrint Activator.
Click here to download version 2  directly.
This will download a little application called ‘AirPrint Activator’. You may need to click on the ‘downloads’ button in Safari to find it.
Click on the 'Show Downloads' button to find it.
Now run airPrint Activator by  double clicking the AirPrint Activator application. You should get a window that looks like the one below. Press the slider to ‘Turn On’ AirPrint.
In order for a printer to appear in AirPrint Activator you need to give people permission to print to it by sharing it. To do this go to System Preferences (Under the Apple Menu on the top left of your screen) and then Click on ‘Print & Scan’.
To find printer sharing click on 'Print & Scan'

In printer sharing preferences you need to select your printer on the left and then click the ‘Share this Printer’ box.
The final step - turn on Printer Sharing

The Printer should now appear in your iPad or iPhone printing menu!

Turbocache in XP

First, install your video drivers. You've probably already done this, but if you want to make sure that you have something recent, do the following:
-Right-click your desktop and click Properties
-Go to the Settings tab
-Click the advanced button
-Go to the Adapter tab (note the Memory Size under Adapter Information)
-Click on Properties button
-Go to the Driver tab
-Check the Driver Date and Driver Version to see if it's at least November 2006 and/or 93.71
-Close the dialogs.
-If your version isn't up-to-date, then download and install the latest nVidia Driver.

Install Rivatuner
-Just download it from here: http://downloads.guru3d.com/download.php?det=163
-Run the installer



Hey, that was easy, right? Now comes the important part:
-Disable Turbocache
-Open Rivatuner
-Go to the Power Users tab
-Click on the Open Matched Database button. It's one of the little ones on the bottom.
-Find and expand the nVidia...System entry in the list
-Find RMDisableRenderToSysMem and set the value to 1
-Close Rivatuner
-Reboot the computer

Double-check to see that your card is "normal" and not using system memory anymore. Repeat the "Verify your driver" steps to view the properties of your video card and see if the memory listed is only what's onboard (up to step 4).

And that should be it! I noticed a performance gain on my system. Probably because it wasn't paging to the system memory. Probably just one less thing the CPU had to keep track of.

Friday 29 June 2012

iPhone Error 21 and Solution

iPhones can give you many errors. And, if you are downgrading your iPhone then you might have encountered Error 21. So, do you get this Error 21 frequently?
iPhone Error 21


If yes, then the problem is, instead of landing in Device Firmware Upgrade (DFU) mode you are ending up in Recovery mode.
Now, if you can get back to DFU mode that will solve your problem. Once the iPhone is in (DFU) mode, you can follow the following process to downgrade your iPhone.

Procedure

When the iPhone is in DFU mode, this mode will bypass the operating system that is currently installed. This process aids in downgrading or upgrading your Operating System in iPhone. Remember, DFU mode is different from the usual Recovery mode.
The difference between the two modes can be spotted below:
iPhone Error 21

Here, you can see there is no backlight and the screen is blank and black. This indicates that the phone is in DFU mode.
iPhone Error 21
In the figure below, you can see a cable connecting to iTunes icon on the screen. This indicates that the screen is in Recovery Mode.

If there is something on the screen, then that means you are not in the DFU mode.
You have a process that can load the iPhone in DFU mode. Check out that process here:
  • First, you need to plug in your iPhone to your Computer.
  • Now, turn your phone off.
  • Now, for the span of 10 seconds precisely, hold the Power and Home buttons together.
  • Now, continue holding the home button and release the power button.
  • This has to be done until you hear a beep sound from your Computer
  • Now you should see a blank screen sans any display. This indicates that you are in DFU mode.
  • Now your restore should work accurately.
If you are having trouble with the 10 seconds time frame, then try adjusting the time to fewer seconds as per your requirement.
So, next time if you have trouble with Error 21, then try restoring the iPhone with this process.

Thursday 28 June 2012

How To Reinstall Internet Explorer

1. Insert the Win XP CD

2.
Open Start / Run and type:



rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 c:\windows\inf\ie.inf

Press ENTER

Wednesday 27 June 2012

Speed up IE7 ( Internet Exlporer 7 )

Now there comes a time in a man life when you have to choose which browser you’re going to use. But for me I picked both, sometimes I want to see whats on the other side. Now Looking for tweaks For IE7 can be a little difficult because almost all articles about tweaking IE7 are all automated and you have to install a third party tweaking software which I don’t like. so what else could do, but to fire up my Registry Editor.
Now We can speed up IE7 page loading especially on multiple tabs and look for this key
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
“MaxConnectionsPerServer”=  Changedit to dword:00000010
“MaxConnectionsPer1_0Server”=Changed it to dword:0000010

Since I rarely use IE7… so Its a bit rusty when i opened it to try it for the first time.. but after closing and restart IE a noticed a difference and ohhh yeahh.. it’s goodboom you’re done.. Exit regedit restart your PC and enjoy the fast loading of pages.

Tuesday 26 June 2012

Windows uses 20% of your bandwidth Here's how to Get it back

A nice little tweak for XP. Microsoft reserve 20% of your available bandwidth for their own purposes (suspect for updates and interrogating your machine etc..)

Here's how to get it back:

Click Start-->Run-->type "gpedit.msc" without the "

This opens the  group policy  editor. Then go to:


Local Computer Policy-->Computer Configuration-->Administrative Templates-->Network-->QOS Packet Scheduler-->Limit Reservable Bandwidth


Double click on Limit Reservable bandwidth. It will say it is not configured, but the truth is under the 'Explain' tab :

"By default, the Packet Scheduler limits the system to 20 percent of the bandwidth of a connection, but you can use this setting to override the default."

So the trick is to ENABLE reservable bandwidth, then set it to ZERO.

This will allow the system to reserve nothing, rather than the default 20%.

I have tested on XP Pro, and 2000

Sunday 24 June 2012

How to create a disk image of a DVD or CD using the terminal


This is a little bit advanced, but useful.
1. Insert the DVD/CD into your drive.
2. Run the TERMINAL application (In your Appplications Utilities Folder)
You will get a little window with a prompt something this: Macintosh:~ wayne$
3.Type the following and then hit return:
drutil status
It will give you some info like this:
Vendor Product Rev
SONY DVD RW DW-U21A AADB
Type: DVD-R Name: /dev/disk2
Cur Write: 4x DVD Sessions: 1
Max Write: 4x DVD Tracks: 1
This is information about your DVD/CD drive and the important thing to notice is the name, it will be /dev/disk1 or /dev/disk2

4. If it is disk1 type this: (If the name is different (eg disk2) then just replace all the disk1 references with disk2.)
diskutil unmountDisk /dev/disk1
This will make the DVD icon disappear from the desktop.
5. Type the following:
dd if=/dev/disk1 of=~/Desktop/file.iso bs=2048
6. Wait about 10 or 20 minutes while it now makes an image of the CD/DVD onto your desktop.
When it’s finished it will give a message like this:
2170784+0 records in
2170784+0 records out
4445765632 bytes transferred in 1335.111379 secs (3329884 bytes/sec)
7. Type this to make the DVD reappear on the desktop and you are done:
diskutil mountDisk /dev/disk1

How to turn on automatic logon in Windows XP

Method 1:
You can use Registry Editor to add your log on information. To do this, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  3. Using your account name and password, double-click the DefaultUserName entry, type your user name, and then click OK.
  4. Double-click the DefaultPassword entry, type your password under the value data box, and then click OK.

    If there is no DefaultPassword value, create the value. To do this, follow these steps:
    1. In Registry Editor, click Edit, click New, and then click String Value.
    2. Type DefaultPassword as the value name, and then press ENTER.
    3. Double-click the newly created key, and then type your password in the Value Data box.
    Note: If the DefaultPassword registry entry does not exist, Windows XP automatically changes the value of the AutoAdminLogonregistry key from 1 (true) to 0 (false) to turn off the AutoAdminLogon feature after the computer is restarted.
  5. Double-click the AutoAdminLogon entry, type 1 in the Value Data box, and then click OK.

    If there is no AutoAdminLogon entry, create the entry. To do this, follow these steps:
    1. In Registry Editor, click Edit, click New, and then click String Value.
    2. Type AutoAdminLogon as the value name, and then press ENTER.
    3. Double-click the newly created key, and then type 1 in the Value Data box.
  6. Exit Registry Editor.
  7. Click Start, click Restart, and then click OK.
After your computer restarts and Windows XP starts, you can log on automatically.

If you want to bypass the automatic logon to log on as a different user, hold down the SHIFT key after you log off or after Windows XP restarts. Note that this procedure applies only to the first logon. To enforce this setting for future logoffs, the administrator must set the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon


Value:ForceAutoLogon
Type: REG_SZ
Data: 1

Method 2:

You can also turn on automatic logon without editing the registry in Windows XP Home Edition and in Windows XP Professional on a computer that is not joined to a domain. To do this, follow these steps:
  1. Click Start, and then click Run.
  2. In the Open box, type control userpasswords2, and then click OK.

    Note When users try to display help information in the User Accounts window in Windows XP Home Edition, the help information is not displayed. Additionally, users receive the following error message:
    Cannot find the Drive:\Windows\System32\users.hlp Help file. Check to see that the file exists on your hard disk drive. If it does not exist, you must reinstall it.
  3. Clear the "Users must enter a user name and password to use this computer" check box, and then click Apply.
  4. In the Automatically Log On window, type the password in the Password box, and then retype the password in the Confirm Password box.
  5. Click OK to close the Automatically Log On window, and then click OK to close the User Accounts window.

Friday 22 June 2012

How to connect your iPhone or iPod to your home stereo.


To connect your iPhone, iPad or iPod to your home stereo you just need a 3.5mm to RCA cable like this cable here. The RCA cable plugs into the rear of your stereo and the 3.5mm plugs into your iPhone headphone jack.
When plugging into the back of the Stereo Amplifier, you can use almost whatever inout you want: CD-INPUT, TAPE-IN, TV-IN, DVD-IN or the AUX-IN,  but do not use the PHONO-IN as it is designed specifically for a record player and won’t sound as good.
For the best results set your iPhone volume to about half. If it’s too quiet you may get noise and hiss. If it’s too loud you may get some distortion.
You can have the USB charger plugged into the iPod at the same time.
If you want you can use an Apple iPod dock, and leave the audio and charger cable plugged into the dock permanently. The dock has a line out so that it doesn’t matter what volume the iPod is set to, and it will also charge your iPod, and has a remote control.


If you are buying a new Stereo, Pioneer and others are now including AIRPLAY into some of their amplifiers. The amplifiers have a Wi-Fi receiver built in which means you can play from your iOS device over your Wi-Fi (Airport) network directly to your Stereo with no loss of quality. You don’t need to connect any cables.

Lock User Accounts After Too Many Login Failures

Add the following two lines highlighted in blue to the /etc/pam.d/system-auth file as shown below:
 
auth        required      /lib/security/$ISA/pam_env.so
auth required /lib/security/$ISA/pam_tally.so
                           onerr=fail no_magic_root
auth sufficient /lib/security/$ISA/pam_unix.so likeauth
                           nullok
auth required /lib/security/$ISA/pam_deny.so
account required /lib/security/$ISA/pam_unix.so
account required /lib/security/$ISA/pam_tally.so 
                           per_user deny=5 no_magic_root reset
account sufficient /lib/security/$ISA/pam_succeed_if.so uid
                           < 100 quiet
account required /lib/security/$ISA/pam_permit.so
password requisite /lib/security/$ISA/pam_cracklib.so retry=3
password sufficient /lib/security/$ISA/pam_unix.so nullok
                           use_authtok md5 shadow
password required /lib/security/$ISA/pam_deny.so
session required /lib/security/$ISA/pam_limits.so
session required /lib/security/$ISA/pam_unix.so


The first added line counts failed login and failed su attempts for each user. 
The default location for attempted accesses is recorded in /var/log/faillog.

Thursday 21 June 2012

Web Interface Logon process in Citrix

Web Interface(WI) logon process:

1. User enter URL of WI server and logs on.
2. Web Interface server contacts XML broker, xml broker authenticates user and returns application list
3. User clicks on application
4. Web Interface server contacts XML broker
5. XML broker contacts ZDC to find least loaded server,
6. ZDC returns IP of least loaded server to XML broker
7. XML broker returns IP address of least loaded server to Web Interface
8. Web Interface creates ICA file with IP of least loaded server and returns it to client
9. Browser launches ICA client and connects directly to server using ICA files sent from Web Interface

Tuesday 19 June 2012

Adding Second Farm to web Interface

Open the first farm and:

Open the Access Management Console at Web Interface Server,
click “Configuration Tool” 
-> “Web Interface” 
--> right click on the site you created 
and select “Manage Server Farm” 
-> Add second Farm

Monday 18 June 2012

Backup Access Data Store and Restore

While there is no built-in backup scheduler with Access, Presentation Server includes the DSMAINT BACKUPcommand for backing up Access Data Stores only. Citrix recommends that this command be executed daily using a scheduler script.
WARNING!
Do not attempt to backup Microsoft SQL Server or Oracle databases using this command.
MDB: A file with the MDB file extension is a Microsoft Access Database file.
Moving / Restoring an Access Database
Access to a valid backup or Copy of the Data Store is assumed before the following procedure is started.
Moving an Access Database
To move an Access database, complete the following procedure:

  1. Copy the Data Store file named “MF20.mdb” in the %system%\Program Files\Citrix\Independent Management Architecture\ folder from the source server to the target server, which will be the new Data Store host.
  2. On the new host server, create a new File DSN by using the Microsoft ODBC manager pointing to the Data Store, as shown in the following screen shots:




  1. Close the ODBC manager because you have created the required DSN file.
    The next task requires you to edit the registry settings.
    Caution
    ! This fix requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

  2. Run the Registry Editor and change the value of the following registry key from <blank> to ImaAccess.dll
    HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\IMA\DatabaseDriver

  3. Open a command prompt and run the following command to configure IMA and use the new DSN file.
    dsmaint config

  4. is a sample for your reference:
    dsmaint config
    /user:citrix /pwd:citrix /dsn:<full path to the newly created DSN file from Step 2>
    .
    Note: You can drag and drop the DSN file into the command prompt to avoid typing the wrong path.

  1. Run the following command from the command prompt to stop the IMA Service and recreate the Local Host:
    dsmaint recreatelhc

  2. On all the remaining servers in the farm, run the following command, where <DirectServername> is the name of the new host server.
    dsmaint failover <DirectServername>
Restoring an Access Database
It is assumed that the following tasks are completed before starting the procedure to restore an Access database:
  • You have rebuilt or reinstalled XenApp to recover from a failure.
  •  You have a working XenApp server up and running with IMA started.
  • You have access to a backup copy of the old Access Data Base (MF20.mdb) created by the DSMAINT BACKUP command or some other method.
To restore an Access database, complete the following procedure:

  1. Stop the IMA Service and copy the existing MF20.mdb file to a safe location.
    Note: You will be replacing this file with your backup MF20.mdb.

  2. Copy the Data Store file named “MF20.mdb” from the backup source to the target server and save it in the %system%\Program Files\Citrix\Independent Management Architecture\ folder.
    Note
    : The IMA Service must be stopped before starting the next task.

  3. Open a command prompt and run the dsmaint config command to configure IMA and use the existing MF20.dsn file.
    Following is a sample of the preceding command:
    dsmaint config /user:citrix /pwd:citrix /dsn:<full path to the .dsn file >.
Note: You can drag and drop the DSN file into the command prompt to avoid typing the wrong path.
     4.    Run the following command from the command prompt to recreate the Local Host cache and any other servers in the farm so they are aware of the new information:
            dsmaint recreatelhc
            Note: Do not forget to stop IMA before you run the preceding command.

3 Ways to Access Your Linux Partitions From Windows

image
If you’re dual-booting Windows and Linux, you’ll probably want to access files on your Linux system from Windows at some point. Linux has built-in support for Windows NTFS partitions, but Windows can’t read Linux partitions without third-party software.
This list is focused on applications that support the Ext4 file system, which most new Linux distributions use by default. These applications all support Ext2 and Ext3, too – and one of them even supports ReiserFS.

Ext2Fsd

Ext2Fsd is a Windows file system driver for the Ext2, Ext3, and Ext4 file systems. It allows Windows to read Linux file systems natively, providing access to the file system via a drive letter that any program can access.
You can have Ext2Fsd launch at every boot or only open it when you need it. While you can theoretically enable support for writing to Linux partitions, I haven’t tested this. I’d be worried about this option, myself – a lot can go wrong. Read-only support is fine, though, and doesn’t have a risk of messing
anything up.

The Ext2 Volume Manager application allows you to define mount points for your Linux partitions and change Ext2Fsd’s settings.
If you didn’t set Ext2Fsd to autostart at boot, you’ll have to go into Tools –> Service Management and start the Ext2Fsd service before you can access your Linux files. By default, the driver automatically mounts and assigns drive letters to your Linux partitions, so you don’t have to do anything extra.
You’ll find your Linux partitions mounted at their own drive letters in Windows Explorer. You can access the files on them from any application, without the hassle of copying files to your Windows partition before accessing them.
This partition’s file system as actually EXT4, but Ext2Fsd can read it fine, anyway. If you’re looking for your personal files, you’ll find them in your /home/NAME directory.

 

 

DiskInternals Linux Reader

Linux Reader is a freeware application from DiskInternals, developers of data recovery software. In addition to the Ext file systems, Linux Reader also supports ReiserFS and Apple’s HFS and HFS+ file systems. It’s read-only, so it can’t damage your Linux file system.
Linux Reader doesn’t provide access via a drive letter – it’s a separate application you launch to browse your Linux partitions.
Linux Reader shows previews of your files, making it easy to find the right one.
If you want to work with a file in Windows, you’ll have to save the file from your Linux partition to your Windows file system with the Save option. You can also save entire directories of files.

 

Ext2explore

It’s an open-source application that works similarly to DiskInternals Linux Reader — but only for Ext4, Ext3, and Ext2 partitions. It also lacks file previews, but it has one advantage: it doesn’t have to be installed; you can just download the .exe and run it.
The Ext2explore.exe program must be run as administrator or you’ll get an error – you can do this from the right-click menu.
To save some time in the future, go into the file’s properties window and enable the “Run this program as an administrator” option on the Compatibility tab.
As with Linux Reader, you’ll have to save a file or directory to your Windows system before you can open it in other programs.

Sunday 17 June 2012

3 Easy Ways to Connect to Windows Shared Folders from Linux

Connecting to file servers is something most people do on a daily basis even without thinking about it. In Linux, it may not be intuitive how to quickly connect to a samba or ftp server without a separate program. Here are a few different ways to connect to a remote file server without needing to touch a terminal.

Using Keyboard Shortcut

You can connect to a server by opening the run application window with the Alt+F2 keyboard shortcut. You will just need to specify the server type by adding the protocol at the beginning of the command. For example smb:// will connect to a samba share; other supported protocols are ssh, ftp, sftp, http, and https.
Note: In the example below my server name is playground and the shared folder is called music.
If your server requires a password to connect, fill out the next window that pops up and select how long you would like it to store your password.
A Nautilus window will automatically open with the server you just connected to, and you should have a shortcut under places on the left side and a shortcut on your desktop.

From GNOME Menu

If you are using Ubuntu, and many other GNOME based distributions, you will have a places menu on your top menu bar. Open that menu and click connect to server.
A new window will open up with a drop down so you can select what type of server you are connecting to.
For a samba/cifs server select Windows share and fill out the required information.
Note: Unlike the run application window, you do not need the slashes to connect here.
Alternatively, you can also get to the connect to server window from Nautilus’ file menu.

With a Shortcut

If you would like instant access to the connect to server window from your GNOME menu bar right click on the menu you would like to add the shortcut to and click add to panel.
In the window that pops up, search for “connect” and connect to server should be one of the results. Highlight the shortcut and click add at the bottom of the window.
Now you will have an additional shortcut on your GNOME bar for easy access.

Saturday 16 June 2012

Connect Your iPhone, iPod Touch, or Android Phone to a Wi-Fi Network

Have you ever wanted to connect your phone or mobile device to a Wi-Fi network at home or your favorite coffee shop but aren’t sure how? Today we’ll take a look at how to connect to Wi-Fi on an iPhone, iPod Touch, and Android devices.

iPhone / iPod Touch
Note: We are using version 4.0 of the iPhone OS
Find and select the Settings icon on your iPhone or iPod Touch.
IMG_0177
Select Wi-Fi from the Settings menu.
If your Wi-Fi setting currently set to Off, tap it to toggle On the Wi-Fi access.

Once your Wi-Fi is enabled you should see available networks appear below. Encrypted networks will show a padlock to the right of the name while “open” networks will not. Tap to select the network to join.
If you choose a network that requires a password, you’ll be prompted to enter it. Type in your password and select Join.

When connected, your network SSID will be indicated in blue with a check mark beside it.
To connect to a network with a hidden SSID, select Other.
You’ll need to know the SSID, Security type, and password. Enter that information and select Join.
  
Now you can browse to all your favorite websites and connect to other devices on your Wi-Fi network.




Android
Note: We are using Android 2.1 for our examples.
On your Android device, select the Settings icon.
 
Under Settings, choose Wireless & networks.
Next, select Wi-Fi settings.
If Wi-Fi is not already turned on, tap the check mark by Wi-Fi to turn it on. When Wi-Fi is enabled, available SSID’s will appear below. Encrypted networks will by indicated with a padlock icon. Select the network to which you’d like to connect.
If password protected, type in your password and select Connect.
You should now see that you are connected to the network.
To connect to a Wi-Fi network with a hidden SSID, select Add Wi-Fi network from the settings.
Then manually type in your SSID and password, and select your network security type. Select Save when finished.
 
Now you can browse the web through your Wi-Fi router or connect to other network devices.

 
Conclusion
Whether you want to connect to Wi-Fi to communicate to other devices or just save on your phone’s data usage, it’s pretty easy to do on your iPhone, iPod Touch, or Android phone.