I want all PVS servers to dynamically display their environment on the desktop when a users logs into the desktop. This can be achieved by: 1) adding a new ‘personality’ variable to each device in PVS 2) scripting the import of the variables from the c:personality.ini file to the windows registry 3) setting BGINFO to […]
Ensure you run this on a XA box connected to the farm you want to interrogate and ensure that the XASDK6.5 from citrix is installed from HERE Run the following command from the XenApp SDK Powershell Prompt: Get-XAApplication | Format-Table -AutoSize -Property BrowserName | Out-File c:pubapps.txt
The following commands will recreate or open a ‘Printers’ folder rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL PrintersFolder %windir%explorer.exe /e,::{2227A280-3AEA-1069-A2DE-08002B30309D} control.exe printers This can be used to publish a printers folder via Citrix XenApp %windir%explorer.exe /e,::{2227A280-3AEA-1069-A2DE-08002B30309D
I hate the C:\Windows\WINSXS folder. The size it takes up is a complete joke even BEFORE apps or windows updates. These are some of the commands that I have found in the past (with varying success) to try and reduce the size of this rediculous folder. It is rare that I have run this on a production environment, but […]
Situation: we had recently repackaged a new verson of an applicaiton and though the ucn path had changed, the APP-V name was identical. Error: The Application Virtualization Client cannot use the OSD file specified because the GUID attribute for the CODEBASE element changed (rc 0C403B04-00001004). Solution: under sftcmc.msc the properties of the app showed the OSD file pointing to the previous […]
:TestAgain CLS IF NOT EXIST c:FOLDERALERT_* GOTO NOALERT “C:windowssndrec32.exe” /play /Close “C:WINDOWSMEDIAWindows Ringin.wav” REm Start /MIN “C:Program FilesWindows Media Playerwmplayer.exe” “C:WINDOWSMEDIAWindows Ringin.wav” REM “%SystemRoot%system32SoundRecorder.exe” /CLOSE /PLAY “C:WINDOWSMEDIAWindows Ringin.wav” PING 127.0.0.1 -n 5 -w 2000 >NUL Rem Taskkill /IM “WMplayer.exe” /F PING 127.0.0.1 -n 5 -w 2000 >NUL GOTO TestAgain :NOALERT PING 127.0.0.1 -n 5 -w 4000 >NUL […]
Problem: When selecting an EFI partition / volume in Microsoft windows diskpart and entering the DELETE command diskpart crashes. Solution: Use CLEAN instead of the DELETE command.
The netscalers are license by the FLEXnet host ID of the machine. To get this information from the device 1) SSH, putty or use the console of the netscaler device and login as the nsroot account 2) run the shell – command: shell 3) Run the FLEXnet host ID command – command: lmutil lmhostid -ether […]
Situation: USB Drive attached to the XenServer host, need to mount directly into a VM for removable usb drive access. Solution: Download the usbmount.bat from http://support.citrix.com/article/CTX118198 Edit the file with your xenserver details and your vm and usb uuid’s. HOW DO I FIND MY XENSERVER VM UUID? bring up a console session on the XenServer […]
bcdedit.exe /set nx OptIn = “Turn on DEP for essential Windows programs and services only” bcdedit.exe /set ns OptOut = “Turn on DEP for all programs and services except those I select” bcdedit.exe /enum = Query Settings bcdedit.exe /set nx AlwaysOff = “Disable DEP entirely” To disable DEP just to internet Explorer 8 – see this article […]