Scenario Lets script a custom aws appstream image A customer wanted to setup AWS AppStream 2.0 Image Automation for their AppStream image creation especially as there were situations where two or more images were potentially required including monthly updates (minimum) so they needed a repeatable, consistent solution for this. Solution You can only automate […]
Here is a quick tip for App-V 5 local publishing of an App-V client package After packaging an application recently, we wanted to test it locally first before adding to the App-V shared content store, or distributing it via the App-V infrastructure mode servers etc. You may however come across some errors when trying to add and […]
Problem: We wanted to Autoformat Citrix PVS Write Cache Drive of the PVS D drive (writecache) for things like Citrix logs, edgesight database. Otherwise the servers boot up first time and complain they cant create or access the pagefile. Want the D Drive labelled with Server name so if ever they are moved or detached – […]
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
Screipt provided will change the password associated with the PDF Printer AMYUNI Documet Converter 400. This had to be automated as our PVS environment couldnt be updated everytime we wanted to change the devices password company wide. START SCRIPT—————————————————– Option Explicit ‘ This VB script can be used to configure the installed printer Dim PRINTER_NAME PRINTER_NAME = “PDFPRNxx” Dim […]
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 […]
Copy of script used to further ‘generalize’ our XenApp servers before cloning via PVS __ BEGIN SCRIPT ___ REM clear event logs wevtutil cl System wevtutil cl Security wevtutil cl Application wevtutil cl Setup wevtutil cl “Forwarded Events” REM Stop Edgesight and Delete database net stop RsCorSvc net stop FirebirdServerCSMInstance del “C:ProgramDataCitrixSystem MonitoringDataRSDATR.FDB” /q del […]