Skip to main content

Posts

Showing posts from 2017

Configure Timeout and Reconnection Settings for Remote Desktop Services Sessions

Configure Timeout and Reconnection Settings for Remote Desktop Services Sessions On the RD Session Host server, open Remote Desktop Session Host Configuration. To open Remote Desktop Session Host Configuration, click  Start , point to  Administrative Tools , point to  Remote Desktop Services , and then click  Remote Desktop Session Host Configuration . Under  Connections , right-click the name of the connection, and then click  Properties . In the  Properties  dialog box for the connection, on the  Sessions  tab, select the following options as necessary: Select the  Override user settings  check box, and then set timeout settings for  End a disconnected session ,  Active session limit , and  Idle session limit . Select the  Override user settings  check box, and then select one of the following reconnection settings:  Disconnect from session  or  End session . Click  OK . Changes to timeout and reconnection settings are not applied to sessions that are connected whe

Bluetooth Headphones

Hello Friends,  I wanted to buy Bluetooth headphones and that's why have started some research and came up with these two products. LG Tone Active+ HBS-A100 Bluetooth Stereo Headphones. SAMSUNG LEVEL U Bluetooth Headphones. LG Tone Active+ Headphones SAMSUNG Level U External stereo speakers  Multi-point access  IPX4 rated water and sweat resistant  Provides active pairing  Hi-Fi sound  Bluetooth Profile: 3.0  Fitness monitoring  Neckband design  Dual-mems microphones  6 months warranty  Advanced quad-layer speaker technology         Price 2500-3000/INR- Online Retractable Earbuds  Water & Sweat Resistant LG Tone Active+  Price 5999/- INR Croma 8999/- INR Amazon  

Last password reset.

Service account or application pool on multiple platform still sometime password  for these id's don’t work may be because someone else has changed it or we don’t have correct password which leads to confusion so, to avoid this confusion before resetting password I would recommend using following command to check when last time password was change. Get-aduser 'username' -Properties passwordlastset |Format-List

Netstat Command.

Geek Commands: - Commands save you during application load test :) netstat | findstr ESTABLISHED netstat | findstr LISTEN netstat | findstr CLOSE_WAIT netstat | findstr TIME_WAIT Showing PID used by Port netstat –o | findstr $portnumber Protocol statistics You are working on Protocol statistics for either any of this protocol (IPv4, IPv6, ICMPv4, ICMPv6, TCP or UDP) netstat –s netstat -s |Findstr Errors Getting routing Information This command will show us entire routing table. netstat –r Interface statistics: (sent and received details) netstat-e Getting Fully Qualified Domain Name of foreign address (remote host) netstat –f Finally finding port number for “Exe” or service This command can give you real time information about which exe is using which port and communicating on which foreign ip address. Command: - netstat -v -b

Talking computer- Powershell.

Fun stuff with Powershell scripting :) What happen when your computer start motiviating you to do better job ? :) i am not gone crazy. You just need one command to put your powershell script in startup which talks . Powershell -noninteractive -nologo "script path" You can certainly download my script and change to whatever you like to hear from computer. Please find attached powershell script. Note :- If you want to hear content in male voice just change line 5 to "$PowerShellSpeak.SelectVoice('Microsoft David Desktop') but if you want hear your computer in female voice use "$PowerShellSpeak.SelectVoice('Microsoft Zira Desktop')" Script: add-type -assemblyname system.speech $PowerShellSpeak = New-Object System.Speech.Synthesis.SpeechSynthesizer #Intro-Chrous $PowerShellSpeak.SelectVoice('Microsoft Zira Desktop') $PowerShellSpeak.speak("Good Morning") $PowerShellSpeak.speak(" The key to successful leadership toda

Powershell for pulling information from existing CSV

I was working on script which was suppose to pull information from existing .CSV file, another problem is you dont know when new file get generate and you have to fetch data from it.  hence what i did is wrote a code which pulls the information from latest file which got created recently under that particular folder. $file = get-childitem "Path" | select -last 1 Instead of  path put the share name or unc path without "". Write-host "File Selected - $($file.fullname)" This will give actually information about which file you are targeting to pull information. Script.:- $file = get-childitem "Path" | select -last 1 $ServerInfo = import-csv $file.fullname  $ServerInfo |? OU -eq 'General' | Export-Csv C:\TEMP\\Eapps_$currentdate.csv Write-host "File Selected - $($file.fullname)"

OSD or Onscreen menu is locked.

OSD or Onscreen menu is locked. I am having HP 20 Inch monitors on my Desk and was not able to change brightness and Sleep Timer etc for my monitor and was not able to get into the menu due to On Screen menu locked error. I know it's irritating issue. fix what i found for this is "Just hold menu button for 30 Sec and it will be solved. :)