Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Tuesday 31 December 2019

Change the remote desktop port on server/desktop

RDP(Remote Desktop Protocol) is a proprietary protocol developed by Microsoft. When you connect the computer, the remote desktop feature  "listen" the connection request by default on port 3389.

You can change the RDP listening port on Windows computers/servers by modifying the registry. Use the below steps to change the default RDP port.
  • Start the registry editor (Type regedit in the Search box.) or type regedit in Run and click on OK.
  • Navigate to the following registry subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber
  • Click Edit > Modify, and then click Decimal
  • Type the new port number above 1024, and then click OK. 
  • Close the registry editor, and restart your computer/server.
After a restart, you may connect using the new RDP Port. If the firewall is running, make sure to configure your firewall to allow connections to the new port number. 

To connect the RDP using the new port, you need to enter IPADDRESS:PORT in computer address.

For security reasons, it's better to change the default RDP port and whitelist the IP address in your firewall for the RDP connection.












Thursday 21 September 2017

How to find Wi-Fi password

You can find WiFi password on windows computer of currently connected WiFi network or previously connected WiFi network.

You can find the connected WiFi password using "Network and Sharing Center" or "using command prompt".

Using Network and Sharing Center

You may open Network and Sharing center by going into control panel. You can easily do this by right click on Wireless Network icon in taskbar and click on "Open Network and Sharing Center".


Now click on connected WiFi.


Click on "Wireless Properties" in "Wi-Fi Status" Window.


Click On the "Security" Tab and enable the "Show Characters (Check Box)" to view the password.




Using Command Prompt

Using command prompt you may able to find any previously connected WiFi password.
You need to open command prompt with admin rights. Then Type below command.


  netsh wlan show profiles

It will list the all previously connected WiFi network. To find the password of particular profile type below command with replacing the profilename with profile.


  netsh wlan show profile name=profilename key=clear

Above command list all setting related to particular profile. Look for the "key content" to find the WiFi password for selected WiFi Network.

Saturday 7 January 2017

Install .NET framework 3.5 in windows 10 - Offline Method

Some application requires .net framework 3.5 to work. By default .net 3.5 framework is not install on your system. But user gets error while trying to install .net 3.5 framework from control panel using "Turn on or turn off windows feature" or some application try to download this features online and gets error due to poor internet connection.

To overcome this problem, windows has feature call Deployment Image Servicing and Management (DISM.exe) by using this you may install .net 3.5 framework. To use this feature you need the Windows 10 OS media.

To install net 3.5 framework using DISM.exe, follows below steps.
  1. Open Command Prompt as administrator. You may do this by  click All Programs, and then click  Accessories, Right-click Command prompt, and then click Run as administrator. If UAC dialog box appears then click on Yes to confirm.
  2. Now write below in cmd.


  Dism /online /enable-feature /featurename:NetFX3 /All /Source:DriveLater:\sources\sxs /LimitAccess

Where DriveLater is latter which windows assign to your windows 10 OS media.

Friday 25 November 2016

How to start browser in kiosk mode

Chrome and Internet Explorer includes a Kiosk Mode feature that allows you to access Web pages in full-screen mode. 

How to Start Chrome in Kiosk Mode

To start Chrome in kiosk mode, you need to create shortcut for chrome. You may create shortcut by navigation to the chrome installation directory (i.e. C:\Program Files\Google\Chrome\Application) and right-click on chrome.exe. After right click do this: Send to > Desktop.

After creating a shortcut of chrome, do the below step.
  • Go to the properties of the shortcut (using right click on shortcut > properties). 
  • Suppose you want to open web site "www.digneshptl.blogspot.in" in  kisok mode. Then you need to add -kiosk www.digneshptl.blogspot.in in Target filed of the shortcut tab.

        "C:\Program Files\Google\Chrome\Application\chrome.exe" -kiosk www.digneshptl.blogspot.in



You may put this shortcut in startup to open website in full screen mode at startup.

How to IE in Kiosk Mode

