Generate Large Test Files in Windows

Open an administrative level command prompt. 

Run the following command:

fsutil file createnew <file> <size in bytes>

For example, this command will create a 1GB file called 1gb.test on my desktop:

fsutil file createnew c:\users\steve\desktop\1gb.test 1073741824

The key is to input the size of the file in bytes so here are some common file sizes to save you from math:

1 MB = 1048576 bytes
100 MB = 104857600 bytes
1 GB = 1073741824 bytes
10 GB = 10737418240 bytes
100 GB =107374182400 bytes
1 TB = 1099511627776 bytes
10 TB =10995116277760 bytes
Share

How to import a certificate into WorldClient

WorldClient’s web server currently does not support generating certificate requests. If you have IIS you can use its certificate wizard to create the request and import the response. WorldClient will then be able to use it. You do not need to continue to use IIS at that point, you can disable the service and continue to use WorldClient’s built-in webserver.

If you have purchased or otherwise generated a certificate from some source other than MDaemon, you can still use that certificate by using the Microsoft Management Console (MMC) to import it into the certificate store that MDaemon uses. Continue reading “How to import a certificate into WorldClient” »

Share

Install VirtualBox on Centos 6 / 7

Step 1 – Add Required Yum Repositories

Firstly you are required to add VirtualBox yum repository in your system. Download repository file from its official site and place it under at /etc/yum.repos.d/virtualbox.repo .First navigate to /etc/yum.repos.d/ directory and use one of below commands as per your operating system.

cd /etc/yum.repos.d/
wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo

The CentOS and RedHat users also required to add EPEL yum repository using one of the following commands.

### On CentOS/RHEL 7 ### 
rpm -Uvh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
### On CentOS/RHEL 6 ### 
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

Step 2 – Install Required Packages

Before installing VirtualBox make sure to install all required packages to run VirtualBox like kernel-headers, kernel-devels etc. Use the following command to install the required packages. Continue reading “Install VirtualBox on Centos 6 / 7” »

Share

Change the listening port for RDP on your computer- Windows 10, Windows 8.1, Windows 8, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2008 R2

When you connect to a computer (either a Windows client or Windows Server) through the Remote Desktop client, the Remote Desktop feature on your computer “hears” the connection request through a defined listening port (3389 by default). You can change that listening port on Windows computers by modifying the registry.

  1. Start the registry editor. (Type regedit in the Search box.)
  2. Navigate to the following registry subkey: KEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber
  3. Click Edit > Modify, and then click Decimal.
  4. Type the new port number, and then click OK.
  5. Close the registry editor, and restart your computer.

The next time you connect to this computer by using the Remote Desktop connection, you must type the new port. If you’re using a firewall, make sure to configure your firewall to permit connections to the new port number.

Share

Enable WIndows Photo Viewer in Windows 10

Default windows “Photo” app is clumsy at some point, missed the earlier “Photo Viewer” program. So, going back to root and after googling, here’s a small hack to enable “Windows Photo Viewer” in windows 10 edition.

  1. Download the photo.zip and unzip it. You’ll get a photo.reg file. The file is created from this forum http://www.tenforums.com/software-apps/8930-windows-photo-viewer-gone-2.html#post290818 
  2. Double-click on your new REG file to merge it with your Windows Registry. You will need to click through the User Account Control and a few other windows to allow the file to make changes to the Registry.
  3. Basically you are done.
  4. Next what you need is to right click on any JPEG/JPG/BMP/PNG/GIF file that you want open/view using legacy windows photo viewer and make it as default.

 

Share

Windows 10 Saving Spotlight Images

The most aesthetic part of windows 10 is the spotlight images on login screen. Few of them were really too mind blowing that I wanted to save and keep it as a wallpaper! So, here’s the hack on how to do it-

Navigate to the following folder (or just copy the path below and paste it into the File Explorer address bar):

%userprofile%\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets

Note that the %userprofile% part of that path automatically jumps you to the user folder for the currently logged in user (by default at C:\Users\<username> ). In the folder, you’re going to see a whole bunch of files with long, meaningless file names and no extensions. Some of these are the image files you’re looking for; many are not.

Continue reading “Windows 10 Saving Spotlight Images” »

Share