Friday, November 14, 2014

Resize Citrix PVS vDisk

First, if you have sub versions of the PVS disk, merge it to a new base and then rename the new vhd, pvp and lok file. Delete the merged version from the PVS console.
  • Make a copy of the original vDisk (.vhd)
  • Open the command prompt (or powershell) and entered Diskpart 
  • At the Diskpart prompt enter Select vDisk file=<Full path to the vhd>
  • List vDisk 
  • expand vDisk maximum=61440 (in Mb)
  • attach vDisk
  • list Disk
  • list volume (note the number of the vDisk you want to resize)
  • Select volume 4 (number noted in previous setp)
  • extend 
  • List volume
  • detach vDisk 
  • exit
Once complete you can import the vDisk into PVS and assign it to the required devices.
Read More ->>

Thursday, October 30, 2014

Licensing Server in XenMobile 9.0 with *.CRT License

From: http://monsterbean.com/2014/07/29/licensing-server-in-xenmobile-9-0-with-crt-license

I had a Citrix Partner License (*.crt) for XenMobile 8.7, but it seem like XenMobile 9.0 is installed with Licensing Server, and it need *.lic file for activation. Since I do not have the *.lic file, thus I’m explore the possibility of using back my *.crt file for XenMobile 9.0
Please refer to the following Step configured in my lab for more information

Login to Citrix Licensing Server installed during XenMobile 9.0 via http://HOSTNAME:8082

Enter Domain Administrator’s Username & Password to login



Read More ->>

Friday, September 12, 2014

XenApp Error: Google Chrome Becomes Unresponsive when Started as Published Application

XenApp Error: Google Chrome Becomes Unresponsive when Started as Published Application



You can also still get this issue when other published Citrix applications are opening Google Chrome through a href link (i.e. a link in an Outlook e-mail).

If so allow other applications to launch Chrome with the switch enabled updating the following registry key:

HKCR\ChromeHTML\shell\open\command\default
Read More ->>

Wednesday, September 3, 2014

Zero install ‘Receiver for HTML5 1.3’

Zero install ‘Receiver for HTML5 1.3’
Read More ->>

NetScaler - how to configure DNS with TCP

Some clients use the User Datagram Protocol (UDP) for DNS communications. However, UDP specifies a maximum packet size of 512 bytes. When payload lengths exceed 512 bytes, the client must use the Transmission Control Protocol (TCP). When a client sends the Citrix® NetScaler® appliance a DNS query, the appliance forwards the query to one of the name servers. If the response is too large for a UDP packet, the name server sets the truncation bit in its response to the NetScaler. The truncation bit indicates that the response is too large for UDP and that the client must send the query over a TCP connection. The NetScaler relays the response to the client with the truncation bit intact and waits for the client to initiate a TCP connection with the IP address of the DNS load balancing virtual server, on port 53. The client sends the request over a TCP connection. The NetScaler appliance then forwards the request to the name server and relays the response to the client.
To configure the NetScaler to use the TCP protocol for DNS, you must configure a load balancing virtual server and services, both of type DNS_TCP. You can configure monitors of type DNS_TCP to check the state of the services.
For updating the records proactively, the NetScaler uses a TCP connection to the server to retrieve the records.
Important: To configure the NetScaler to use UDP for DNS and use TCP only when the payload length of UDP exceeds 512 bytes, you need to configure DNS and DNS_TCP services. The IP address of the DNS_TCP service must be same as that of the DNS service.
Read More ->>

Saturday, July 12, 2014

How to convert a private key into a RSA private key

Newer versions of OpenSSL say BEGIN PRIVATE KEY because they contain the private key + an OID that identifies the key type. To get the old style key you can do this:
openssl rsa -in server.key -out server_new.key
Read More ->>

Thursday, July 10, 2014

Creating a wildcard webserver certificate with your internal Microsoft CA

It is sometimes necessary to issue a wildcard certificate from your internal Microsoft CA, I had such a requirement this week and thought it would make a nice blog post.
The post assumes you have a Enterprise CA already deployed and a web server template deployed and available for enrolment.
First we need to create the certificate request that will be issued to your CA.
1. Logon to a Windows 2008 R2 or Windows 7 domain member
2. Open the certificates MMC snap-in

image

Read More ->>

Thursday, May 22, 2014

Locate the Enterprise CA (Certificate Authority) Server in the AD Domain

