Canada  united states of america usa  linkedinfacebook   Call Us Today: 866.646.6461

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

  • 1
  • 2
Last updated Mar 19, 2024