Technical Blog

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Sunday, 7 June 2009

If Desktop Icon Disappeared/Deleted.

Posted on 10:35 by Unknown
If Desktop Icon Disappeared/Deleted. Follow the below steps to restore it.

Open Notepad

Paste the text bellow

[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar] Command=ToggleDesktop

Save the file as Desktop.scf and drag it to your Quick Launch bar.
Read More
Posted in Windows | No comments

Saturday, 6 June 2009

Script to check the Exchange database size

Posted on 13:15 by Unknown

Follow the below link for Script:

http://www.tek-tips.com/faqs.cfm?fid=5708
Read More
Posted in Exchange Server | No comments

How to Add Static route in Windows 2003

Posted on 12:48 by Unknown
Q) To display the entire contents of the IP routing table, type:

A) route print

Q) To add a default route with the default gateway address of 192.168.1.1, type:

A) route add 0.0.0.0 mask 0.0.0.0 192.168.1.1

Q) To delete the route to the destination 10.101.0.0 with the subnet mask of 255.255.0.0, type:

A) route delete 10.101.0.0 mask 255.255.0.0
Read More
Posted in Windows | No comments

You can force replication between DCs

Posted on 12:36 by Unknown
-> Start Active Directory Sites and Services.
-> Expand the Sites.
-> Expand the site that contains the DCs. (The default site Default-First-Site-Name might be the only site.)
-> Expand the servers.
-> Select the server you want to replicate to, and expand the server.
-> Double-click NTDS Settings for the server.
-> Right-click the server you want to replicate from.
-> Select Replicate Now from the context menu.

or
use the below command line tools for force repliction.
1) Repadmin 2)Replmon

GPUPDATE /force will cause policies to be re-applied/updated but some policies can only be applied fully at login and/or startup.
Read More
Posted in Windows Server 2003 | No comments

Is it ok to delete files in Compress old files in Disk cleanup tool?

Posted on 09:24 by Unknown

Compress Old Files doesn't delete any files from the drive. It compresses files that Windows hasn't accessed for a specified period of time. The files are still available, but there will be a slight increase in access times because the files will be decompressed the next time they are accessed. Note that when Compress Old Files is highlighted an Options button appears. Clicking it will allow you to set the number of days to wait before an unaccessed file is compressed.

So, if you delete the compressed files, you will lose data. Is it okay to do so? Well that is up to you and whether or not that data is important to you.
Read More
Posted in Windows | No comments

Monday, 1 June 2009

How to retrieve the total number of sessions on my Terminal Server?

Posted on 08:33 by Unknown
Type one of the following commands in a command window:

query session /counter

or

query user find "rdp-tcp#" find /c " Active "

If you are running Windows 2003 on your TS, you can also use the following script


(save it as SessionCount.vbs):

Set obji = GetObject("winmgmts:{impersonationLevel=impersonate}!Win32_Service='TermService'")
wscript.echo "Total sessions: " & obji.TotalSessions
wscript.echo "Disconnected sessions: " & obji.DisconnectedSessions

Run the script from a command prompt with:
cscript SessionCount.vbs
Read More
Posted in Windows Server 2003 | No comments

How to kill remote disconnected sessions?

Posted on 08:24 by Unknown
use a command line tools:

To list all sessions on a server: qwinsta /SERVER:servername

To end a session:

rwinsta {sessionname sessionid} /SERVER:servername

sessionname : Identifies the session with name sessionname.
sessionid: Identifies the session with ID sessionid.
SERVER: servername The server containing the session
Read More
Posted in Windows Server 2003 | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • SCCM / SMS Interview Questions
    Can you change a secondary site to a primary site? No. A secondary site is always a secondary site. It cannot be upgraded, moved, or changed...
  • Batch File to Map network drive.
    First, open up Notepad or your favorite text editor. Next, copy the commands as shown below and paste them into the file. Don't forget ...
  • Rename a Windows Server 2003 domain controller (DC)
    Follow the below link: http://windowsitpro.com/article/articleid/41055/how-can-i-rename-a-windows-server-2003-domain-controller-dc.html
  • Click here Batch Script ABCs (Basics)
    Batch Script Basics 1) http://www.computerhope.com/batch.htm#01 2) http://www.csie.ntu.edu.tw/~r92092/ref/win32/win32scripting.html
  • SQL Interview Questions
    What is Database engine? The Database Engine is the core service for storing, processing, and securing data. What is Quorum Disk? In the eve...
  • Step by step instructions to install Vmware ESX Server 3.x
    Follow the below link to install ESX. http://www.virtualizationtrainings.com/vmware-basic-trainings/installation-of-vmware-esx-server-3.5
  • How to uninstall McAfee Framewrok
    1 Go to the "Start" menu. 2 Click on "Run." This action will bring up the command line window. 3 Type "cd Program F...
  • Windows Server 2008 R2 Failover Cluster
    The minimum requirements to create a Windows Server 2008 R2 Cluster: Two or more compatible servers A shared storage Two network cards on ea...
  • Microsoft Exchange Server Interview Questions 2007/2010
    What's the difference between online and offline defrag? Online: E xc hange database online defragmentation occurs automatically as part...
  • What is the difference between server 2003 and 2008
    1. Hyper - V (only on 64bit Version) 2. WDS (Windows Deployment Service) Instead of RIS in 2003 server 3. Shadow Copy for Each and every fol...

Categories

  • Active Directory
  • Citrix
  • Downloads
  • Exchange Server
  • HPSA
  • IIS
  • SCCM
  • SCOM 2007
  • Scripting
  • SQL
  • Storage
  • VMWARE
  • Windows
  • Windows 7
  • Windows Server 2003
  • Windows Server 2008

Blog Archive

  • ▼  2011 (25)
    • ▼  November (5)
      • SQL Interview Questions
      • Windows 7 Deployment using MDT ( Microsoft Deploym...
      • Storage Interview Questions
      • Windows Server 2008 R2 Failover Cluster
      • IIS Interview Questions..
    • ►  July (1)
    • ►  June (1)
    • ►  May (3)
    • ►  April (12)
    • ►  March (3)
  • ►  2010 (12)
    • ►  June (1)
    • ►  May (3)
    • ►  April (8)
  • ►  2009 (24)
    • ►  November (1)
    • ►  July (1)
    • ►  June (16)
    • ►  May (2)
    • ►  March (4)
Powered by Blogger.

About Me

Unknown
View my complete profile