Host Africa

Friday, 26 September 2014

Microsoft Access could not find file C:\windows\system32\system.mdw

Problem
You receive the error ‘Microsoft Access could not find file C:\windows\system32\system.mdw’ when trying to open up Microsoft Access

Reason
The problem is down to permissions to the mdw file, the system.mdw file is a security file in access, this has most likely gone wrong if someone has modified or deleteted the system.mdw file.

Solution
1) Go to C:\Windows\System32\ and search for system.mdw, if it exists rename it to system.mdw.backup
2) Run program wrkgadm.exe
3) Click Create
4) Change the worgroup ID to either your workgroup name or domain name
5) Click OK
6) Click Join (Not always neccesary but worth doing)
7) Select your system.mdw file
8) Open Up Microsoft Access

Thursday, 25 September 2014

Ctrl-Alt-Del in Hyper-V and RDP

Periodically I have to look this up again, so I’m putting it here for future reference and for anyone else who needs it.
To send Ctrl-Alt-Del to a remote desktop (RDP) session, press Ctrl-Alt-End.
To send Ctrl-Alt-Del to a virtual machine when you are RDP’d into the Hyper-V host, press RtCtrl-Del. You must use the right-hand control button.

Wednesday, 17 September 2014

\windows\system32\config\system is corrupt

Perform the System Restore Inside the Recovery Console type the following commands to change the directory to the system restore directory:
cd \
cd system~1

If you get an Access Denied error:click here
If you don't get an Access Denied error :
cd _resto~1



If there is no _resto~1 folder or if there are no restore points inside it:click here

If the _resto~1 folder exists, inside it there are several folders named RP1, RP2. These are restore points. RP1 is the oldest restore point. You can use
dir

to view what RP folders are available. If no restore points are available click here. Otherwise choose the most convenient RP folder. Supposing we have RP3 available let's type in:
cd rp3



Change the directory to snapshot:
cd snapshot

Restore the main registry branches. If you are being asked if you want to overwrite type in y to agree.
copy _registry_machine_system c:\windows\system32\config\system
copy _registry_machine_software c:\windows\system32\config\software

The following commands are most of the time optional however the process might not work if they are not executed

copy _registry_machine_security c:\windows\system32\config\security
copy _registry_machine_sam c:\windows\system32\config\sam
copy _registry_user_.default c:\windows\system32\config\default



Type exit to reboot the system. Start the computer normally

NTLDR is missing

Difficulty: Easy
Time Required: Restoring the NTLDR and Ntdetect.com files from the Windows XP CD usually takes less than 15 minutes
Here's How:
  1. Enter Windows XP Recovery Console.
  2. When you reach the command prompt (detailed in Step 6 in the link above), type the following two commands, pressing Enter after each one:
    copy d:\i386\ntldr c:\
    
    copy d:\i386\ntdetect.com c:\
    
    In the command listed above, d represents the drive letter assigned to the optical drive that your Windows XP CD is currently in. While this is most often d, your system could assign a different letter. Also, c:\ represents the root folder of the partition that Windows XP is currently installed on. Again, this is most often the case but your system could be different.
  3. If you're prompted to overwrite either of the two files, press Y.
  4. Take out the Windows XP CD, type exit and then press Enter to restart your PC.
    Assuming that missing or corrupt versions of the NTLDR and/or Ntdetect.com files were your only issues, Windows XP should now start normally.

Thursday, 28 August 2014

A program is trying to send an e-mail message on your behalf

A program is trying to send an e-mail message on your behalf. If this is unexpected, click Deny and verify your antivirus software is up-to-date.


Trust Center Settings

Since Outlook 2007, no security prompts will be shown when you have a virus scanner installed which reports its status to Windows and reports its status as “Valid”.
  • Outlook 2007
    Tools-> Trust Center…-> Programmatic Access
  • Outlook 2010 and Outlook 2013
    File-> Options-> Trust Center-> Trust Center Settings…-> Programmatic Access
Programmatic Access Security - greyed out - Warn me about suspicious activity when my antivirus software is inactive or out of date (recommended) - Always warn me about suspcious activity - Never warn me about suspicious activity (not recommended)
In this configuration, you shouldn’t get any security prompts. The greyed out settings can only be changed when you start Outlook with administrative privileges.
The greyed out settings above determine whether or not a prompt is being shown. The default setting is: Warn me about suspicious activity when my antivirus software is inactive or out-of-date (recommended)
This means that a security prompt is only triggered when your antivirus status is reported as “Invalid”.
The other 2 options either always show or never show security prompts regardless of the antivirus status.
As the settings are greyed out, you can only change them when you start Outlook with administrator privileges. You can do this from the context menu that you get when you hold the SHIFT button while right clicking on the Outlook shortcut button in Taskbar while Outlook is closed. For other methods and detailed instructions with screenshots see:

Group Policy and Registry settings

Group Policy Editor buttonWithin a domain, an administrator can deploy the Programmatic Access Security settings via Group Policies to prevent the security prompts from ever showing up.
For this, the following options should then be set:
  • Configure Outlook to use Group Policy Security settings
    Administrative Templates-> Microsoft Outlook <version>-> Security-> Security Form Settings-> option: Outlook Security mode-> setting: Use Outlook Security Group Policy
  • Set the Guard Behavior to Automatically Approve for each prompt
    Administrative Templates-> Microsoft Outlook <version>-> Security-> Security Form Settings-> Programmatic Security
This results in the following Registry keys being set:
Key: HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\<version>\Outlook\Security
Value name: AdminSecurityMode
Value type: REG_DWORD
Value: 3
Key: HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\<version>\Outlook\Security
Value name: PromptOOMSend
Value name: PromptOOMAddressBookAccess
Value name: PromptOOMAddressInformationAccess
Value name: PromptOOMMeetingTaskRequestResponse
Value name: PromptOOMSaveAs
Value name: PromptOOMFormulaAccess
Value name: PromptSimpleMAPISend
Value name: PromptSimpleMAPINameResolve
Value name: PromptSimpleMAPIOpenMessageValue type: REG_DWORD
Value: 2
You’ll find Registry files to disable all the Programmatic Security prompts for Outlook 2007, Outlook 2010 and Outlook 2013 in the download below for use in non-domain environments.
Download: disableprogrammaticsecurity.zip


http://www.msoutlook.info/question/883

Friday, 22 August 2014

Folder Redirection/Sync Breaking on many machines


I can confirm that the Lenovo application "Rapidboot" was the cause of the Offline files issue. Uninstalling Rapidboot immediately resolved the issue. The Sync Center icon now appears as it should, and there are Sync Partnerships again.
Now to develop a script that uninstalls Lenovo Rapidboot from every Corporate machine

Friday, 8 August 2014

Fix for Adobe Reader X spiking CPU and AcroRd32.exe process not closing properly




Windows Registry Editor Version 5.00


[HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\10.0\IPM]
"bShowMsgAtLaunch"=dword:00000000
"bDontShowMsgWhenViewingDoc"=dword:00000001




See more at: http://www.itninja.com/blog/view/fix-for-adobe-reader-x-spiking-cpu-and-process-not-closing-properly#sthash.2MlQb7K6.dpuf