Wednesday, 29 August 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!!!

Enable / Disable Change Of Date And Time On Windows XP

 

Go to Start > Control Panel > Administrative Templates

Open
Local Security Policy

Go to
Local Policy > User Rights Assignments > Change the System time, double click to open it.

Add and remove user groups. Remove the limited users from this list and those limited users will not be able to edit date and time of this compute. Add users who need access to change date / time


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!!!

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!!!

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!!!