Showing posts with label Window OS Management. Show all posts
Showing posts with label Window OS Management. Show all posts

How To Flush DNS Cache (NAME SERVICE) Windows/UNIX


** Myself 

Windows
Start->run->cmd->
ipconfig /flushdns


UNIX
service nscd restart
-- or --
sudo /etc/init.d/nscd restart


How to disable the Host Intrusion Prevention(IDS) Mcafee disable self-protect mode

** Credit Web
Summary
This article describes how to disable the Host Intrusion Prevention client when a connection to the ePolicy Orchestrator (ePO) 4.x server is not available.
Due to agent self protection, the Host Intrusion Prevention client cannot be uninstalled using Add or Remove programs or by manually stopping the McAfee Host Intrusion Prevention service while IPS protection is enabled.
Solution 1
If the Host Intrusion Prevention clientUI default unlock password has not yet been changed, disable the Host Intrusion Prevention client manually by unlocking the Host Intrusion Prevention client UI tray:
  1. Click Start, Run, type explorer and click OK.
  2. Navigate to: C:\Program Files\McAfee\Host Intrusion Prevention\
  3. Double-click McAfeeFire.exe.
  4. Click Task, Unlock User Interface.
  5. Type the unlock code, and select Administrator Password.
    NOTE: By default, the unlock code is abcde12345
  6. After the user interface is unlocked, click the IPS Policy tab. 
  7. Deselect Enable Host IPS and Enable Network IPS. (The Firewall Policy can be disabled on its own tab.)
  8. Select Task, Exit.
Solution 2

Windows Control Panel, Shortcuts and Control.exe


Control Panel Applets
Some of the components of the Control Panel are special system folders but many are determined by a group of files with the extension CPL. Most of these files are in the folder \Windows\System32\; some that are part of application software may be elsewhere. To find which CPL files are on your system, go to Windows Search and search for all files with name *.cpl. The table below lists some of the common CPL files. CPL files can be used to directly access various features of Control Panel by opening them with either Rundll32.exe or Control.exe. By this means, scripts or shortcuts can be written for immediate access to particular functions. Commands using these files can also be entered into the Start-Run line. Note that some CPL files are multi-functional and require additional parameters to invoke the various functions. Parameters use the "@" sign and a zero-based integer. Tabs are denoted by additional indexes (not necessarily zero-based integers). More details are given in the section on shortcuts below.
Table Some Control Panel Applet Files
File
Function
Tabs (number in parentheses is index n discussed below)
access.cpl
Accessibility controls
Keyboard(1), Sound(2), Display(3), Mouse(4), General(5)
appwiz.cpl
Add/Remove Programs

desk.cpl
Display properties
Themes(5), Desktop(0), Screen Saver(1), Appearance (2), Settings(3)
directx.cpl
Direct X Control Panel (If Installed)

findfast.cpl
FindFast

firewall.cpl
Windows Firewall

hdwwiz.cpl
Add hardware

inetcpl.cpl
Configure Internet Explorer and Internet properties
General(0), Security(1), Privacy(2), Content(3), Connections(4), Programs(5), Advanced(6)
intl.cpl
Regional settings
Regional Options(1), Languages(2), Advanced(3)
jpicpl32.cpl
Java Control Panel (If Installed)

joy.cpl
Game controllers

main.cpl
Mouse properties and settings
Buttons(0), Pointers(1), Pointer Options(2), Wheel(3), Hardware(4)
main.cpl,@1 main.cpl keyboard
Keyboard properties
Speed(0), Hardware (1)
mmsys.cpl
Sounds and Audio
Volume(0), Sounds(1), Audio(2), Voice(3), Hardware(4)
netsetup.cpl
Network Setup Wizard

ncpa.cpl
Network properties

nusrmgr.cpl
User accounts

nvtuicpl.cpl
Nview Desktop Manager (If Installed)

odbccp32.cpl
ODBC Data Source Administrator

password.cpl
Password Properties

powercfg.cpl
Power configuration
Power Schemes, Advanced, Hibernate, UPS (Tabs not indexed)
sticpl.cpl
Scanners and Cameras

sysdm.cpl
System properties
General(0), Computer Name(1), Hardware(2), Advanced(3), System Restore(4), Automatic Updates(5), Remote (6)
telephon.cpl
Phone and modem options
Dialing Rules(0), Modems(1), Advanced(2)
timedate.cpl
Date and time properties
Date & Time(0), Time Zone(1), Internet Time (no index)
wuaucpl.cpl
Automatic Updates

wscui.cpl
Security Center




How to View/Disconnect Remote Desktop Sessions from Command

** Myself with web

How to View/Disconnect Remote Desktop Sessions from Command

Sol1)

I used to receive the maximum number of connections error message when I try to log on to the Windows 2003 Server in my office via Windows Remote Desktop.
The terminal server has exceeded the maximum number of allowed connections
clip_image001
This is pretty annoying if you have some urgent work to do in the server. Most of the already logged in users won’t even be using the session at the time, but I can’t login! So how to solve this? After a bit of googling, as usual, I found a simple way to disconnect other remotely logged in sessions. clip_image002

Pre-Step

How to use the "kill" command in Windows 2000 and "taskkill" command in Windows 2003

** Credit symantac http://seer.entsupport.symantec.com/docs/253904.htm and
window support http://support.microsoft.com/default.aspx?scid=kb;en-us;197155&Product=win2000
 
To use the kill command to stop the Backup Exec services, do the following:
1. Click Start | Run, and then type cmd and press <Enter>
2. At the command prompt, type kill benetns.exe. This will stop the Backup Exec Agent browser service (Figure 3).
Figure 3
clip_image001
kill process name or id
-or-
kill -f process name or id




###Example force kill for Backexec process hold dbbackex.exe (Killed on master server but client can’t terminate)
kill -f benetns.exe or kill –f 1868

###Example force kill for netbackup process hold dbbackex.exe (Killed on master server but client can’t terminate)
kill -f dbbackex.exe


3. Repeat steps 2 and 3 for each of the Backup Exec services. The process name will be different for each service. The easiest way to find out their names is to look at the Path to Executable field in the properties of each service. After all Backup Exec services are stopped, they can be restarted to continue using or troubleshooting Backup Exec.
Windows 2003
In Windows 2003,  use the taskkill command to stop the Backup Exec services. Do the
Loading