For a .NET application that all of a sudden fails to start, but works fine logged on as a different user, the problem is with some temporary application files.
Solution: delete the 'apps' folder in 'C:\Documents and Settings\%username%\Local Settings\' - restarting the application from the shortcut should then kick it back into gear.
With thanks to here
Instead of having to open and send drafts one by one, add this code to a new module (start with pressing 'Alt'+'F11'), then assign the 'SendSelectedMail' macro to a button on the toolbar.
Public Sub SendSelectedMail()
Dim Sel As Outlook.Selection
Dim obj As Object
Set Sel = Application.ActiveExplorer.Selection
For i=1 to Sel.Count
Set obj = Sel(i)
If TypeOf obj Is Outlook.MailItem Then
With thanks to Michael Bauer (here).
EDIT: With thanks to David Arno, a better option - download the uninstall folder from David's site, and run the following from the command line:
Have come across a few Windows XP machines with incomplete uninstalls of Windows Search. Although the toolbar is removed and the entry is removed from 'add/remove programs', high CPU and disk IO is evident from processes such as 'searchindexer.exe' and/or 'SearchProtocolHost.exe'. The following will remove it altogether:
A. Try running the uninstall located in the 'c:\Windows\$NtUninstallKB940157$\spuninst\' directory
B. If that folder is missing, do the following:
- Delete the following reg keys, to make the installer believe Windows Search 4 is not on the system:
- Reinstall Windows Search 4. This will add the uninstall files back to C:\Windows\$NtUninstallKB940157$
- Now the uninstaller should be present in Add/Remove Programs again and can be uninstalled as normal.
With thanks to this thread.
When you need to uninstall Trend Micro from a pc when you don't have access to the install password, change the following registry setting:
Set “Allow Uninstall” to 1
Then uninstall via Add/Remove Programs as normal, without a password prompt.
With thanks to: http://www.sugarloaftech.com/
To uninstall MSSE via a script, save the following into a text file, and change the extension to '.vbs':On Error Resume Next
Set objShell = WScript.CreateObject ("WScript.shell")
objShell.run "'"%ProgramFiles%/Microsoft Security Client/setup.exe"'" & "/x /s"
Set objShell = Nothing
1. this is for v2 of MSSE - for installations of v1, replace 'client' with 'essentials'.
2. this is for the 32bit version of Windows.
3. the user must have administrative rights on the machine .
4. works fine as a GPO for bulk changes, so long as it is placed under the computer config section (so the permissions above are applied).
To reinitialise the Offline Files cache, create a DWORD registry value 'FormatDatabase' with a value of 1 and restart the system.
Win XP: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache
With thanks to John R. Pattison: http://johnrpattison.com/2007/11/26/how-to-reset-offline-files-in-windows-vista/
When trying to add an extra mailbox to an existing Outlook profile on a computer that is outside the office (connected via VPN) fails with the message:
'The action could not be completed. The connection to the Microsoft Exchange Server is unavailable. Outlook must be online or connected to complete the action'
Note that webmail from the affected computer is fine, as is a ping to the Exchange server IP.
The problem results from the computer not being able to resolve a path to the Global Catalog on the remote network - simply putting a FQDN entry into the hosts file fixes the problem:
"So, that's the basics of Exchange database repair:
1. Make a copy of your database files (.edb and .stm)
2. Run Eseutil /p "path_to_edb_file" /t "temp_edb_file_location"
3. Then run Eseutil /d "path_to_edb_file" /t "temp_edb_file_location"
4. Then run Isinteg -s "server_name" -fix -test alltests
Then immediately run a back up!"
With thanks to: http://msexchangeteam.com/archive/2004/06/18/159413.aspx
1. Set HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type to NTP
2. Set HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags to 5
3. Set HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\NtpServer to 0.oceania.pool.ntp.org,0x1
4. Run net stop w32time
5. Run net start w32time
The aftermath of a virus was to mark some folders as 'hidden', with the attribute checkbox disabled. To fix, run the following command:
attrib -H -S -R c:\YourFileGoesHere.whatever
Thanks to: http://www.raymond.cc/blog/archives/2009/05/01/reset-system-and-hidden-attributes-for-files-or-folders-caused-by-virus/
Upon running setup for Office 2007, the installer kept closing. To proceed with the install:
1. rename the following registry keys (if they exist):
2. rerun setup.
Backing up the file/folder structure on a DFS share doesn’t work, and backing up DFS through the shadow copy components is painfully slow, so I directly backup the DFS share.
The DFS configuration is backed up when I backup my domain controllers. The configuration and the data are all I’m concerned with backing up, so half of that problem is already solved for me. I back up my data by creating my selection list at the share level instead of at the file structure/folder level and exclude the DFSRPrivate folders in each share, as they won’t backup anyway.
Fizxed with thanks to http://www.backupexecfaq.com/articles/real-world/backing-up-dfs-data.html
When RDP'ing into a brand name computer (Dell, HP etc) it can take an age for the default background to load before the login screen is available. To remove it,
1. Open Regedit
2. Go to HKUD\Control Panel\Desktop
3. Find the wallpaper value, probably pointing to something like C:\WINDOWS\system32\whatever.BMP
5. Delete the contents and click 'OK'
6. Close Regedit
A Global Catalog DC dies, and after seizing the roles and rebooting, users (and the administrator) still can't log on to machines. An information message in the FRS log indicates that you need to wait until a check is done of the system volume, upon which the NETLOGON share will be created.
After waiting forever, try the following instead:
1. Stop the File Replication service (on the DC)
2. Start Registry Editor
3. Navigate to: HKLM\SYSTEM\CurrentControlSet\Services\NtFrs\Parameters\Backup/Restore\Process at Startup\
4. Select the 'Burlap' key, and on the Edit menu, click DWORD, click Hex, type D2, and then click OK.
5. Close the Registry Editor
6. Restart the File Replication service
Upon adding a second domain to an Exchange 2003 server, adding users/email addresses and restarting SMTP, incoming mail wouldn't come in.
<firstname.lastname@example.org>: host mail.whatever.com said: 550 5.7.1 Unable to relay for email@example.com (in reply to RCPT TO command)
The fix was to:
1. Install IIS6.0 Support Toolkit
2. Run 'Metabase Explorer'
3. Navigate to: LM-SmtpSvc-1-Domain
4. The new domain name was missing, so I copied/pasted an existing one
Couldn't access Quickbooks Online on a XP machine, IE8 fully patched.
Despite support advising to 'enable the ActiveX control', I was unable to see/enable the Terminal Services ActiveX control in IE7/IE8 on XPSP3. The fixwas to delete the following registry keys:
Once you delete these keys, the ActiveX control should be enabled.
Solution sourced from here
The configuration of a Windows DHCP Server to work with Cisco CallManager has two major tasks.1. Create a new scope in the DHCP server.
2. Add a TFTP option to the scope.