Showing posts with label Microsoft. Show all posts
Showing posts with label Microsoft. Show all posts

Enable 'Appear Offline' status on Lync 2013

Most of us use Microsoft Lync 2013 at work. There could be various occasions when one might have wanted to be online but invisible to contacts. I bet the ‘Managers’ want this badly.

By default, Microsoft Lync 2013 enable users to set their presence to one of the following six states:-


There is a way to enable ‘Appear Offline’ mode in Lync 2013. When a user selects this option, he or she appears to be offline. In fact, all of the user’s contacts see a presence icon indicating the user is offline.

For the users to have the option of "Appear Offline" you must create a new registry key and registry value on the computer running Lync 2013.

Caution:
Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.

Here are the steps:-

To add Registry entry using Command Prompt

1. Open Command prompt with Administrative privileges.
2. Type or copy paste below registry entry and press Enter button from Keyboard.

reg add HKLM\Software\Policies\Microsoft\Office\15.0\Lync /v EnableAppearOffline /t REG_DWORD /d 1 /f 

3. Now Exit Lync 2013 and reopen the same. Now you will “AppearOffline” status.


To add Registry entry using Windows Registry

1. Open Registry and go to

HKLM\Software\Policies\Microsoft\Office\15.0\Lync

Note: If you are unable to see any folder then create folder.

2. Right click on blank space and select REG_DWORD (32 or 64 bit) per machine.
3. Type value name as ‘EnableAppearOffline’ and value data is “1”.


4. Now Exit Lync 2013 and reopen the same. Now you will “AppearOffline” status.

Use Office Communicator in 'Appear Offline' Mode

Most of us use Microsoft Office Communicator at work. There could be various occasions when one might have wanted to be online but invisible to contacts. I bet the ‘Managers’ want this badly.

By default, Office Communicator 2007 R2 enable users to set their presence to one of the following five states:-


There is a way to enable ‘Appear Offline’ mode in Office Communicator. When a user selects this option, he or she appears to be offline. In fact, all of the user’s contacts see a presence icon indicating the user is offline.

For the users to have the option of "Appear Offline" you must create a new registry key and registry value on the computer running Office Communicator.

Caution:
Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.


Here are the steps:-
  1. Log on to a computer that is running Office Communicator.
  2. Click Start, and then click Run.
  3. In the Run dialog box, type regedit, and then press ENTER.
  4. In Registry Editor, expand HKEY_LOCAL_MACHINE, expand Software, expand Policies, expand Microsoft, click Communicator.
  5. Right-click the Communicator registry key, point to New, and then click DWORD (32-bit) Value.
  6. After the new value is created, type EnableAppearOffline to rename the value.
  7. Double-click the new EnableAppearOffline registry value.
  8. In the Edit DWORD (32-bit) Value dialog box, type 1 in the value data box, and then click OK.
 

After making above change, exit from Office Communicator (from system tray) and relaunch it. After signing back to Office Communicator you should able to see "Appear Offline" on the  option of the Office Communicator.

How To Check Windows Last Boot Up Time

If you’ve ever wondered just how long your PC has been continuously running without a reboot and you are using Windows NT, 2000, XP, Vista or 7, there are a couple of simple ways to obtain this information using tools built right into the OS.

Method 1: Windows NT/2000 and XP
Open up the command prompt (Start > Run > cmd > Enter/Ok). When the command prompt has loaded type “net stats srv” (or “net statistics server”).


Method 2: Windows XP and beyond
Alternatively, you can use the command prompt to obtain system information, type “systeminfo” which will also provide you with your PC’s uptime.

Method 3: Windows Vista and beyond
For those on Vista or Windows 7, things are a little easier (although the above will work just fine). Right click the taskbar and choose “Task Manager” or “Start Task Manager”. Head over to the “Performance” tab and on the bottom right of the window you ought to see your system uptime.


EXCEL 2010 : Changing data from horizontal cells to vertical cells and vice-versa.

How to change data data from horizontal cells to vertical cells and vice-versa?

Example :-

1.12
1.13
2.14
2.15
to
1.12  1.13  2.14  2.15

Solution:-

-Copy your data using Ctrl+C.
-Choose the cell where you want to paste your data.
-Go to the Edit Menu and choose "Paste Special".


-In the paste special dialog box choose "All" and click the "Transpose" option and then click Ok.

How To Check Your Operating System And Windows Version

Its real simple.. Just follow the step by step procedure.

1> Click On " Start "



2> Click On " Run "



3>In the run window type "winver" and press Enter key or click on the " ok " button.



And there you have the details of your operating system windows version.

Windows Registry

What is the Registry ?

The Registry is a database used to store settings and options for the 32 bit versions of Microsoft Windows including Windows 95, 98, ME and NT/2000. It contains information and settings for all the hardware, software, users, and preferences of the PC. Whenever a user makes changes to a Control Panel settings, or File Associations, System Policies, or installed software, the changes are reflected and stored in the Registry.

The physical files that make up the registry are stored differently depending on your version of Windows; under Windows 95 & 98 it is contained in two hidden files in your Windows directory, called USER.DAT and SYSTEM.DAT, for Windows Me there is an additional CLASSES.DAT file, while under Windows NT/2000 the files are contained seperately in the %SystemRoot%\System32\Config directory. You can not edit these files directly, you must use a tool commonly known as a “Registry Editor” to make any changes (using registry editors will be discussed later in the article).