You can check this by Running  the following command from a CMD prompt: "certutil -config - -ping" it will prompt you with all the CA  available in the organization.
Read More ->>

Wednesday, May 21, 2014

Why does connecting to my work VPN cause my internet to not work?

What you are looking to do is called split tunneling. If you are using a Microsoft PPTP VPN, you need to uncheck "Use default gateway on remote network" in the TCP/IPv4 advanced settings for the VPN connection.
If you are using another VPN client, you need to look for something related to split tunneling in the VPN client's documentations. Please note that some VPN's allow the administrator to disable split tunneling.

enter image description here
Read More ->>

Monday, April 14, 2014

Creating "Wildcard" Certificate Requests for IIS

If you don’t have an enterprise CA, please don’t search for the “webserver” templates info. It does not help even if it is there.Creating a custom request is fine. Just make sure that you save it to a file at the end. -> This is the PKCS#10 CSR you need to take to the external CA.
1)      In the MMC, go to the “Personal” folder. Right click, chose all tasks-> Advanced Operations->Custom Request.
a.       Hit “next”
b.      Choose “((no template) Legacy Key” as template
c.       Request Format = PKCS #10 is default and OK.
d.      Hit “next”
e.      Click on “Details” to get  the “Properties button to show and hit that.
f.        Please go over the tabs right to left. This will ensure that you 1st take care of the important functional items before coming to your customizations.

Read More ->>

Friday, April 11, 2014

OVO Agent Error (depl-428) The service did not start due to a logon failure. This error occurs if the service is configured to run under an account that does not have the "Log on as a service" right.

Remote Agent Installation on Windows 2k8 from OMW server.

 However when attempting to install the agent I get the following error:

(depl-448) Cannot start OvDeplSvc service
(depl-428) The service did not start due to a logon failure. This error occurs if the service is configured to run under an account that does not have the "Log on as a service" right.


Locally on the managed server with Admin rights:


Start ---Run

secpol.msc

It will open the window: Local Security Policy

Go under Local Policies--> User Rights Assignments then on the right part of the windows click on Log on as a service.

It will open a windows and then click on Add user or Group and add the OVO Agent User.




Read More ->>

Thursday, April 3, 2014

How to use powershell command from vbs script


Edit in MyVBSScript:

Set objShell = CreateObject("Wscript.shell")
objShell.run("powershell -file C:\Users\bla_bla\Documents\powershell.ps1")


Where in powershell.ps1 file this is an example of what it can contain:

$s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://nameserver.domain/PowerShell/ -Authentication Kerberos
Import-PSSession $s

Get-MailboxDatabase gb* -Status | select name,mounted > C:\Users\bla_bla\Documents\command.txt

Remove-PSSession $s (this is important for close powershell sessions)



Powershell script to monitor Backup Processes and then send the alert to OVO Manager:


 $processes= Get-Process Ese_bar,mbx_bar,E2010_bar

 $processes > C:\Users\bla_bla\Documents\out_processes.txt
 $processes

 $m= $processes| measure
 $m
 $a=$m.count
 $a

 if ($a -eq 0) {$OVOMSG = "There are $a backup processes and DB is in False status"
& 'C:\Program Files\HP\HP BTO Software\bin\win64\opcmsg.exe' --ArgumentList "a=MSExchange" "o=Database" "msg_t=$OVOMSG" "s=critical" "msg_grp=E-mail"}
 
   else {$OVOMSG = "There are $a backup processes $processes and DB is in False status"
& 'C:\Program Files\HP\HP BTO Software\bin\win64\opcmsg.exe' --ArgumentList "a=MSExchange" "o=Database" "msg_t=$OVOMSG" "s=major" "msg_grp=E-mail"}
Read More ->>

Thursday, March 20, 2014

Disable SMS Syncing on Outlook

On the phone, go into the email app
  1. Push the menu soft key.
  2. Select "settings".
  3. Select your email address. DO NOT tap "General preferences", tap your actual email address.
  4. Scroll to the bottom and uncheck Sync SMS
OR:
  1. Go to Settings
  2. Select "Microsof Exchange ActiveSync" in Accounts group
  3. Select the "Settings" under Common settings group
  4. Select your email address. Do NOT tap "General preferences", tap your actual email address.
  5. Scroll down to the last choice: "Sync SMS", under Server settings group and uncheck it
Read More ->>