I virtualized an application and "pointed" it to "Q" drive during the install.

Now the end user is asking how he can get to the LOG files the application creates. They are on the "Q" drive.

1) Is there a way they can access the files the application creates on the Q drive?
2) Or do I need to see if I can point them to the C drive during the install/ virtualization?

0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


Create a shortcut to the file or if they need explorer like functionality then you need to use a shell replacement since explorer is pretty much an operating system component. I suggest a43 but there are a few out there.
Answered 04/06/2011 by: kkaminsk
Ninth Degree Black Belt

Please log in to comment
I assume that you are using app-v.

If ther user is an administrator on the machine they should be able to access the Q: drive via the adminsitrative share ("\\<Machine name>\q$"). This is what I use when looking inside the Q drive on our machines.

Depending on the situation there could be several other ways around this problem:
Edit the virtualised application to point the log creation directory elsewhere. (probably a registry or file somewhere)
Create a shortcut to the log file. user can then open it read and save elsewhere
Create a shortcut to a custom application which copies the log
Create a post shutdown script in the OSD file to open or copy the log.

Hope that helps
Answered 04/11/2011 by: dbloomfield
Senior Yellow Belt

Please log in to comment
Hi, thanks for the help.

So I created a shortcut to: \\\q$ and \\"PC-Name"\q$
both show me the Q drive folder associated with my application.


I can only access it while the application is running?

If that is "normal" I guess I can live with that....as previously suggested, I could copy the LOG file to another location.

But.....and this is a big one.....

When I browse to where my LOG file is located, I see a log file from when I launched my application during the virtualization packaging last month, but I don't see a log from the current launch of the application or any of my previous launches since virtualized.

Log file path I browse to: \\\Q$\AspMGpS2.001\Aspect Software\Unified IP Client\Logs\epro\EnterpriseMonitor\Initialize\

The application creates a new log file with the current date and a counter appended to the name of the LOG file, each time it is launched:

and I found references that look like they created the LOG file and it is in the Q drive directory but I see no evidence of it on my Q drive only "old" ones from the date I packaged the application.

11:30:45.5853735 AM EnterpriseMonitor.exe 4224 QueryNameInformationFile Q:\AspMGpS2.001\Aspect Software\Unified IP Client\Logs\epro\EnterpriseMonitor\Initialize\EnterpriseMonitor_04-12-11_03.LOG
SUCCESS Name: \AspMGpS2.001\Aspect Software\Unified IP Client\Logs\epro\EnterpriseMonitor\Initialize\EnterpriseMonitor_04-12-11_03.LOG

11:30:45.5854707 AM EnterpriseMonitor.exe 4224 QueryStandardInformationFile Q:\AspMGpS2.001\Aspect Software\Unified IP Client\Logs\epro\EnterpriseMonitor\Initialize\EnterpriseMonitor_04-12-11_03.LOG
SUCCESS AllocationSize: 0, EndOfFile: 0, NumberOfLinks: 1, DeletePending: False, Directory: False

11:30:45.5855781 AM EnterpriseMonitor.exe 4224 WriteFile Q:\AspMGpS2.001\Aspect Software\Unified IP Client\Logs\epro\EnterpriseMonitor\Initialize\EnterpriseMonitor_04-12-11_03.LOG
SUCCESS Offset: 0, Length: 124

11:30:45.5856920 AM EnterpriseMonitor.exe 4224 WriteFile C:\Documents and Settings\joel.sternin\Local Settings\Application Data\SoftGrid Client\ASPMGPS2.001-1C6F1B6C-59D6-467C\UsrVol_sftfs_v1.tmp
SUCCESS Offset: 4,399,104, Length: 4,096, I/O Flags: Synchronous

11:30:45.5857913 AM EnterpriseMonitor.exe 4224 CloseFile Q:\AspMGpS2.001\Aspect Software\Unified IP Client\Logs\epro\EnterpriseMonitor\Initialize\EnterpriseMonitor_04-12-11_03.LOG

Any suggestions?


Answered 04/12/2011 by: snj2000
Orange Belt

Please log in to comment
I guess I will try to repackage and point the logs to the "C" drive to see if that helps because even though Process Monitor indicates (as best as I can tell) that the log files are being created, I can't find them on "Q".
Answered 04/15/2011 by: snj2000
Orange Belt

Please log in to comment
Appologies for the delayed reply.

Bearing in mind that we have an odd setup of app-v (app-v in SCCM) so my experiences may be slightly different to a standard app-v setup.

Yes it is normal for the q: drive files within the 8:3 folder to only be accessible via the admin share when the software is running.

After reading your post this morning i have had a look at one of my app-v apps and also noticed that if i create something on the q: drive it appears on the share when the current application is running however if i shutdown the app and re-launch the file is not visible via the share. After re-launching the application the file was not visible via the \\\q$ however was still visible from within the application (File-->open).
I believe this is due to the profile file (C:\Documents and Settings\<username>\Application Data\SoftGrid Client\{app-name}) which modifies the virtual environment on a per-user basis, therefore as the explorer process viewing the q$ is not in the virtual environment it cannot see the previously created files (although this is hitting the limit of my current app-v knowledge and is making an assumption). Thanks, this has given me a point for thought and I shall read up on it and investigate at some point in the future.

So appologies as it appears that in this situation using the q$ share is not a great way of accessing files created on the q: drive.

The other option for a solution depending on whether the user wants to keep the log files or not could also be to create a OSD shortcut to notepad and launch it within the same virtual environment. Then notepad would be able to see the log files created.

From what you have said if i was in your situation i would most likely:
Edit the package to remove the log files created at the time of sequencing
Create a script (prob .vbs) which copies *.log files from the initialise directory to another location (prob C:\temp)
Add the script to the applications OSD file launchig Post Shutdown and Within the Virtual environment


That way the files should persist on the c:\temp directory even when the software is not active.
Answered 04/18/2011 by: dbloomfield
Senior Yellow Belt

Please log in to comment
dbloomfield's suggestion looks good

What will i do ?

1. create script vbs that copy "log files" to local system ( must see that normal user have permission to write to same folder)
2. run it in post shutdown .

Note: There can be different scenario like logs files are getting updated (we don't need to do much in script just overwrite the content of local system folder)
if it is appending then we may have to delete the present log file in local system folder then copy (this functionality need to be done in script).
Answered 04/21/2011 by: rock_star
Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity