I had a Windows Backup created with FileHistory but was not able to restore anymore because the DB seamed corrupted. Anyway the files were still there but they had the UTC Timestamp added. So here a script to remove the timestamps:
Before: Test (2017_08_03 13_49_28 UTC).jpg
New: Test.jpg
$regex=" \(\d{4}_\d{2}_\d{2} \d{2}_\d{2}_\d{2} UTC\)"
Get-ChildItem *UTC* -Recurse | Where-Object {$_.Name -match $regex} | Rename-Item -NewName {$_.Name -replace $regex} -Verbose
Warning: As always, use it on your own risk. If you should have the same file with multiple timestamps then you need to extend the script a bit. This one just works with unique files with timestamp.
admin on March 28th 2018 in IT, PowerShell, Windows, Windows Server
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:
HKEY_CLASSES_ROOT\Directory\background\shellex\ContextMenuHandlers\igfxDTCM
admin on December 22nd 2015 in IT, Windows
admin on December 22nd 2015 in IT, Windows, Windows Server
There are several software (emulator) to run android apps on your windows or mac computer. I tried so far BlueStacks and Genymotion. BlueStacks made a cluttered and slow impression and Genymotion worked smoothely and fast.
Here you can download Genymotion:
Genymotion
If you want to install Android apps on Genymotion you need to install Google Play Store first. Follow this step by step:
1. Create a virtual device
2. Download the right Google Play Store version
3. Drag&Drop the zip file in the running virtual device
4. Let it install and restart the device
5. Run Google Play Store and run all updates
admin on January 1st 2015 in Mobile
Run following command:
wmic useraccount get name,sid
admin on June 6th 2014 in IT, Windows, Windows Server
NET TIME %LOGONSERVER% /SET /Y
admin on August 27th 2013 in IT, Windows, Windows Server
Rewrite Masterbootrecord:
bootrec /fixmbr
Scan for all OS:
bootrec /scanos
Adds found OS into Boot Manager:
bootrec /rebuildbcd
Recreate Boot Manager:
bootrec /fixboot
Important: The partition with the boot manager needs to be active to be able to boot Windows 2008 R2 or Windows 2012. If it is not active you can make it active with diskpart:
1. Run DVD Repair Mode
2. diskpart
3. select disk 0 (For the first disk)
4. select partition 1
5. active
6. exit
7. Restart Computer
admin on January 18th 2013 in IT, Windows, Windows Server
Run following command:
msinfo32 (GUI)
systeminfo (Shell)
To save the information into a file formatted:
systeminfo /FO list > C:\sysinfo.txt
admin on January 18th 2013 in Windows
Command to search for updates:
wuauclt.exe /detectnow
Following steps solve most of the problems:
1. net stop wuauserv
2. delete everything in:
%windir%\SoftwareDistribution\
3. delete logfile:
%windir%\WindowsUpdate.log
4. net start wuauserv
5. wuauclt.exe /detectnow /resetauthorization
6. Check %windir%\WindowsUpdate.log for errors
admin on November 29th 2012 in IT, Windows
You just need to edit the /etc/fstab and following line:
//$ShareName /mnt/$FolderName cifs username=$username,password=$password 0 0
To reload the files system:
mount -a
admin on November 18th 2011 in IT, Linux