To start IE in kiosk mode, open run using "Windows + R"  type the below command in the box, and then click Ok.


                  iexplore.exe -k url

e.g if you need to open website www.msn.com then command will be "iexplore.exe -k www.msn.com". You may exit kiosk mode by pressing "ALT+F4"

You may also create shortcut and put into startup. So that it will open in kiosk mode at starting of the system.

For more information about IE kiosk mode you may visit Microsoft web site.




With help of www.microsoft.com


Saturday 25 June 2016

How to get hostname or MAC address using IP address of the system

Sometime you need to find hostname or mac address of the system for security purpose. You may find this using command "nbtstat" without physically present at required computer in your network.

To find hostname or mac address of system you must know the ip address of the system.Use below command to find

nbtstat -a IP address of the remote system

suppose you want to find hostname and mac address of  the system which is having ip address 172.16.16.16. You need to use command nbtstat -a 172.16.16.16 and output of command shown below.





Monday 11 April 2016

How to Unhide Permanently hidden file

You may found that file in your pen-drive are not visible and your are note able to unhide the same using properties of file.

This occurs due to virus.Viruses cause different type of damage on your computer. There are some viruses that will encrypt your file so you are force to buy the decryption key form the programmer. This type of virus knows as ransomware. There is another type of virus which will hide your file and folder by setting the hidden and system attributes to the files.

To see Hidden Files, Folder Do Following steps
  1. Go to Control Panel > Folder Options
  2. Now in Folder Options go to View Tab.
  3. Now Select "Show hidden Files, Folders and Drives" radial button and also Uncheck "Hide protected operation system files".
  4. Then click on Apply and Ok Button.

To change attributes of permanently hidden file or folder windows  have a attrib command. Syntax of attrib command as below.

 ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [+I | -I]
       [drive:][path][filename] [/S [/D] [/L]]

  +   Sets an attribute.
  -   Clears an attribute.
  R   Read-only file attribute.
  A   Archive file attribute.
  S   System file attribute.
  H   Hidden file attribute.
  I   Not content indexed file attribute.
  [drive:][path][filename] Specifies a file or files for attrib to process.
  /S  Processes matching files in the current folder and all subfolders.
  /D  Processes folders as well.
  /L  Work on the attributes of the Symbolic Link versus the target of the Symbolic Link

eg suppose virus permanently hide file or folders in your Drive. Then you can use following command. To run this command you have to run command prompt with administrative privilege.

"attrib -S -H  [drive:][path][filename] /S /D"













Tuesday 22 March 2016

Set IP Address using command in Windows

Some times require to set large number of static IP address in your company. Rather than setting it manually we can use batch file using "netsh"  command to set IP. After that you need to change IP address in batch file and run it on another Computer. "netsh" is windows utility which allows local and remote configuration of network devices. You can use below command to set IP address.

ipconfig /flushdns
ipconfig /release
netsh interface ip set address "Local Area Connection" static 10.195.82.113 255.0.0.0 10.195.82.1
netsh interface ip set dns name="Local Area Connection" static 8.8.8.8
netsh interface ip add dns name="Local Area Connection" 8.8.4.4  index=2
netsh interface set interface "Local Area Connection" disable
netsh interface set interface "Local Area Connection" enabled

where IP Address is 10.195.82.113 Subnetmask :255.255.0.0 Gateway:10.195.82.1 Primary DNS:8.8.8.8 and Secondary DNS is : 8.8.4.4

You may download script file from Here

Saturday 26 September 2015

Download YouTube video online

Its very simple to download YouTube video without any video downloading software. To download video follow below step.
  • Browse for the video, you want to download.
  • Copy full URL of video and paste it in savefrom.net website. Now click on download button and video downloading will start.

Monday 13 July 2015

How to enable extending formats and formulas in MS Excel 2007

To apply same formula or format to new raw after the row that contains the formula you must enable "Extend data ranges formats and formula" in excel. To enable this function do following.

  • Click on Office Button (1) in Excel. Now click on Excel Options (2).

  • In Excel Options click on Advance. 

  • In right-pane Check the checkbox "Extend data range formats and formulas"  and Click on "Ok".

