This code can be used in a StartUp GPO script or as a manual script to clear out stuck profiles on a server. This probably won’t delete the entire profile of users that are in use, but I haven’t tested that yet. This will just leave the default required profiles behind. If you need any […]
Continue readingAssociating .TIFF/.TIF files with Windows Picture Viewer
We found after building the XenApp desktop servers that the old Microsoft Office Document Imager was no longer part of Office and was removed after 2007. The other issue we found after that was forcing the new Windows Picture Viewer to be the default for all users. The main bonus of the Windows Picture Viewer […]
Continue readingLocating which Servers a User is Logged onto
The following code allows you to see which servers a particular user account is logged onto. The code allows you to enter the root path in AD to where your servers are and you would like to search from. It also prompts for the users name. It then goes off and searches the servers for […]
Continue readingWorking with Powershell and the Registry
This article explain how to test whether parts of the registry structure exist for a user. The following will test if a key exists in the registry: Test-path “HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles” This will return either True or False You can also do this to see if a property exists in the key as below: […]
Continue readingCommand Line Loading CPL Applets
Here are some handy commands as a quick reference to open items in the Control Panel Accessibility Options control access.cpl Add New Hardware control sysdm.cpl add new hardware Add/Remove Programs control appwiz.cpl Date/Time Properties control timedate.cpl Display Properties control desk.cpl FindFast control findfast.cpl Fonts Folder control fonts Internet Properties control inetcpl.cpl Joystick Properties control […]
Continue readingUsing Normal.DOT in Word 2010
To enable using the autotext thats buried in Normal.DOT in Word 2010 follow the steps below: Take a copy of the users Normal.DOT file usually found here on a Windows 2003 server: C:\Documents and Settings\UserName\Application Data\Microsoft\Templates Copy out the Normal.DOT from here and place it in the Word STARTUP folder defined by your Group Policy […]
Continue readingFile Refresh on Windows 7/2008
It was found after testing that files were not appearing automatically in saved locations on Windows 2008 servers. You were required to press F5 to refresh the view and then the files would appear. From testing the following combination of keys was found to cause the issue, but was part of the recommended XenApp 6 […]
Continue readingSolarwinds Job Sceduler not Running
I had an incident where the Job Scheduler would not run any scans new or old. The service kept crashing. Repairs would not fix it and eventually I found this: Source: Solarwinds Thwack URL: Click Here Error “The job scheduler database file is corrupt. The SWJobSchedulerSvc service has been shutdown until the database is fixed.” […]
Continue readingExchange Recurring Apointments
This is a useful command if you need to set or unset the ability to set recurring appointments in Exchangeby powershell: set-MailboxCalendarSettings -Identity “UserEmailAddress@yourdomain.com” -AllowRecurringMeetings:$true This also works using the accounts alias in place of the email address.
Continue reading