Structure of The Registry

The Registry has a hierarchal structure, although it looks complicated the structure is similar to the directory structure on your hard disk, with Regedit being similar to Windows Explorer. Each main branch (denoted by a folder icon in the Registry Editor, see left) is called a Hive, and Hives contains Keys. Each key can contain other keys (sometimes referred to as sub-keys), as well as Values. The values contain the actual information stored in the Registry. There are three types of values; String, Binary, and DWORD – the use of these depends upon the context.

There are six main branches, each containing a specific portion of the information stored in the Registry. They are as follows:
  • HKEY_CLASSES_ROOT - This branch contains all of your file association mappings to support the drag-and-drop feature, OLE information, Windows shortcuts, and core aspects of the Windows user interface.
  • HKEY_CURRENT_USER – This branch links to the section of HKEY_USERS appropriate for the user currently logged onto the PC and contains information such as logon names, desktop settings, and Start menu settings.
  • HKEY_LOCAL_MACHINE – This branch contains computer specific information about the type of hardware, software, and other preferences on a given PC, this information is used for all users who log onto this computer.
  • HKEY_USERS – This branch contains individual preferences for each user of the computer, each user is represented by a SID sub-key located under the main branch.
  • HKEY_CURRENT_CONFIG – This branch links to the section of HKEY_LOCAL_MACHINE appropriate for the current hardware configuration.
  • HKEY_DYN_DATA – This branch points to the part of HKEY_LOCAL_MACHINE, for use with the Plug-&-Play features of Windows, this section is dymanic and will change as devices are added and removed from the system.
 Each registry value is stored as one of five main data types:
  • REG_BINARY – This type stores the value as raw binary data. Most hardware component information is stored as binary data, and can be displayed in an editor in hexadecimal format.
  • REG_DWORD – This type represents the data by a four byte number and is commonly used for boolean values, such as “0″ is disabled and “1″ is enabled. Additionally many parameters for device driver and services are this type, and can be displayed in REGEDT32 in binary, hexadecimal and decimal format, or in REGEDIT in hexadecimal and decimal format.
  • REG_EXPAND_SZ – This type is an expandable data string that is string containing a variable to be replaced when called by an application. For example, for the following value, the string “%SystemRoot%” will replaced by the actual location of the directory containing the Windows NT system files. (This type is only available using an advanced registry editor such as REGEDT32
  • REG_MULTI_SZ – This type is a multiple string used to represent values that contain lists or multiple values, each entry is separated by a NULL character. (This type is only available using an advanced registry editor such as REGEDT32)
  • REG_SZ – This type is a standard string, used to represent human readable text values.
 Other data types not available through the standard registry editors include:
  • REG_DWORD_LITTLE_ENDIAN – A 32-bit number in little-endian format.
  • REG_DWORD_BIG_ENDIAN – A 32-bit number in big-endian format.
  • REG_LINK – A Unicode symbolic link. Used internally; applications should not use this type.
  • REG_NONE – No defined value type.
  • REG_QWORD – A 64-bit number.
  • REG_QWORD_LITTLE_ENDIAN – A 64-bit number in little-endian format.
  • REG_RESOURCE_LIST – A device-driver resource list.

DHCP PROCESS Summary

Why do we need to know the DHCP lease Process? Because you are sitting in MCSE class, or you will try to go another job and someone in the interview, just like me will ask you the process. Perhaps you are doing troubleshooting why client is not getting IP address from DHCP server and you forgot to see the ports 67 and 68 was blocked. In any case knowing your stuff is going to make you smart and stronger. I recommend keep memorizing below simple process just in case if you ever been any of the situations I have speculated.

In TCP/IP little world a device cannot communicate to any other device unless it has an IP address. Now think about, XP client who has not have any IP address yet, able to locate the DHCP server and ask for an IP address. IN logic world you should say, hey wait a second how come client even can talk to DHCP server, client does not have any IP Address yet. ???????. If you wonder about the answer keep reading.
  • At the time of the lease request, the client doesn't know what its IP address is, nor does it know the IP address of the server. To work around this, below how client is able to talk to a DHCP server
  • Client uses 0.0.0.0 as its address and assumes 255.255.255.255 for the server's address.
  • DHCP discover message on UDP port 68 and destination port 67.
  • The discover message contains the hardware MAC address and NetBIOS name of the client.
  • Once the first discover message is sent, the client waits 1 second for an offer. If no DHCP server responds within that time, the client repeats its request four more times at 2-, 4-, 8-, and 16 second intervals, if the client still doesn't get a response, it will revert to Automatic Private IP Addressing (APIPA) and Continue to broadcast discover messages every 5 minutes until it gets an answer. With APIPA, (169.254.X.Y) The Windows client will automatically pick what it thinks is an unused address.
DHCP lease is 4 way Process as listed below.
  • DHCP – discovery (The discover message contains the hardware MAC address and NetBIOS name of the client.)
  • DHCP - Lease offer
  • DHCP - lease request
  • DHCP- Lease acknowledgment
To keep memorize the process use simple map below
  • DD ( DHCP Discovery)
  • LO (Lease Offer)
  • LR (Lease Request)
  • LA (Lease Acknowledgment)