Important
To filter the blog, please use theses tag:
General news.
Website related post
website.
parental-control about technology.
technology post.
Note
All blog links are archived here.
Hi everyone
In some instance you might have to use a smartcard inside a windows session, using the smartcard in Internet Explorer, not to login to the VM, it's a simple scenario, but in some occasion it can be a headache.
Imagine you have some terminal;
That will force you to do a redirection of the USB device;
That way with a Wyse;
Device=vusb ForceRedirect=0x08E6,0x0000,0x00,0x00,0x00 (You have to replace the ID with the Smart Card ID you have)
Now if you connect to a Windows's OS hosted with XenDesktop you will have another problem, the VDA's agent badly handle the said smartcard, thus you have to remove that CtxHook
You simply erase the folder Smart Card Hook

You reboot the Windows session, and voila, the next time you will have to use your smartcard in Internet Explorer the prompt will display and work as expected !

Hi everyone
In your vSphere do you happen to have Windows 7 or 10 streamed VM that got in a reported as in an Unknown Power State ? if yes please follow my tip.
From that screen you remove that VM from your DDC inventory.

On the vSphere you remove it too from the inventory, don't delete from disk

You click to browse your datastore

On your VM .vmx you right click to

You follow that wizard

Now you return in the DDC, you need to re-add that machine

In your desktop group your re-add it too;

Now both system will be syncro !
Hi everyone
Today I stumbled into a bug;
From a DC to another DC when I try to naviguate to the server fileshare I got that error;
Logon Failure: The target account name is incorrect
I checked the DNS's console, and from the faulty DC the console don't open too.
After checking all around, the DFS is dead, the server is no more responding to anything and oh well, it's tombstone.

At that point first thing I did is;
net stop kdc
After that a netdom;
netdom reset passwd /Server:DC2 /UserD:domain\administrator /PasswordD:*
netdom reset passwd /Server:DC2 /UserD:domain\administrator /PasswordD:*
Type the password associated with the domain user:
The machine account password for the local machine has been successfully reset.
The command completed successfully.
I did a restart, now the DNS's console open, but I still got a account error, thus I run the netdom against the other DC as well, another restart and voila! It work as expected !
A good article related to mine is there; Domain controller is not functioning correctly
Hi everyone
Yesterday I stomped into a new bug, I wanted to share it with you guys.
After some Windows Update on a Server 2008 R2, I got that wonderful message from the service manager for the DNS server service:
Windows could not start the DNS Server service on Local Computer.
Error 1717: The interface is unknown.
![]()
After some research I found this blog post and some Microsoft KB that talk about the EventLog that can have bad permission, thus I resetted those permission:
Per the MS KB, it's those I need to set: (KB there: Error message when attempting to start the Windows Event Log Service: "Access denied")
Restore the default permissions on %SystemRoot%\System32\winevt\logs.
Authenticated user - List folder/read data, Read attributes, Read Extended attributes, Read permissions
Administrators - Full control
SYSTEM - Full control
EventLog - Full control
After that, the service still give me an Access Denied 5 error, now I simply moved all EventLog file from that folder to a backup folder, and I tried to restart the eventlog service, and now it was working ok !

After that change the DNS Server Service was able to start with the eventlog ! :)
Hi everyone
Today I will discuss a small tip used when you migrate a file server to another domain.
The goal is to prevent all user to see the warning that file can be dangerous, as the client OS detect and treat that old domain as a internet domain, not an internal's domain when the migration is finished.
An easy way is with Unblock-File commandlet from powershell.
Naviguate into your server, and issue that powershell command:
Get-ChildItem c:\path -recurse | Unblock-File

That will prevent that dialog from all the files:

Enjoy the small tip