For some reason the uninstaller from Symantec doesn’t work in removing Norton (NAV 10). My guess, without delving into their uninstaller too deeply is that they ran into what I ran into, which is that the com.symantec.* processes are prefixed by a bracketed alphanumeric sequence. To get around this I listed them and used grep to grab each one, then awk to grab the label and did a launchctl stop against the label name once I had it. The rest of this script is pretty straight forward forcing the rm of each of the contents of the items from the snapshot plus the items from the pkg BoM. Here’s the…
-
-
Enable Fast User Switching for Windows (Command Line)
Browse to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon in the registry and then change the value of the AllowMultipleTSSessions key to REG_DWORD of 1 (or back to 0 to disable). Very similar to how it works in Mac OS X. If you want to script this (eg – for a login script) then you can use the reg command, for example: reg add “hklmSOFTWAREMicrosoftWindows NTCurrentVersionWinlogon /v AllowMultipleTSSessions /t REG_DWORD /d “1” /f
-
Troubleshooting Automounting with AppleScript
Troubleshooting automounts can be a particular pain at times. Beyond verifying that you can manually mount a directory and that the automount shows up properly in the directory service, there is another little trick that I’ll occasionally do, which is to set an Applescript to load the mount point at some time during the login process (or more specifically at different times in order to further isolate). The quick and dirty script I use is: set MyVolume to “afp://username:password@my.server.com/mysharepoint” tell application “Finder” activate mount volume MyVolume end tell Obviously you’ll have a different volume name you wish to mount the share as and a different user,…
-
Script to Clear the SideBar Prefs
Here’s a quick little script you can push out to a system having SideBar issues, to clear the prefs. Alternately you can throw the rm command itself into ARD as a support mechanism… #!/bin/bash rm ~/Library/Preferences/com.apple.sidebarlists.plist exit 0