http://www.petri.co.il/transferring_fsmo_roles.htm
.NET Exception HRESULT: 0x800736B3
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
Outlook - auto send from the Drafts folder
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 Dim i& Set Sel = Application.ActiveExplorer.Selection For i=1 to Sel.Count Set obj = Sel(i) If TypeOf obj Is Outlook.MailItem Then obj.Send End If Next End Sub
Gold.
With thanks to Michael Bauer (here).
Uninstalling Windows Search 4.0
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:
%systemroot%\$NtUninstallKB940157$\spuninst\spuninst.exe
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: "HKLM\SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB940157" "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB940157"
- 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.
Uninstall Trend Micro without the password
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: HKLM\SOFTWARE\TrendMicro\PC-cillinNTCorp\CurrentVersion\Misc Set “Allow Uninstall” to 1
Then uninstall via Add/Remove Programs as normal, without a password prompt.
With thanks to: http://www.sugarloaftech.com/
Uninstall Microsoft Security Essentials via script
To uninstall MSSE via a script, save the following into a text file, and change the extension to '.vbs':On Error Resume Next Dim objShell Set objShell = WScript.CreateObject ("WScript.shell") objShell.run "'"%ProgramFiles%/Microsoft Security Client/setup.exe"'" & "/x /s" Set objShell = Nothing
Notes: 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).
Reset Offline Files in Windows XP/Vista/7
To reinitialise the Offline Files cache, create a DWORD registry value 'FormatDatabase' with a value of 1 and restart the system. WinVista/7: HKLM\System\CurrentControlSet\Services\CSC\Parameters
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/
Cannot add an additional Mailbox to Outlook over a VPN
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:
192.168.146.50 es15.contoso.local
Exchange 2003 Database repair steps
"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
Configuring the Windows Time Service
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
Removing the 'Hidden' file attribute via the command line
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
Installing Office 2007 on Windows Server 2008 R2 x64
Upon running setup for Office 2007, the installer kept closing. To proceed with the install: 1. rename the following registry keys (if they exist): - HKLM\Software\Microsoft\Office\12.0 - HKLM\Software\Wow6432Node\Microsoft\Office\12.0
2. rerun setup.
Backup Exec 12.5 vs DFS
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
Remove the default background image for Remote Desktop
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
Restoring 'NETLOGON' share
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. We wait.
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
550 5.7.1 Unable to relay for info@whatever.com (in reply to RCPT TO command)
Upon adding a second domain to an Exchange 2003 server, adding users/email addresses and restarting SMTP, incoming mail wouldn't come in.
<info@whatever.com>: host mail.whatever.com said: 550 5.7.1 Unable to relay for info@whatever.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
Terminal Services ActiveX Control issues in IE
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:
HKCU\Software\Microsoft\Windows\CurrentVersion\Ext\Settings\{7390f3d8-0439-4c05-91e3-cf5cb290c3d0}
HKCU\Software\Microsoft\Windows\CurrentVersion\Ext\Settings\{4eb89ff4-7f78-4a0f-8b8d-2bf02e94e4b2}
Once you delete these keys, the ActiveX control should be enabled.
Installing a second Windows 2003 AD server
Configuring a DHCP Server for Cisco CallManager
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.
http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_tech_note09186a00800942f4.shtml