Tuesday, 24 April 2012

Synchronize/Update Time on Active Directory DC

Thanks for those great guys mentioned this in the SBTG blog...
To update time with network time provider run the below commands...
On the main DC:
NET TIME /SETSNTP:time.windows.com
NET STOP W32TIME
NET START W32TIME
W32TM /config /reliable:YES
W32TM /resync /rediscover
On all other DCs:
W32TM /resync /rediscover
that should do the trick!!!

Friday, 6 April 2012

Email with "QUIT" in message

User receiving emails with subject line "Fw:"  and Message body "QUIT", sender is a valid id and recipient is not disclosed "undisclosed recipients"...

Solution:

By checking message header found the machine in the network and in that outlook had a message with 210MB attachment which is way above the limit which was fixed. After deleting the mail from outbox the email with "QUIT" in message stopped.

Clients not getting updated or removed from WSUS

solution for the clients which are not reporting or automatically removing from WSUS console.
Below are the simple steps to follow.
1.       Stop automatic updates services.
2.       Rename the software distribution folder.(c:\Windows\softwaredistribution)
3.       Restart automatic updates services
4.       Run wuaulct / reset authorization /detect now
5.       Run wuauclt / report now

Outlook rules not working after importing pst

Rules will be available but will not work after importing pst from one machine to another, this is because outlook automatically adds a option while creating rules. This can be solved by below steps...

1. Go to Rules wizard...
2. In each rule you will see a option "on this machine only" selected
3. remove the selection and save the rule...

Thats it... enjoy

Install Webmin in CentOS 6, RHEL 6

Follow below steps to install webmin (Web based Administration Console) in Redhat based Linux systems

Install the Webmin Repository
# vi /etc/yum.repos.d/webmin.repo
input following lines,

[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1

quit by saving ":wq"

# rpm --import http://www.webmin.com/jcameron-key.asc

# yum install webmin

That should do the trick!!!

SEP 12 network threat protection not showing in GUI

After installing full package of SEP 12 you may not see Network Threat protection in SEP GUI.

This can be solved by following below steps.

1. Open cmd using run as administrator option,

2. Change to directory containing smc.exe and smcgui.exe (usually the bin directory inside installed directory, in my case C:\Program Files\Symantec\Symantec Endpoint Protection\12.1.671.4971.105\Bin)

3. run command "smc -stop", wait till symantec management console stops.

4. run command "smcgui.exe /UNREGSERVER"
5. run command "smcgui.exe /REGSERVER"
6. run command "smc -start", Check by opening SEP GUI, Network Threat protection will be available now.

that should do the trick!!!

disable mails from CRON

This will help you disable email which are sent from cron whenever it runs.

Edit/Open your cron jobs
 
$ crontab -e

At the top of the file, enter:
 
MAILTO=""

Save with :wq and restart cron

$ /etc/init.d/crond restart


that should do the trick!!!

Synchronize/Update Time on Active Directory DC

Thanks for those great guys mentioned this in the SBTG blog...
To update time with network time provider run the below commands...
On the main DC:
NET TIME /SETSNTP:time.windows.com
NET STOP W32TIME
NET START W32TIME
W32TM /config /reliable:YES
W32TM /resync /rediscover
On all other DCs:
W32TM /resync /rediscover
that should do the trick!!!

Disable Account Changes in Outlook Express

Open registry and create below key

System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Outlook Express]
Value Name:
No Modify Accts
Data Type:
REG_DWORD (DWORD Value)
Value Data:
(0 = default, 1 = enable restriction)
If you are an admin managing network computers, before trying to make any changes to account setting use regedit option "connect to network registry" in admin privileged login and change values to enable before going to edit in user login

that should do the trick !!!

How to disable Ctrl+Alt+Del restarting in CentOS

In CentOS, the action taken when Ctrl+Alt+Del pressed is based on the configuration file located in "/etc/init/control-alt-delete.conf"
Just disable the line which specifies the restart action.
 

vi /etc/init/control-alt-delete.conf

comment the line

#exec /sbin/shutdown -r now “Control-Alt-Delete pressed”

:wq (save and exit)

that should do the trick!!!

How to disable Ctrl+Alt+Del restarting in Ubuntu

In Ubuntu, the action taken when Ctrl+Alt+Del pressed is based on the configuration file located in "/etc/event.d/control-alt-delete"
Just disable the line which specifies the restart action.


sudo vi /etc/event.d/control-alt-delete

comment the line

#exec /sbin/shutdown -r now “Control-Alt-Delete pressed”

:wq (save and exit)

that should do the trick!!!

Network stucks at acquiring ip address in Windows XP

In Windows XP, Network does not acquire IP automatically and stucks forever at acquiring network address,

The possibilities are,

1. DHCP Service not running - Go to Start -> Run -> services.msc and start DHCP Client service and make it automatic.
2. Bad Network Cable - Replace Cable
3. Bad NIC Card - Service or Replace Network Card

that should do the trick !!!

Unable to Add Printer in Windows XP

When trying to add a printer you receive a error "Unable to add printer. Operation could not be completed" Error and you receive error 126 in event log for these instance.

Solution:

In "Printers and Faxes" remove all printers and go to File menu, select Server Properties.

In Server Properties, open drivers tab and delete printer drivers

Stop Print Spooler Service.

Then go to %windir%\system32\spool\drivers\w32x86\3 directory

Backup the directory and remove all files and folders inside it

Start Print Spooler Service

Now you will be able to add printers.

If you  have problems with adobe PDF printer after following above steps, copy files related to adobe pdf from backup in the %windir%\system32\spool\drivers\w32x86\3 directory.

That should do the trick!!!