Go to folder ""\Program Files (x86)\Compaq\Hpacucli\Bin"
enter command "hpacucli.exe"
type in "controller all diag file=file.zip"
this will generate diagnostics.
****file.zip could be any file name you want.
Wednesday, May 23, 2012
Thursday, April 26, 2012
DISKPART: "DiskPart has encountered an error: The media is write protected."
I got this error from DiskPart when I entered the command "create partition primary".
The disk was set to read-only. To find out if the disk is read-only or not is to issue a command "detail disk". Look for Read-only : yes.
To clear the read-only, issue a command "attributes disk clear readonly"
You should be able to create a partition
I got this error from DiskPart when I entered the command "create partition primary".
The disk was set to read-only. To find out if the disk is read-only or not is to issue a command "detail disk". Look for Read-only : yes.
To clear the read-only, issue a command "attributes disk clear readonly"
You should be able to create a partition
Wednesday, April 25, 2012
XenDesktop: Deleting inactive task from Powershell
To list task
Open Powershell from Desktop Director
Type Get-Provtask
To delete inactive task
Type "get-provtask -active $false | remove-provtask -adminaddress "the name of the xendesktop controller""
note: If you have more than one controller, run this command again with the name of the other controller.
Open Powershell from Desktop Director
Type Get-Provtask
To delete inactive task
Type "get-provtask -active $false | remove-provtask -adminaddress "the name of the xendesktop controller""
note: If you have more than one controller, run this command again with the name of the other controller.
Uninstall HP NIC Utility on Windows Core
To uninstall HP Network Utility on Windows 2008 R2 Core:
netcfg –u "cq_cpqteam"
netcfg –u "cq_cpqteam"
Monday, February 6, 2012
Update Master Image on private mode
1) Open powershell from Desktop Director. Type dir


2) type "cd .\HostingUnits"
3) type dir
4)Look for "PSChildname" then type "cd .\TCI-Xen-Storage"
5)Type dir, look for the VM template you want to use for the update. E.g.
cd '.\Windows 7 x86 Template.vm'
6)Type "cd Windows 7 x86 Template.vm"
6) Type dir, take note of the "PSChildName". In our case it is original.snapshot.
7) Type "cd original.snapshot". and then type dir. Look for "PSChildname"
6) Type dir, take note of the "PSChildName". In our case it is original.snapshot.
7) Type "cd original.snapshot". and then type dir. Look for "PSChildname"
7) Type Get-ProvScheme, look for the catalog that needs to be updated. Take a note of the "ProvisioningSchemeName".

8) Now Type Publish-ProvMasterVMImage -ProvisioningSchemeName "IT Windows 7 x86_TCI-Xen-Storage" -MasterImageVM "XDHyp:\HostingUnits\TCI-Xen-Storage\Windows 7 x86 Template.vm\1252012.snapshot"
Where in my specific case:
"IT Windows 7 x86_TCI-Xen-Storage" = <ProvisioningSchemeName from last>
"XDHyp:\HostingUnits\TCI-Xen-Storage\Windows 7 x86 Template.vm\8242011.snapshot"= MasterImageVM
"IT Windows 7 x86_TCI-Xen-Storage" = <ProvisioningSchemeName from last>
"XDHyp:\HostingUnits\TCI-Xen-Storage\Windows 7 x86 Template.vm\8242011.snapshot"= MasterImageVM
Subscribe to:
Comments (Atom)






