Ways to troubleshoot Outlook 2007/2010 “Not Responding” problems

This is a list of some ways that you can troubleshoot most common Outlook 2003/2007/2010 “Not Responding” situations when trying to open/create messages.

1. Navigate to “C:\Users\<userprofile>\AppData\Local\Microsoft\FORMS”. From there rename the file frmcache.dat to frmcache.dat.old. Try opening Outlook to see if the problem is solved.

2. Navigate to “C:\Users\<userprofile>\AppData\Roaming\Microsoft\Outlook”. From there rename the file outcmd.dat to outcmd.dat.old.Try opening Outlook to see if the problem is solved.

3. Try fixing the .pst database file by using scanpst.exe utility.It will check and possibly fix the errors.

4. Try disabling the Outlook Addins by navigating to Tools -> Trust Center -> Addins.

5. If none of these works then try recreating the Outlook profile by navigating to start -> control panel -> mail setup -> show profiles. There you can create a new profile, add the e-mail account and import the .pst file again.

6. Warning this will clear all Outlook settings! Open Regedit and navigate to HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Office > 12 . Select the Outlook and backup it.After that delete the Outlook folder completely.

How to prevent users from connecting to a USB storage device on Windows XP

If a USB storage device is not already installed on the computer

If a USB storage device is not already installed on the computer, assign the user or the group and the local SYSTEM accountDeny permissions to the following files:

  • %SystemRoot%\Inf\Usbstor.pnf
  • %SystemRoot%\Inf\Usbstor.inf

When you do this, users cannot install a USB storage device on the computer. To assign a user or group Deny permissions to the Usbstor.pnf and Usbstor.inf files, follow these steps:

  1. Start Windows Explorer, and then locate the %SystemRoot%\Inf folder.
  2. Right-click the Usbstor.pnf file, and then click Properties.
  3. Click the Security tab.
  4. In the Group or user names list, add the user or group that you want to set Deny permissions for.
  5. In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control.Note Also add the System account to the Deny list.
  6. In the Group or user names list, select the SYSTEM account.
  7. In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control, and then click OK.
  8. Right-click the Usbstor.inf file, and then click Properties.
  9. Click the Security tab.
  10. In the Group or user names list, add the user or group that you want to set Deny permissions for.
  11. In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control.
  12. In the Group or user names list, select the SYSTEM account.
  13. In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control, and then click OK.

If a USB storage device is already installed on the computer

If a USB storage device is already installed on the computer, set the Start value in the following registry key to 4:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor

When you do this, the USB storage device does not work when the user connects the device to the computer. To set the Startvalue, follow these steps:

  1. Click Start, and then click Run.
  2. In the Open box, type regedit, and then click OK.
  3. Locate and then click the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
  4. In the details pane, double-click Start.
  5. In the Value data box, type 4, click Hexadecimal (if it is not already selected), and then click OK.
  6. Exit Registry Editor.

How to re-add a failed cluster node on ProxMox VE 2

I had a failed node on a two node ProxMox VE 2.1 cluster which I wanted to remove so I followed these steps to achieve that:

Node1=proxmox1

Node2=proxmox2 (failed node)

Node1 ip=172.21.3.8

Node2 ip=172.21.3.9

On proxmox1:

pvecm delnode proxmox2

On proxmox2:

cp -a /etc/pve /root/pve_backup   (create backup first)

Stop cluster service: /etc/init.d/pve-cluster stop

umount /etc/pve

/etc/init.d/cman stop

rm /etc/cluster/cluster.conf

rm -rf /var/lib/pve-cluster/*

/etc/init.d/pve-cluster start

pvecm add proxmox1  (re-add node2 on the cluster again)

 

That’s all…

 

 

 

How to share 3G Connection over LAN on Ubuntu

Scenario:

I have a 3G connection on Ubuntu which I want to share to the rest network. What I need to to do is to make Ubuntu act as a NAT router to be able to share this connection.

Internet <-> 3G Stick <-> Ubuntu <-> eth0—Lan

From terminal:

sudo iptables -A FORWARD -o ppp0 -i eth0 -s 192.168.1.0/24 -m conntrack –ctstate NEW -j ACCEPT

#where ppp0 is 3G connection and eth0 the lan interface and 192.168.1.0 my LAN subnet.

sudo iptables -A FORWARD -m conntrack –ctstate ESTABLISHED,RELATED -j ACCEPT

sudo iptables -t nat -F POSTROUTING

sudo iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

#Edit /etc/rc.local and add the following lines before the “exit 0” line:
sudo iptables-save | sudo tee /etc/iptables.sav

sudo sh -c “echo 1 > /proc/sys/net/ipv4/ip_forward”

The ip address of eth0 is 192.168.1.1 so on client side I give this address as default gateway.Note that on this scenario I use static ip addresses on all clients as I have not setup dhcp server on ubuntu.