Friday, November 25, 2016

Change rdp default port

If you have many computers at home or on a network and you have to connect to them remotelly using RDP you will have to change the default port and set a different one on every computer so you can then set the port forwarding rules on your wan router.

To change the default port you have to edit the registry.
Open regedit and navigate to :
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber

Change the port for ex to 3390 , 3391 etc and then set the port forward rules mapping the port to a fixed ip. You can either set the computers with fixed ip or map them in the dhcp server with ip & mac binding or Reserved IP Address.

You can use check open port to check if your port forwarding is working properlly and the rpd service is listening to the specified port.

Thursday, September 1, 2016

No user name in task manager windows xp

To solve this open services : services.msc or in control panel.
Find Terminal Services and activate it and set it to Automatic.


Enjoy!

Wednesday, July 27, 2016

The trust relationship between this workstation and the primary domain failed

You can get this message if you restore a virtual machine, or have a raid problem and restore a raid 1 mirror from a slightly older hdd. I got and offline member for two weeks without noticing and then the second hdd when bad so i could not boot anymore.
Reactivated the offline member and changed the bad hdd rebuild the raid and then you get the error message while trying to access the domain.

Also got this but making an image of a pc in the domain and restored it a few month later to a new pc, then could not add it to domain.

You can try to remove it from domain and add it back and it should work.
Or (you need at leas Power shell 3.0 or upgrade to it if not) then run:
Reset-ComputerMachinePassword

Add user from cmd with admin writes and change password for admin account

To add a new user open cmd with administrator writes :

net user Username /add password

The user is a limited user. To give administrator writes :

 net localgroup administrators Username /add

To delete a username :

net user Username /del

To change the password of a user if you cannot access any windows account.
Boot from a usb and access the windows partition.
Go to C:\Windows\System32\
rename sethc.exe to sethc_.exe
copy cmd.exe and rename it to sethc.exe 

Boot to windows, when at login screen pres SHIFT key 5 times, and instead of the sticky keys message you get a cmd with admin writes.

Next change password with :

net user Administrator 1234 

Tuesday, July 26, 2016

Windows could not complete the installation

While installing windows at the end of the installation you get an error message and remains stuck in a loop.


Press SHIFT+F10 to open a cmd
cd %windir%\system32\oobe\
msoobe.exe

and then press ok to the error message and restart.

Monday, July 25, 2016

Intel Raid error occurred (0) offline member status failed

On Intel® Matrix Storage raid  you can get the errors :

error occurred (0)  - the controller has encountered read/write errors (the hdd has bad sectors) and should be replaced
 offline member - for some reason the hdd is offline and not active in the raid so the hdd is unused, you can get with this one in raid 1 with mirror as you will still be able to boot.

If you get an offline member and don't do anything and then you get an error occurred (0) as i got on a Supermicro X7DB3 server you will not be able to boot in os anymore.

How to fix it ?
Remove the error occurred(0) hdd - you can try by removing one by one restart and check raid members hdd status, then access the raid utility by pressing CTRL+I
and you will be asked to reactive the offline member.

Next buy a new hdd to change the error occurred(0) hdd and it will rebuild the raid back, you can still boot to windows just with one hdd until you get a new one.


Error Occurred(0) Degraded
RAID Rebuild
Offline Member Error Occurred(0) Failed

To see the status of the raid rebuild install :  Intel® Matrix Storage Manager.
You can get it from here :
https://downloadcenter.intel.com/search?keyword=Intel%C2%AE+Matrix+Storage+Manager

Intel® Matrix Storage Manager rebuilding


Monday, July 18, 2016

0x0000007b Blue Screen - no storage device found

0x0000007b Blue Screen

This means that windows cannot access the storage device.
Usually you have to go to bios and change sata from ahci to ide if this comes after windows installation.
If it appears while installing windows you have to provide storage drivers by pressing F6  

Tuesday, July 12, 2016

How to compress pictures

You need to get :  Microsoft Office Picture Manager. You can get it for free by downloading :
 Download SharePoint Designer 2007  - chose custom install and then select only “Picture Manger”



Next you have to select how much to compress depending on what usage you have for the picture in mind.

Sunday, June 19, 2016

Add date and time to photos or timestamp them

Download and install : FastStone Image Viewer. It is a freeware program.
http://www.faststone.org/FSViewerDetail.htm

Next open the program and select Tools - Batch Convert Selected Images or F3
Next check the  Use Advanced Options and Select the Advanced Options button that appeared.
Select the Text tab - Insert button/dropdown menu - Date Time

