Skip to main content

Posts

Showing posts from 2015

vCenter Converter Standalone for Virtual to Virtual Conversion

Let's say we want to resize the VMDK that is given to a virtual machine. By going into Edit Settings of the VM, we cannot decrease the disk size. Changing the value with Edit Settings of the VM holds good if you are trying to increase the Guest's Disk space. If we want to shrink the VMDK, then it is best we use vCenter Converter Standalone. VMware vCenter Converter Standalone is used if you want to perform a physical to virtual conversion or if you want to convert a Virtual machine to a Virtual machine. Another important feature of this is, if you want to migrate a VM From Oracle VM Manager to vCenter, Converter Standalone can get this job done. In this example here, I am using a 5.5 Update 3 vCenter with a 5.5 Update 3 ESXi host. The converter version used here is 6.0 and the guest OS to be converted is Windows 2008 R2. You need to check the release notes of the converter to make sure that the converter supports the Guest OS of the machine that is about to be converted. Re

Upgrading ESXi Host Via Update Manager

If you have  Update Manager  (VUM), you can upgrade/patch your ESXi host using it. For GUI lovers, VUM seems to be an easy way out.  My ESXi host is Currently 5.5 Build 1331820. This Build corresponds to 5.5 GA. You can find out about VMware Build numbers from this  link .  Step 1: Select the host and click Update Manager tab. Under the baseline section notice that I do not have anything. Click the  Admin View  option. Step 2: Click  ESXi Images  and select  Import ESXi Image . Step 3: Browse to the Datastore and Upload the file and click  Next .  The ESXi image upload will take a quick minute or two.  Once the upload is done, click Next and Provide a  Baseline Name  for this ESXi ISO that was uploaded. Here, the baseline name given is Host_Upgrade. Click  Finish Step 4: Go back to  Compliance View . Right Click the ESXi host and Select  Enter Maintenance Mode . Once the host enters maintenance mode, click  Attach 

Useful AD commands in View

Command 101 : We have option to Add AD group in view pool entitlement. we can't export user details in group as we do in view manager. if required any details like user count or user name details, need to open AD user and computer and search manually whenever required. As a best practice always keep this details handy. i have tried out one simple command to import all  user in group to csv file. Command Get-ADGroupMember -identity “<AD-group>” | select name | Export-csv -path e:\Myfile\<filename>.csv Note : Make sure you don't keep any space in destination path folder Example import-module activedirectory Get-ADGroupMember -identity “VDI-DD-STD1” | select name | Export-csv -path e:\Myfile\groupcount.csv

Network Check Before VDI Implemention on Branches

Check you able to ping VDI Server from client device Ping myvdiserver. you need to ping VDI connection server IP. once you able to communicate vdi server check how good communication between client Desktop to VDI Server Try this batch script ========================================================== @echo off set /p host=VDI Server URL: set logfile=Log_%host%.log echo Target Host = %host% >%logfile% for /f "tokens=*" %%A in ('ping %host% -n 1 ') do (echo %%A>>%logfile% && GOTO Ping) :Ping for /f "tokens=* skip=2" %%A in ('ping %host% -n 1 ') do (     echo %date% %time:~0,2%:%time:~3,2%:%time:~6,2% %%A>>%logfile%     echo %date% %time:~0,2%:%time:~3,2%:%time:~6,2% %%A     timeout 1 >NUL     GOTO Ping) ========================================================= Create batch file and run it. you will see command prompt open as shown below. Enter Connection server IP or FQDN and Enter It wi

Windows Command Line

Runas is a very useful command on Windows OS. This command enables one to run a command in the context of another user account. Run a program from another user account The command to launch a program using another user credentials is given below. runas /user:domainname\username program For example, if you want to open registry editor as administrator of the computer, the command would be as below. runas /user:administrator regedit After running the above command, you will be asked to enter the password of administrator account. After password validation, registry editor will be opened with the administrator account credentials. To specify arguments to the program If you need to provide arguments to the program that need to be invoked as another user, you can put the program name and the parameters in double quotes. runas /user:username "program argument1 argument2 ..." For example to open the file C:\boot.ini as administrator, the command would be: runa

How to enable .NET Framework 3.5 on Windows 8 or 2012

Install the .NET Framework 3.5 on Demand If an app requires the .NET Framework 3.5, but doesn't find that version enabled on your computer, it displays the following message box, either during installation, or when you run the app for the first time. In the message box, choose Install this feature to enable the .NET Framework 3.5. This option requires an Internet connection. Enable the .NET Framework 3.5 in Control Panel You can enable the .NET Framework 3.5 yourself through Control Panel. This option requires an Internet connection. Press the Windows key Windows logo on your keyboard, type Windows Features, and press Enter. This brings up the Turn Windows features on or off dialog box. Alternately, open Control Panel, click on the Programs items, and then click on “Turn Windows features on or off” under Programs and Features. Select the .NET Framework 3.5 (includes .NET 2.0 and 3.0) check box, press OK, and reboot your computer if prompted. Step 1  : Go to Setting

VMware UEM management

VMware UEM series: Management console and setup VMware acquired Immidio a while back and transformed it into VMware UEM. In this blog series I will show you how to setup VMware UEM, what the requirements are. The next blog article will discuss the installation of the agent in th VDI desktop and the configuration of the group policy. The last blog will discuss benefits of using an UEM solution instead of standard Microsoft tooling. So enough about what is coming let's take a look at VMware UEM. What is UEM? UEM stands for User Environment Management, in normal words managing everything regarding the user. So everything that lives in the HKCU and AppData world is managed by a UEM solution. It takes away the need to use roaming or mandatory profile and therefore eliminates all issues users have experienced during the years. With UEM you now have complete control of the users environment, to your and their benefit. Requirements The great thing about VMware UEM is that there a

Data Copy(EUC user Data)

Robocopy can be used for Data migration   Robocopy (Robust File Copy) is a command-line file copy utility that comes with Windows Vista / Windows 2008 or newer. Until Vista, Robocopy was a part of  Windows Resource Kit Tools as a free download (http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en This link is external to TechNet Wiki. It will open in a new window. ). Unlike normal copy commands, Robocopy is designed for reliable copy or mirroring while maintaining the permissions, attributes, owner information, timestamps and properties of the objects copied.          ============================================================ robocopy "F:\Folder1\FOLDER2" "\\fileshare\myfile\Charvo" /MIR /SEC /secfix /R:5 /W:5         ============================================================ Robocopy syntax ROBOCOPY source destination [file [file]...] [options] source Source Directory (drive:\pa