Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Sunday, January 18, 2015

Remote desktop connection: Authentication error has occurred (Code: 0x80004005)

Usually i connect to my other machine without any problems, one time suddenly i was receiving this error:

Authentication error has occurred (Code: 0x80004005)

And here is my experience with it, searching for it found this post saying that it could because of third party software or antivirus. Then i remembered that sometimes when i had fiddler open on my machine, i get authentication errors from outlook and some other clients that are unable to connect with the server on secure connections, i figured out that this could be the reason, that i have fiddler open in my machine and it is blocking the authentication.

So i needed to shut down fiddler on my remote machine, i remember that PsTools allows executing commands on remote machine, Then i found this article on steps to run PsKill to kill process on remote machine.

All i needed to do is:
- Download PsTools, then extract it
- Start command prompt in elevated mode (run as administrator)
- Go to PsTools extracted folder on run the command

pskill.exe \\MachineName -u username -p password Fiddler

Should take some time and come back with

Process Fiddler killed on MachineName

Trying to remote connect to my machine after that, worked as usual.

Wednesday, December 17, 2014

Windows 8 apps opening problem

On my work PC i had this issue, domain account on windows 8, and whenever i tried to open any of windows 8 apps, it is opened and disappears and the window is not displayed.
When i searched i found lots of articles taking about windows apps issues, but all didn't help. I found helpful articles when i searched with the error i found in event viewer like:


Activation of app windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel failed with error: This app does not support the contract specified or is not installed. See the Microsoft-Windows-TWinUI/Operational log for additional information.

I found the solution in couple of articles

I can't open any Windows 8 apps including PC Settings and Store
Fix Windows 8.1 Cannot Launch “PC Settings” or “Store” Problem

Running the below commands solved the problem

powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\camera\AppxManifest.xml
powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\FileManager\AppxManifest.xml
powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\ImmersiveControlPanel\AppxManifest.xml

Thursday, October 18, 2012

Folder options: Setting “show hidden files and folders” doesn’t work after virus infection

After removing a virus from my friends machine, showing hidden files wasn’t working, whenever I set the folder options settings for hidden files and folders, to show all files, it is reverted back to hide them

I found this post that solves this problem

http://techsalsa.com/fix-the-problem-of-show-hidden-files-and-folders-getting-reset/

Steps to fix the problem:

1.    Now open registry editor and navigate to the entryHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folders\Hidden\SHOWALL

2.    On the right side see the entry named “CheckedValue”, if the value is set to ’0′ change it to ’1′.

3.    The “DefaultValue” under the “CheckedValue” should be set to ’2′.

I followed the steps, then I was able to view hidden files

Monday, May 23, 2011

Allowing concurrent user terminal sessions on windows 2008

We had a server running windows 2008, we were several persons working on the same machine at the same time, we all were using one user credentials. Each time one of us was connecting remotely to the server, it was disconnecting the other person who was working at that time, so only 1 session was allowed per user on the server

I was looking for the option to enable multiple sessions per user, doing some search, finally i found it

Click on start
Type "Remote desktop session host configuration" and hit enter
You will find an option on the screen that says "Restrict each user to a single session"

Double click that option, and uncheck this option and click OK



Then you will be able to connect several users remotely to windows 2008 using the same user credentials