Join Brien Posey for an in-depth discussion in this video Configure system tray/SFTTray.exe switches, part of Windows 10: Deploy and Manage Virtual Applications.
- [Instructor] Older versions of the App-V client come with a system tray icon that can be controlled through the command line. Now, this is something that you won't run into in the current version. As a matter of fact, I'm using version 4.6 of the App-V client, but knowing how to use this particular utility is useful for the Microsoft exam, so let's take a look. What I'm going to do is open up a command prompt window. So I'm going to right click on the start button and go to command prompt admin and incidentally, I'm using Windows 8.1.
So here's the command prompt window and I'm going to type cd\ to drop down to the root directory. Then, I'm going to type cd program files x86 and then /Microsoft application virtualization client and now I'm in the Microsoft application virtualization client and if you're curious as to the contents of this folder, I can type dir and you can see all of the files that exist in the folder.
Now there's one specific file that we're interested in and that's sfttray.exe. You can see that file right here. Now this is a command line utility and it controls the system tray icon. So like a lot of command line utilities, there are a number of different switches that we can use. One of those switches is show. So what I'm going to do is I'm going to type sfttray and then /show.
And when I press enter, you can see the icon has appeared in the task bar. We can also hide the icon by using the /hide command. So what I'm going to is I'm going to retype the command, only instead of using show, I'm going to use hide and when I do that, the icon disappears. Another useful command is quiet. So I'll type sfttray/quiet. And this suppresses error messages. Now there are a number of different command line switches that you can use with the sfttray command.
If I type sfttray/? You can see a pop up that lists all of the different things that you can do with this command. So you can see that we have /hide, /show, /quiet, which you've just seen but there are a few other things that we can do too. /launch can be used to launch an application. /load loads or imports an application. /loadall loads all of the applications sequentially.
/refreshall does a publishing refresh from each of the publishing servers and /exit terminates the application. So those are the basic command line switches that you can use. Now if you look down at the bottom, you can see that we've got a few other things listed. App, args, alternate exe, and sft. These aren't commands, these are more of descriptions of values that you can provide within a command. Let me show you what I mean, if you'll look up here, you can see sfttray and then we're also using optional commands like hide, show, quiet but then right here, we have /load and then app.
And, if you're not sure what app means, you can take a look down here at app and it says application name inversion or path to an OSD file. So in other words, if we wanted to load an application, we would use /load followed by the application name inversion or the path to the corresponding OSD file. So that's how the sfttray utility works in older versions of the App-V client.
- Installing and deploying App-V
- Sequencing an application
- Editing or upgrading an application
- Configuring applications for deployment in App-V
- Deploying apps with Intune