logo logo

IT Solutions

Set a Virtual Machine’s automatic stop action from PowerShell

Posted by on Jan 6, 2015 in Hyper-V | 0 comments

If you use a virtual machine on Hyper-V Core to manage the Hyper-V operating system, you cannot make changes to the virtual machine that require powering it off because you can’t access the Server Manager Shut down management VM. Open Powershell on Hyper-V Run get-vm and double check that your management VM is not running. Type get-vm | set-vm -AutomaticStopAction ShutDown, NOTE: this will change all vm’s that are not currently running to this setting. Type start-vm nameofwin8vm Ensure within the Hyper-V management GUI that...

read more

Send Ctrl-Alt-Del to RDP session or Hyper-V Console session

Posted by on Jan 6, 2015 in Microsoft Windows | 0 comments

Ctrl+Alt+End (the key right next to Del) will send Ctrl+Alt+Del to the remote session.

read more

Security log on the system is full

Posted by on Jan 6, 2015 in Windows XP | 0 comments

Full error is “Security log on the system is full. Only administrators can log no to fix.” When trying to log into the workstation. It seemed to only affect Windows XP machines. Open the Event Viewer. Right-click Security, and then click Properties. In the Log Size area of the Security Properties window, click the Overwrite events as needed option under When maximum log size is reached. Click OK. Close Event...

read more

Script to return total number of enabled users in Active Directory

Posted by on Jan 6, 2015 in Active Directory | 0 comments

This script ran from a command prompt will present you a text file which can be opened in Excel that will list all ENABLED active directory users. Useful for quoting licenses. dsquery * -filter "(&(sAMAccountType=805306368)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))" -limit 0 | dsget user -display -email -dept -title > C:\ActiveUsers.txt ECHO Results saved to...

read more

Save command prompt results to a text file

Posted by on Jan 6, 2015 in Microsoft Windows | 0 comments

To write command line results to a text file, add the following to the end of your command before running it: > "C:\<your path here>\<your file name here>.txt" Command prompt will output to the file instead of to the window so you can search it later. As an example, you can use this to run commands through a remote management tool and then download the resulting text file for analysis without impacting the end...

read more

Robocopy gets into infinite loop on NTFS Junction points

Posted by on Jan 6, 2015 in Robocopy | 0 comments

It turns out that robocopy can get stuck in an infinite loop on the junction point if you are copying windows users. You have to use the “/xj” part in order to it to skip this issue. It can eat up ALL SPACE on the other drive if you don’t do this. For example, to copy all of the C drive to another place: Robocopy C:\ E:\ /xj /e That would copy all of C to E with all subfolders and no junction...

read more

Restore email autocomplete from NK2 file

Posted by on Jan 6, 2015 in Outlook | 0 comments

Copying the NK2 or .dat file will not work because of any old exchange addresses. Use “NK2Edit” to pull data and import as a contact into Outlook. Once in outlook as a contact, create an email and place all contacts into the “To” line. DO NOT SEND EMAIL. Now all contacts are available as...

read more

Reset password for License Administration Tool on Sage 100 v17 or lower

Posted by on Jan 6, 2015 in Sage 100 | 0 comments

Get on to the machine that has the License Administration tool on it. Navigate to C:\MB7\ and rename the file named admin.config. After this is renamed, relaunch the License Administration Tool and set the password to whatever you want.

read more

Reset DNS on a Windows Machine (DNS Flush)

Posted by on Jan 6, 2015 in Microsoft Windows | 0 comments

From an Elevated command prompt Ipconfig /flushdns Ipconfig /registerdns Net stop netlogon Net start netlogon

read more

Remove emails stuck in submission queue

Posted by on Jan 6, 2015 in Microsoft Exchange | 0 comments

There were 4 mail messages stuck in the Submission Queue within Exchange 2010. The four messages all pertained to the Journaling mailbox and related to Meeting Request. The messages stuck were causing a re-occurring event to be logged in the event viewer. Run the following PowerShell cmdlet to resolve:Get-Message -Filter {FromAddress -eq "<>"} -Server htserver |...

read more
bottom