You can customize position and font of the text by the red marked buttons.
Next select an output folder and press convert.


Saturday, June 4, 2016

Disable yahoo news :

Open Yahoo Mail app
Drag from left margin to open the side menu, scroll down to Settings
 In the General section you have Notifications
First line should be News notifications settings - move the Enable notifications to off.

Friday, June 3, 2016

Auto enter product key in office setup

If you have a key and want to start setup with key already inserted you have to edit a file from the installation cd and add the key.

Go to office folder and search for a folder with ww ending like ProPlus.WW, Student.WW etc
There open config.xml
and search for the line
<!--      <PIDKEY Value="AAAAAAAAAAAAAAAAAAAAAA" />  -->
remove <!-- and --> and replace AAAA or what is there with your cd-key without the - between the groups.


For older office 2003 go to \Files\Setup
open Setup.ini
add a line :
PIDKEY=AAAAAAAAAAAAAAA

Tuesday, May 10, 2016

How to add raid drivers in windows xp to Install windows xp f6 without floppy

I have been struggling to install a windows xp on a raid array.
In most cases windows does not have included drivers for ahci/raid controller will not detect no storage device and you will get a blue screen with stop code : 0x0000007B 

To solve this problem you can press F6 when the install starts but xp only accepts floppy disks that are absolute. You could buy one if you want, and better get some new floppy disks as well, as I once tried for one hour to write some drivers on some old floppy disks I had lying around.

The other way to do it is like this :
1. Extract an xp home or professional 32 or 64 whatever you need to install to a folder.
2. Download nLite and install it

    - open nLite and select the folder where you extracted the windows image and press next
    - on the next screen with preset just press next without doing nothing
    - on the next screen select/activate Drivers and Bootable ISO and press next
    - on next screen press the Insert button and select multiple driver folder - and when you are provided with a list of drivers select them all - if you have more folders or you are not sure witch are the good ones just select again Insert - multiple driver and add more
- press next to start the process and then Make ISO button

Write the image to a cd and you not get the blue screen and be provided with the install menu.

Saturday, March 26, 2016

Bluetooth handsfree / headsets with caller id on android or iphone

To be able to hear caller name in you bluetooth headset it must support the bluetooth protocol PBAP or Phone Book Access Profile - aka caller announce feature.

Plantronics has 3 headsets that offer this feature : Voyager Legend, Voyager Legend UC (B235/B235-M), Voyager Edge.
From Jabra : JABRA EXTREME2


If your headset does not support the protocol no play-store app will help you - I tries dozens of them.

Other bluetooth headset protocols are :

  • A2DP (Advanced Audio Distribution Profile):you can listen to audio from the phone (music, gps indications, youtube etc)
  • HFP (Hands Free Profile) : you can redial last number and activate voice dialing
  • AVRCP (Audio/Video Remote Control Profile) : control audio from device : stop, play, forward, backwards etc

Wednesday, March 23, 2016

Black title bar in Internet Explorer 8


Go to System Properties - Advanced - Performance - Settings
and select Adjust for best appearance and then back to what setting you want.

It usually happens when you change windows theme.

Monday, March 14, 2016

Change a partition letter without disk management

The easy way is to open Disk Management (diskmgmt.msc) and right click and chose change partition letter. But for ex in windows embedded posready 2009 you do not have this option.

Open regedit and navigate to HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
Rename \DosDevices\D: to \DosDevices\E:  for ex and then restart windows.


Sunday, March 13, 2016

VirtualBox showing only 32 bit os

Search for Turn windows features on or off
and deselect Hyper-v
Restart windows.

Tuesday, March 8, 2016

Resolve host name from IP address

For a windows machine you can check netbios records : 
 
nbtstat -a 192.168.1.50
 

To release or renew a DHCP ip type from cmd :
ipconfig /release 
ipconfig /renew

Hosts - file location : %SystemRoot%\System32\drivers\etc\hosts

To flush dns : ipconfig /flushdns

Monday, February 8, 2016

Free space on windows partition - Disable Hiberfil.sys and change virtual memory partition

1. Run cccleaner and free temporary files.
You can access temp folder by : %temp% manually

2. Disable Hiberfil.sys - around 4gb of space
Easiest mother open a cmd with administrator rights and type :
powercfg.exe -h off
powercfg.exe /hibernate off

3. Move Virtual Memory to other partition :
Open System Properties - Advanced -> In Performance section select - Settings - Advanced -> Virtual Memory - Change - Set to No paging file on windows partition and the select other partition and set it to System Managed size