united states of america usa  linkedinfacebook   Call Us Today: (786) 646-6461

Knowledge Base

Q. I have 2 directories that I'm combining (eg: from 2 backups), some files are newer, some are older, butI only want to copy the missing files to the destination. How do I do that?

A. Robocopy has a few flags that are useful for ths situation:

There are many instances when programs are starting when the computer boots, bring annoying pop-ups and consuming resources. Most of them have a way to disable that feature, some of the more poorly designed ones do not. There's a way to disable it, using an configuration application called msconfig. It exists in all modern Windows versions:

windows start msconfig

Go to Startup Tab and uncheck any application you don’t want to launch during boot time. Click Apply and then OK.

Command PromptWe regularly share some of the scripts that our IT technicians and support staff puts together (or finds online), especially if we think it may be useful to someone. Below is an example of a windows script (batch) that replaces file names with spaces to underscores. (For example: "file name.txt" will be changed to "file_name.txt")

The script recursively goes through the directories and makes adjustments.

exchange-2013Q: We have switching our Exchange server to another one, but the autodiscover keeps reverting back to the old server. Is there a way to fix this?

A: You can manually bypass the Microsoft Exchange settings. (Below was tested on Exchange 2010 and 2013.)

 

Adjust the following registry settings. Depending on your version of Microsoft Office the number between "Office" and "Outlook" will change. For example, in Outlook 2007 it is 12.0, for Outlook 2010 it is 14.0, for Outlook 2016 it is 16.0:

On some occasions, when accessing an Remote Desktop Server that gives out licenses based on devices, you may get this error:

Error: The remote session was disconnected because the Remote Desktop client access license stored on this computer has been modified

You can fix this using the following steps:

windows logoQ. I would like to copy some data from a shadow copy image, is there any way that I can access it as a drive or directory (mapped or mounted)?

A. Yes, this can be achieved in the following steps:

Open command prompt and run:

vssadmin list shadows

This will produce the following output:

If you are trying to run an RDS server in a workgroup, you will most likely run into this error:

"Remote Desktop Services will stop working in 120 days if this computer does not contact at least a valid Windows Server 2012 license server. On the RD connection Broker server, use Server Manager to verify or configure licensing settings."

and 

"Remote Desktop Services will stop working because this computer is past grace period and has not contacted at least a valid Windows Server 2012 license server. Click this message to open RD Session Host Server Configuration to use Licensing Diagnosis"

or variations of above. 

Exchange Support and ConsultingMicrosoft has simplified the process of removing a mailbox from quarantine starting with Exchange 2013. (Before it was a more complicated process, involving registry edits).

Keep in mind that Exchange quarantines mailboxes for a reason. It tries to correct a problem automatically, but if it fails, it will quarantine the mailbox again, so the root cause of the problem needs to be identified.

First, you need to find which mailbox was quarantined. Open Exchange management shell and run the follow codelet:

windows 10To setup Remote Desktop Protocol (RDP) you need to enable the Port 3389 which is the default port number. Follow the path listed below to enable the port for RDP:

Start | Control Panel |  System and Security | Windows Firewall | Advanced settings | Inbound Rules

Next locate Remote Desktop (TCP-In), Right-click, and Enable Rule.

windows 10The Software Distribution folder is a folder that is used to store temporary files, which the files are usually from Windows Updates. It’s useful to delete the contents of the folder when Windows Updates is not working properly. Or, if you need to free up space on the main hard drive, the contents of the Software Distribution folder is safe to delete. The Software Distribution folder is in the following location in File Explorer:

 C:\Windows\SoftwareDistribution

linux icon 19On occasion you may get a nasty error like this (BadCRC generally means bad sectors):

[4530467.649165] ata2.00: exception Emask 0x10 SAct 0x60000000 SErr 0x280100 action 0x6 frozen
[4530467.649608] ata2.00: irq_stat 0x08000000, interface fatal error
[4530467.650043] ata2: SError: { UnrecovData 10B8B BadCRC }

But the problem is mapping the drive ata2 to an actual disk drive device. This can be achieved by running this command:

linux icon 19This is how you can find out which IP is assigned to a computer using dnsmasq. Unless you've specified a different log for dnsmasq, the output will go into syslog (/var/log/syslog).

A quick way to isolate the requests, is by running this command:

cat /var/log/syslog | grep "DHCPACK"

This will produce a list of IPs assigned, with a MAC address and hostnames:

linux iconThis is a nice little command to search and replace one type of content with another. It recursively parses through directories and files.

Be very careful when running this command, because it can do a lot of damage

Below is an example of replacing all "http" with "https" inside a directory /var/www: