Category Archives: AppSense – Environment Manager – Scripts

AppSense Environment Manager Scripts

AppSense Environment Manager Session Data Not Saved at Logoff – EmExit.bat

No session data or Desktop Settings saved at Logoff? We came across this particular problem on about 30 of our Windows 7 PCs. They were all born from the same Gold image as the other working 300 or so desktops (we are about half way through our Windows 7 migration) but these few PCs all presented the same issue. We were seeing no Session Data, Desktop Settings or Logoff actions completing at User Logoff. Continue reading “AppSense Environment Manager Session Data Not Saved at Logoff – EmExit.bat” »

VN:F [1.9.22_1171]
Rating: 9.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: +2 (from 2 votes)

Leveraging OU Membership Conditions with the Registry in AppSense Environment Manager

So I have quickly learned that I can satisfy a lot of my “membership” conditional triggers by referencing a registry key rather than looking up the Active Directory. This is especially useful on “Computer-Start-up” triggers. In my experience, when the computer boots, the network is not always ready by the time we kick off a conditional trigger for Computer Group Membership. If the network is not ready and we try to look-up our AD on “Computer Start-up” then that condition will fail. So how can we get around this? Continue reading “Leveraging OU Membership Conditions with the Registry in AppSense Environment Manager” »

VN:F [1.9.22_1171]
Rating: 8.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)

AppSense Environment Manager Custom Action Script Exit Codes

Hands up, fair cop. In a recent blog post on scripting Internet Explorer Favorites I forgot to mention using script exit codes when I dealt with the custom actions. Any custom script you include in your configuration is always interpreted as completing successfully by the agent on exit unless you specify otherwise in your code. Continue reading “AppSense Environment Manager Custom Action Script Exit Codes” »

VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)

Adding Corporate Favorite Items to a Users Profile using AppSense Environment Manager

Well this is certainly something we wanted to do in our environment. Based on different group memberships and user requirements for different web apps we wanted to post links into the users favorites folders in Internet Explorer. Historically, users managed their own app shortcuts in the Favorites folder but this led to inconsistencies especially when a url was updated server side. We decided to publish a folder called “!Corporate” in the users favorites folder. This folder (if sorted alphabetically) would appear at the top of the users favorites and we would leverage the ability to run vb script from an Environment Manager trigger. We could then add/delete/modify urls and keep a consistent-corporate approach to managing these items. Continue reading “Adding Corporate Favorite Items to a Users Profile using AppSense Environment Manager” »

VN:F [1.9.22_1171]
Rating: 8.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)

How to Personalize Foxit Reader with AppSense Environment Manager

Adobe have a nice – longstanding problem with their preview handler in the 64bit version of their reader. We installed Foxit Reader into our Gold Windows 7 64bit image which replaced the already installed Adobe preview handler. This worked a treat, our customers could now preview PDF documents in Explorer and the Microsoft Outlook 2010 preview pane. We needed to personalize the Foxit App with AppSense. In this blog Ill explain how to add a new App to personalization and some specific includes and excludes for Foxit Reader. Continue reading “How to Personalize Foxit Reader with AppSense Environment Manager” »

VN:F [1.9.22_1171]
Rating: 8.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)

AppSense Environment Manager – Using ICACLS / WIN7 IE Print Preview Blank Page

Hey, Ben here. I’m sitting at home today nursing a poorly baby with a fever so i thought i’d throw this quick article together out on how to use Microsoft ICACLS to set folder/file permissions using AppSense Environment Manager. ICACLS is a neat tool included in Windows 7/Server 2008 OS that allows you to view and modify the access control lists for files and folders on your NTFS file system.

We use ICACLS all of the time in our environment, especially when introducing new users to the system for the first time. We use it to build home drives and setup their personalized user environment PUE..thats neat..PUE..just made that acronym up! 🙂

Continue reading “AppSense Environment Manager – Using ICACLS / WIN7 IE Print Preview Blank Page” »

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Using AppSense Environment Manager to Taskkill Unauthorized Apps..What??

Warning: This post may ruffle some feathers! I will start out by saying that AppSense have a great product called “Application Manager”. It is designed to take on User Rights Management, Application Control and Software Compliance Monitoring, more info can be found at http://www.appsense.com/products/desktop/desktopnow/application-manager/

That being said, there may be a scenario when you would like to use EM invoke Taskkill when it sees an unauthorized process being launched. Let me say again, I will always advocate Application Manager for this job but I also want to show you how flexible EM can be in your environment..look at it as broadening ones horizons.

Continue reading “Using AppSense Environment Manager to Taskkill Unauthorized Apps..What??” »

VN:F [1.9.22_1171]
Rating: 7.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)

Imaging PCs with AppSense Environment Agent PreInstalled

Lets set the scene..You are rolling out hundreds of PCs with Windows 7 and you want all the agents preinstalled..naturally. Well the AppSense Environment Manager Agent is no exception.

Continue reading “Imaging PCs with AppSense Environment Agent PreInstalled” »

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

AppSense MSI Cleanup

Ok, so I have a little obsessive compulsion when it comes to cleaning up old config files that are no longer needed. I notice the msi files build up a fair amount in the “%ProgramFiles%\AppSense\Management Center\Communications Agent\download” directory. I wanted to delete any files that are older than 30 days ( I figured I would never have to roll back any further than 30 days..gamble I know.)

Here is how I done it with my fav Microsoft executable..Robocopy Continue reading “AppSense MSI Cleanup” »

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)