Hi All, We've found that if you're not using Metaprofiles in your environment, you can save a fair few seconds off of your login time by not installing the User Profiles part of PNTools into your master image. We did this here and it made a big difference. Thanks, Andrew 
Hi, I'am experiencing a slow logon process caused bij pnshell when I logon to a VDI. The versions that I'm using are: I've generated a logfile, see below. What can be the cause and what is the solution?  10-Oct-2014 10:49:55 - 4884 : 1116 - !===========================================================!10-Oct-2014 10:49:55 - 4884 : 1116 - PnShell Log10-Oct-2014 10:49:55 - 3408 : 1804 - !===========================================================!10-Oct-2014 10:49:55 - 4884 : 1116 - User: [VDI-CL-TEST002\Administrator]10-Oct-2014 10:49:55 - 3408 : 1804 - PnShell Log10-Oct-2014 10:49:55 - 4884 : 1116 - Operating System Version: [6.2.9200]10-Oct-2014 10:49:55 - 3408 : 1804 - User: [mydomain\VDI-CL-TEST002$]10-Oct-2014 10:49:55 - 4884 : 1116 - Machine Name: [VDI-CL-TEST002.mydomain.local]10-Oct-2014 10:49:55 - 3408 : 1804 - Operating System Version: [6.2.9200]10-Oct-2014 10:49:55 - 4884 : 1116 - PnShell Version: [8.0.306.1427]10-Oct-2014 10:49:55 - 3408 : 1804 - Machine Name: [VDI-CL-TEST002.mydomain.local]10-Oct-2014 10:49:55 - 4884 : 1116 - Parent Process: [winlogon.exe]10-Oct-2014 10:49:55 - 3408 : 1804 - PnShell Version: [8.0.306.1427]10-Oct-2014 10:49:55 - 4884 : 1116 - !===========================================================!10-Oct-2014 10:49:55 - 3408 : 1804 - Parent Process: [pnsenapp.exe]10-Oct-2014 10:49:55 - 4884 : 1116 - PNShell.cpp - Not running as [SYSTEM] user. Running as [Administrator]10-Oct-2014 10:49:55 - 3408 : 1804 - !===========================================================!10-Oct-2014 10:49:55 - 4884 : 1116 - CShellConfigFile - ERROR: Could not open xml file! Xml file name: C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml10-Oct-2014 10:49:55 - 3408 : 1804 - PNShell.cpp - We are running as the SYSTEM user.10-Oct-2014 10:49:55 - 4884 : 1116 - PNShell.cpp - XML file was empty10-Oct-2014 10:49:55 - 3408 : 1804 - CShellConfigFile - ERROR: Could not open xml file! Xml file name: C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml10-Oct-2014 10:49:55 - 4884 : 1116 - PNShell - Successfully created event [PNSHELL_USERINIT_2]10-Oct-2014 10:49:55 - 3408 : 1804 - PNShell - Successfully opened event [PNSHELL_USERINIT_2]10-Oct-2014 10:49:55 - 4884 : 1116 - PNShell - Waiting on event [PNSHELL_USERINIT_2]10-Oct-2014 10:49:55 - 3408 : 1804 - PNShell - Setting event [PNSHELL_USERINIT_2]10-Oct-2014 10:49:55 - 4884 : 1116 - PNShell - Successfully created event [PNSHELL_COMPLETE_2]10-Oct-2014 10:49:55 - 3408 : 4916 - CShellConfigFile - ERROR: Could not open xml file! Xml file name: C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old.10-Oct-2014 10:49:55 - 4884 : 1116 - PNShell - Waiting on event [PNSHELL_COMPLETE_2]10-Oct-2014 10:49:55 - 3408 : 4916 - PNShell.cpp - Reading contents of shell configuration file.10-Oct-2014 10:49:55 - 3408 : 4916 - CShellConfigFile - ERROR: Could not open xml file! Xml file name: C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml10-Oct-2014 10:49:55 - 3408 : 4916 - PNShell - Successfully opened event [PNSHELL_COMPLETE_2]10-Oct-2014 10:49:55 - 3408 : 4916 - PNShell - Setting event [PNSHELL_COMPLETE_2]10-Oct-2014 10:49:55 - 3408 : 4916 - PNShell - Successfully created event [PNSHELL_SESSION_COMPLETE_2]10-Oct-2014 10:49:55 - 4884 : 1116 - Running USERINIT.EXE.10-Oct-2014 10:49:55 - 3408 : 4916 - PNShell - Waiting on event [PNSHELL_SESSION_COMPLETE_2]10-Oct-2014 10:49:55 - 4884 : 1116 - Launching [C:\WINDOWS\system32\USERINIT.EXE] as current user.10-Oct-2014 10:50:11 - 4884 : 1116 - PNShell - ERROR: Failed to copy "C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml" to "C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.cleanshorts", error code = (3)10-Oct-2014 10:50:11 - 4884 : 1116 - PNShell - ERROR: Failed to copy "C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old." to "C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old..cleanshorts", error code = (3)10-Oct-2014 10:50:11 - 4884 : 1116 - PNShell - ERROR: Failed to copy "C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml" to "C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.netdrive", error code = (3)10-Oct-2014 10:50:11 - 4884 : 1116 - PNShell - ERROR: Failed to copy "C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old." to "C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old..netdrive", error code = (3)10-Oct-2014 10:50:11 - 4884 : 1116 - PNShell - ERROR: Failed to copy "C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml" to "C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.netprint", error code = (3)10-Oct-2014 10:50:11 - 4668 : 4180 - Evaluating command line arguments.10-Oct-2014 10:50:11 - 4460 : 4440 - Evaluating command line arguments.10-Oct-2014 10:50:11 - 4884 : 1116 - PNShell - ERROR: Failed to copy "C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old." to "C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old..netprint", error code = (3)10-Oct-2014 10:50:11 - 4668 : 4180 - PNShell - ParseCommandLineArgs2, args = ["/netdrive,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.netdrive,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old..netdrive"]10-Oct-2014 10:50:11 - 4460 : 4440 - PNShell - ParseCommandLineArgs2, args = ["/cleanshorts,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.cleanshorts,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old..cleanshorts"]10-Oct-2014 10:50:11 - 3408 : 1804 - WM_SETTINGCHANGE10-Oct-2014 10:50:11 - 4884 : 1116 - PNShell - Successfully opened event [PNSHELL_SESSION_COMPLETE_2]10-Oct-2014 10:50:11 - 4668 : 4180 - PNShell - ParseCommandLineArgs2, argv[0] = [/netdrive,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.netdrive,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old..netdrive]10-Oct-2014 10:50:11 - 4464 : 4728 - Evaluating command line arguments.10-Oct-2014 10:50:11 - 4460 : 4440 - PNShell - ParseCommandLineArgs2, argv[0] = [/cleanshorts,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.cleanshorts,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old..cleanshorts]10-Oct-2014 10:50:11 - 4884 : 1116 - PNShell - Setting event [PNSHELL_SESSION_COMPLETE_2]10-Oct-2014 10:50:11 - 4668 : 4180 - PNShell - Evaluating command line argument [/netdrive,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.netdrive,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old..netdrive]10-Oct-2014 10:50:11 - 4464 : 4728 - PNShell - ParseCommandLineArgs2, args = ["/netprint,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.netprint,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old..netprint"]10-Oct-2014 10:50:11 - 4460 : 4440 - PNShell - Evaluating command line argument [/cleanshorts,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.cleanshorts,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old..cleanshorts]10-Oct-2014 10:50:11 - 3408 : 4916 - Failed to rename file [C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml] to [C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old.]. Error code [3]10-Oct-2014 10:50:11 - 4668 : 4180 - CShellConfigFile - ERROR: Could not open xml file! Xml file name: C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.netdrive10-Oct-2014 10:50:11 - 4464 : 4728 - PNShell - ParseCommandLineArgs2, argv[0] = [/netprint,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.netprint,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old..netprint]10-Oct-2014 10:50:11 - 4460 : 4440 - CRegistryPerformer - Failed to query string value: Failed to open the "Software\Provision Networks\Manage-IT" key under HKCU: Het systeem kan het opgegeven bestand niet vinden.10-Oct-2014 10:50:11 - 4668 : 4180 - NetworkDriveOperator.cpp - Unable to locate PNShell configuration file. Cannot configure network drives.10-Oct-2014 10:50:11 - 4464 : 4728 - PNShell - Evaluating command line argument [/netprint,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.netprint,C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old..netprint]10-Oct-2014 10:50:11 - 4460 : 4440 - CShortcutCleaner - Setting last run time to [Fri Oct 10 10:50:11 2014]10-Oct-2014 10:50:11 - 4464 : 4728 - NetworkPrinterOperator - Disconnecting existing printer connections.10-Oct-2014 10:50:11 - 4460 : 4440 - Error opening registry key [Software\Provision Networks]10-Oct-2014 10:50:11 - 4464 : 4728 - CShellConfigFile - ERROR: Could not open xml file! Xml file name: C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.old..netprint10-Oct-2014 10:50:11 - 4460 : 4440 - CRegistryPerformer - Failed to write string value: Failed to open the "Software\Provision Networks\Manage-IT" key under HKCU: Het systeem kan het opgegeven bestand niet vinden.10-Oct-2014 10:50:11 - 4464 : 4728 - NetworkPrinterOperator.cpp - Unable to locate PNShell configuration file. Cannot configure network printers.10-Oct-2014 10:50:11 - 4460 : 4440 - CShortcutCleaner - Cleaning shortcuts created during first time login.10-Oct-2014 10:50:11 - 4464 : 4728 - NetworkPrinterOperator - Connecting new printer connections.10-Oct-2014 10:50:11 - 4460 : 4440 - CRegistryPerformer - Failed to delete value: Failed to delete the PnShell_Shortcuts value: Het systeem kan het opgegeven bestand niet vinden.10-Oct-2014 10:50:11 - 4464 : 4728 - CShellConfigFile - ERROR: Could not open xml file! Xml file name: C:\ProgramData\Quest Software\vWorkspace\ShellResources.xml.netprint10-Oct-2014 10:50:11 - 4460 : 4440 - CShortcutCleaner - Directory [C:\Users\Administrator\AppData\Local\Quest Software\vWorkspace\] does not exist. Cannot clean existing shortcuts.10-Oct-2014 10:50:11 - 4464 : 4728 - NetworkPrinterOperator.cpp - Unable to locate PNShell configuration file. Cannot configure network printers.   
Slow logon because of errors with PNShell