With help of Microsoft office website.


Tuesday 5 May 2015

Block website using Host file

It`s a simple way to block website using hosts file. In windows 7 it`s located at "C:\Windows\System32\drivers\etc". Hosts file contain ip address and hostname. 



To edit host file you must have administrative privilege.

  • Open notepad with  administrative privilege. Click on start > All Programs> Accessories. In Accessories right click on notepad and click on "Run As Administrator".





  • In Notepad click on File menu and Click on Open..(Ctrl + O). Now browse for host file with above path and open the "hosts" File. You may also drag and drop hosts file on notepad.

Note : Hosts file contain ip address and hostname. Lines starting with d character are commented line and which is ignore by the system.

  • Suppose you want to block website abc.com then add line like "127.0.0.1 abc.com" in hosts file. IP address 127.0.0.1 is IPV4 loopback address. "localhost" resolves to the loopback address. That means you mapped abc.com to your system so you cant access to abc.com.

Sunday 4 August 2013

How to Create Password Protected RAR

To Lock the RAR do following.
  • Make the RAR of Folder or File you want to protect.
  • Suppose you want to protect Folder with name DIGNESH. Right Click on folder and make it RAR.

  • Now Open DIGNESH.rar and Click on File Menu.
  • Now Click on Set Default Password or Press Cltr + P.


  • Enter your desire Password and Check all Check Box and click on Ok.

  • Now click on Commands in menubar and in Commands, click on Lock archive or press Alt + L.



  • Set Percentage of archive size to 10 and click on Ok.



  • Close the DIGNESH.rar and open once again DIGNESH.rar. Its require password to open it.

  • To open the DIGNESH.rar just enter your password and click on Ok.




Wednesday 8 May 2013

Prohibit Access to Drives From My Computer

To stop access to your Drive do following step.
  • First goto Run, then type gpedit.msc and click on Ok. It will open the Group Policy wizard.
     


  • Now select Windows Explorer In User Configuration > Administrative Templates > Windows Components.

  • Now in right side setting wizard click on Prohibit access to the drives from My Computer. A  new wizard shown. 

  • Suppose we want to prevent access to  C Drive. Select Enable radial button and select Restrict C Drive only from drop down list and Click on Apply and Ok.

  •  Now run command gpupdate



Wednesday 1 May 2013

Hide Local Drive Partition Using Command Prompt

Sometimes it's necessary to hide your HDD Partition for security reason. For this do following step.

  1. Press Windows Key + R to open Run.
  2. Now type cmd into run and click on OK to open Command Prompt.
  3. Command Prompt Windows appears. Type command diskpart and press Enter.
  4. Type list volume to list number of drive on your Computer.
  5. Suppose I want to hide disk partition G. For that i will type command selecet volume G into command prompt and press Enter Key.
  6. To hide drive G type command remove letter G and press Enter.
  7. After step 6 hard drive G will disappear form drive list as shown in below image.

 How to Un-Hide your Local Drive with Windows CMD

  1. Follow step 1-4 explained above, now select the volume which  hide by typing select volume G into the command prompt and then press Enter key.
  2. To do this type select volume 7 and press Enter. Now type assign letter G to make visible hidden drive G.

Saturday 16 February 2013

Convert PowerPoint to Word

Converting PowerPoint to Word Document is very easy task. I have mentioned two ways to do this.It can be done by below steps.
 
1.      Publish PowerPoint2007 to Word Document
  • Open PowerPoint Presentation.

  • Click on Office button > Publish > Create Handouts in Microsoft Office Word.

 

  • This open Send To Microsoft Office Word wizard. You can select different page layout for Microsoft Office Word.


2.   Save PowerPoint Outline as Microsoft Office Word Document
  • Open PowerPoint Presentation.
  • Click on Outline of PowerPoint.

  •  Click on Office Button > Save As > Other Formats.

 

  •   Select Outline/RTF in Save As type and click on Save.


  •  Now open Word File. It shows all text content written in PowerPoint Presentation.