February 19, 2018, 04:46:42 PM

Recent Posts

Pages: [1] 2 3 ... 10
Windows Server 2012 / How to Install Cleanmgr.exe on Windows 2012 R2 with Update 1
« Last post by Adventech on February 01, 2018, 10:36:52 AM »

How to Install Cleanmgr.exe on Windows 2012 R2 with Update 1?

With the new update to Microsoft Windows 2012 R2 you can no longer copy the files out of WinSXS for Cleanmgr without recieving the following error.


1.) Go to https://github.com/hfiref0x/SXSEXP and download binary sxsexp64.exe
2.) Place file in C:\temp (if that folder doesn't exist create it first)
3.) Run the following commands from an Administrator CMD prompt

Code: [Select]
C:\temp\sxsexp64.exe "C:\Windows\WinSxS\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui" "%SystemRoot%\System32\en-US\cleanmgr.exe.mui"
Code: [Select]
C:\Temp\sxsexp64.exe "C:\Windows\WinSxS\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe" "%SystemRoot%\System32\cleanmgr.exe"(This will decompress the files from the WinSXS folder and into the proper directories)

4.) Launch Cleanmgr.exe or run cleanmgr in command prompt

  • cmd: cleanmgr /sageset: n (Allows you to save setting)
  • cmd: cleanmgr /sagerun: n (Starts Cleanmgr.exe using the save settings of "N"

sxsexp32.exe and sxsep64.exe Files from the GitHub website.

Credit goes to:
hfiref0x user on GitHub
Windows Backup / Error 0x81000101 - Creation of the shared protection point timed out.
« Last post by James on December 13, 2017, 07:57:20 AM »
"The backup of the volume was stopped before the backup started running"

Expanded Error Description:
Failed. Creation of the shared protection point timed out. The shared protection point failed with error 0x81000101.

Reason & Resolution
This is caused by VSS taking longer than the default 10 minutes to create the required files. Updating the registry from the defaulted 10 to 20 minutes should resolve the problem.

Resolution Steps:
  • Open Registry Editor
  • Navigate to: HKLM>Software>Microsoft>WindowsNT>CurrentVersion>SPP
  • Create a new "DWORD" named CreateTimeout
  • Set the value of the new CreateTimeout DWORD to 12000000 and select the "Decimal" radio button.

Unifi / Re: How to run Unifi Controller as a Service in Windows
« Last post by Adventech on June 14, 2017, 03:55:23 AM »
*** UPDATED ***


Ubiquiti UniFi Controller as a Service in Windows?
Ubiquiti UniFi Controller as a Service in windows and connect to Cloud Access?


1.) Close any instances of the UniFi software on the computer. If you just installed the UniFi controller, make sure to open it once by using the icon on the desktop or within the start menu. Once it says “UniFi Controller (a.b.c) started.” you can close the controller program. This is needed to generate some required files for the service to work.

2.) Uninstall any current versions of Java x86 or Java x64. Install Java 64bit, version 8 here:

3.) Remove the Java environmental path if you previously had it from an old install of UniFi as a Service.

4.) Open the command prompt as an Administrator. For example, on Windows 10, right click on the Start Menu and choose “Command Prompt (Admin)”.

5.) Change directory to the location of UniFi in your computer using the following command (exactly as it is here, no substituting needed):

Code: [Select]
cd "%UserProfile%\Ubiquiti UniFi\"
6.) Once in the root of the UniFi folder, issue the following (this installs the UniFi Controller service):

Code: [Select]
java -jar lib\ace.jar installsvc
7.) Once you’re at a new command prompt line, after it says “Complete Installation…”, issue the following:

Code: [Select]
net start unifi
8.) Close the command prompt window either by entering the “exit” command, or clicking the X.

9.) There is no longer a controller applet, like that other window that popped up. To access the controller you need to open your browser and go to https://localhost:8443. Alternatively you can use the desired interface IP, or FQDN that is mapped to that host (in place of “localhost”).

Note: You will need to use Oracle Java JRE 8, which you can download HERE. For the UniFi cloud service (unifi.ubnt.com) to work, you need to use x64 Java only (so choose Windows x64 Offline). You can use either x86 or x64 Java for UniFi, but if you use x86 you cannot use the unifi.ubnt.com cloud tie in.

When upgrading the service, first perform step 2 and 3, then run "net stop unifi" (without quotes) to stop the old the service. After the update is complete, run "net start unifi" (without quotes) to start the service for the updated controller instance.
Windows Update / Windows Update - Stuck at checking for updates
« Last post by James on December 19, 2016, 09:47:15 AM »
Service Stack Update Procedure

   1. Turn off Windows' update services
      a. Administrative Command Line
Code: [Select]
net stop wuauserv && net stop bits

   1. Download the April 2015 Servicing Stack Update (KB3020369)
      a. x86 - http://www.microsoft.com/downloads/details.aspx?FamilyId=5db13554-a6d3-40ec-9159-a5a86e85998b
      b. x64 - http://www.microsoft.com/downloads/details.aspx?FamilyId=5fc4e80d-e1e6-4ea3-9677-5a5f7907d143
      c. Server 2008 R2 x64 - http://www.microsoft.com/downloads/details.aspx?FamilyId=760438c1-0a7c-479f-8cc1-c888e6f610c0
      d. Server 2008 R2 IA64 - http://www.microsoft.com/downloads/details.aspx?FamilyId=b423d867-124e-4965-8ab7-57b3f8f41105
      e. Restart the computer

   1. Download the April Convenience Rollup and install SP1 if needed (KB3125574)
      a. Stop the Windows' update services as listed above
      b. Service Pack 1 - http://www.microsoft.com/en-us/download/details.aspx?id=5842
         1. windows6.1-KB976932-X86.exe
         2. windows6.1-KB976932-X64.exe

      c. Convenience Rollup (April 2016) - http://www.catalog.update.microsoft.com/Search.aspx?q=KB3125574
         1. Must have April 2015 service stack and SP1 installed first

      d. Restart the computer

   1. Download and install the July 2016 Update Rollup (KB3172605)
      a. Stop the Window's update services as listed above
      b. Windows 7 x64 - https://www.microsoft.com/en-us/download/details.aspx?id=53332
      c. Windows 7 x86 - https://www.microsoft.com/en-us/download/details.aspx?id=53335
      d. Restart the computer

