debian problem with locale

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
I tried setting the locales with:
sudo dpkg-reconfigure locales

and on raspberry pi with:
sudo raspi-config

But it still didn’t work. You actually need to change the ssh client settings from the computuer where you are connecting from.

Change in:

#SendEnv LANG LC_*

admin on January 6th 2016 in General

No Comments »

Delay when making a right click on the desktop

I had a up to 3 second delay each time I right clicked on the desktop or on a folder and this is actually caused by the context menu of the Intel Graphic Driver.

Deleting the Intel Graphic Driver from the context menu fixed it for me:

admin on December 22nd 2015 in IT, Windows

No Comments »

Shortcut to login with local Administrator on Windows


admin on December 22nd 2015 in IT, Windows, Windows Server

No Comments »

automatically download subtitles and add it to vlc

Because English is not my mother tongue and I can’t always follow dialogues in movies, I wished a couple of times that there would be a easy way to add subtitles. You can add subtitles with VLC without extension but then you need to have the file already or you need to search in the internet for it.
Luckily you can extend vlc with a great subtitle plugin which automatically searches the internet and finds a suitable subtitle. This saves you some time and steps.

  1. Download the extension:
  2. Copy the files into the following directory:
    Windows: C:/Program Files/VideoLAN/VLC/lua/extensions/
    Mac OS X: /Applications/
    Linux: ~/.local/share/vlc/lua/extensions/
  3. Restart VLC Player
  4. Now you should find a new entry for VLSub under extensions.

admin on December 19th 2015 in IT, Linux, MAC, Multimedia, Windows

No Comments »

Upgrade from Windows 2012 Standard to Enterprise Edition

DISM /Online /Set-Edition:ServerDatacenter /AcceptEula /ProductKey: *****-*****-*****-*****-*****

admin on December 11th 2015 in IT, Windows Server

No Comments »

Deploy ODBC Setting with Windows Authentication via GPO

You can actually deploy ODBC Settings via GPO very easily.

Computer Configuration > Preferences > Control Panel Settings > Data Sources
User Configuration > Preferences > Control Panel Settings > Data Sources

ODBC Example with Windows Authentication
New > Data Source
Action: Replace
Data Source Name: Test
Driver: SQL Server

Database: DBName
Server: SQLServer

admin on September 26th 2015 in IT, Windows, Windows Server

No Comments »

Compact a vhdx disk

After you delete files from vhdx disk I noticed that it doesn’t free up disk space on a dynamic vhdx file.

Make sure the vhdx file is mounted read-only or not at all and run following command to free up disk space:
Optimize-VHD –Path C:\Data\Test.vhdx –Mode Full

Important: I could just run this command from a computer where Hypver-V role was installed.

admin on May 19th 2015 in IT, Windows Server

No Comments »

Install the IPAM Server on Windows 2012 R2

If you have multiple DNS, DHCP, NPS Servers you can install an IPAM-Server to manage them. It also gives you a good overview and statistics.

Important: The IPAM feature can’t be installed on a DC and the computer needs to be joined to the domain. It should also not be on a DHCP/DNS Server.

Quick step by step guide to install it:
1. Install the IPAM-Feature
You will be asked to choose between an WID DB or an MS SQL Server and to pick a GPO name prefix to provisione the servers with a GPO. I picked the WID DB and as GPO name prefix IPAM.

2. Configure IPAM
Connect to IPAM Server
Provision the IPAM Server
Configure Server Discovery (Pick the Domains)
Start Server Discovery

3. After that you will notice that the servers will be populated but showed as blocked. To manage them install the GPOs on the DCs and add the IPAM Server to the Builtin\Event Log Readers Group.

Run following command to install the GPO’s in the powershell as an administrator:
Invoke-IpamGpoProvisioning -Domain -GpoPrefixName IPAM -IpamServerFqdn –DomainController

Now you should see in the Group Policy Manager three new GPOs:

Make sure that in the Security Filtering all the servers which should be managed are added.
Then run a “gpupdate /force” on all the servers.

Then add the IPAM-Server to the Builtin\Event Log Readers Group

4. Even I did everything above it still didn’t show up as unblocked in the IPAM Server Inventory. The trick was to edit the servers manually and untick and tick again the DNS-Server. After that it worked like a charm;-)

admin on April 20th 2015 in IT, Windows Server

No Comments »

Can’t add the Event Viewer from a Remote Machine to a Management Console (MMC)

If you run the MMC Console as an Domain Admin and you can’t add the event viewer of an remote machine to the mmc console it is probably because of the firewall settings.

Go to the remote machine and run firewall.cpl:
Allow an app or feature through Windows Firewall->Check Remote Event Log Management.

That’s it. Enjoy;-)

admin on March 31st 2015 in IT, Windows Server

No Comments »

Troubleshooting Active Directory Replication

In Windows 2003 there was a useful gui tool replmon but they didn’t continue developing and shipping it.

But you can also do it comfortable with the command repadmin. Here the most important commands:
repadmin /showrepl
repadmin /showrepl * /errorsonly
repadmin /showrepl * /csv
repadmin /queue
repadmin /queue DCServerName
repadmin /replsummary

repadmin /syncall DCServerName /APed
* All Partitions Push enterprise distinguished Name
** Pushes all DCs to start the replication

admin on March 3rd 2015 in IT, Windows Server

No Comments »

Check out new movies online website. Download and buy movies now.