2013 / View and changing Autodiscover settings
« Last post by BobbyMarques on May 10, 2016, 12:07:51 PM »
Wrong autodiscover settings when adding new user?
How to change autodiscover settings.

In Exchange Management Shell

To View Current Settings
Get-ActiveSyncVirtualDirectory | fl internalurl,externalurl
Get-AutoDiscoverVirtualDirectory | fl internalurl,externalurl
Get-ECPVirtualDirectory | fl internalurl,externalurl
Get-OabVirtualDirectory | fl internalurl,externalurl
Get-WebServicesVirtualDirectory | fl internalurl,externalurl

To Set or Change URL settings
Get-ActiveSyncVirtualDirectory -server EXCHANGE | Set-ActiveSyncVirtualDirectory -ExternalUrl ‘https://mail.DOMAIN.com/Microsoft-Server-ActiveSync’ -InternalUrl ‘https://mail.DOMAIN.com/Microsoft-Server-ActiveSync’

Get-AutodiscoverVirtualDirectory -server EXCHANGE | Set-AutodiscoverVirtualDirectory -ExternalUrl ‘https://mail.DOMAIN.com/Autodiscover/Autodiscover.xml’ -InternalUrl 'https://mail.DOMAIN.com/Autodiscover/Autodiscover.xml

Get-ECPVirtualDirectory -server EXCHANGE | Set-ECPVirtualDirectory -ExternalUrl ‘https://mail.DOMAIN.com/ECP’ -InternalUrl ‘https://mail.DOMAIN.com/ECP’

Get-OabVirtualDirectory -server EXCHANGE | Set-OabVirtualDirectory -ExternalUrl ‘https://mail.DOMAIN.com/OAB’ -InternalUrl ‘https://mail.DOMAIN.com/OAB’

Get-WebServicesVirtualDirectory -server EXCHANGE | Set-WebServicesVirtualDirectory -ExternalUrl ‘https://mail.DOMAIN.com/EWS/Exchange.asmx’ -InternalUrl ‘https://mail.DOMAIN.com/EWS/Exchange.asmx’

Proliant Servers / How to find memory for my HP Proliant Server?
« Last post by Adventech on January 26, 2016, 11:49:04 AM »
How to find memory for my HP Proliant Server?
HP Proliant Memory Calculator

goto: http://h22195.www2.hp.com/DDR4memoryconfig/Home/Legal
Proliant Servers / How to find serial number of HP Proliant server in Windows?
« Last post by Adventech on January 26, 2016, 11:45:43 AM »
How to find serial number of HP Proliant server in Windows?

From a command prompt use the following command.
Code: [Select]
wmic /node:%computername% bios get serialnumber
Windows SBS 2011 / Re: Remote Web Access: Clicking Connect does nothing
« Last post by Adventech on January 07, 2016, 07:43:27 PM »
Edit the web.config file in "C:\Program Files\Windows Small Business Server\Bin\WebApp\RemoteAccess"

Find the line <serviceHostingEnvironmentaspNetCompatibilityEnabled="true" /> [near the bottom]

Change <serviceHostingEnvironmentaspNetCompatibilityEnabled="true" /> to <serviceHostingEnvironment aspNetCompatibilityEnabled="true" minFreeMemoryPercentageToActivateService="0" />

Restart "World Wide Web Publishing Service". This will also restart "Remote Desktop Gateway".
  • When viewing a HTML email that includes pictures, Outlook crashes.
  • Hitting CTRL+ALT+DEL to log into a system causes it to go to a black screen.
  • The display blinks or goes black when using a touch screen monitor

The problem is related to an update on 11/11/2015 from Microsoft: Security Update for Microsoft Windows (KB3097877)
  • Log into the computer using an administrative account.
  • Open Windows Update and View Update History
  • Click on Installed Updates
  • Search for: KB3097877
  • Uninstall the update, and restart the computer.

If you are not able to log into the computer you can try the following steps:
  • Use a working computer to remote connect to the system with the issues.
  • If a touch screen monitor is connected, disconnect the USB for the touchscreen. This should resolve the black screen at login so you can log in.
  • If the touchscreen is built in, try to disable it through BIOS, which should then allow you to log into Windows to remove the update.
  • If a remote connection will not get you connected, boot the computer into the Windows Recovery Environment and restore the system to an earlier point.
Windows Server 2012 / Install the Active Directory Schema snap-in
« Last post by Adventech on November 09, 2015, 07:58:24 AM »
Install the Active Directory Schema snap-in
To install the Active Directory Schema snap-in

Open a Command Prompt, Run as Administrator.


regsvr32 schmmgmt.dll

This command will register Schmmgmt.dll on your computer.

Type mmc /a, and then click OK.

On the File menu, click Add/Remove Snap-in, and then click Add.

Under Available Standalone Snap-ins, double-click Active Directory Schema, click Close, and then click OK.
Pages: [1] 2 3 ... 10