Posts

How to Use Slmgr to Change, Remove, or Extend Your Windows License

Image
  How to Use Slmgr to Change, Remove, or Extend Your Windows License Windows activation is designed to be as foolproof as possible, so Microsoft’s graphical tools keep it simple. If you want to do something more advanced like remove a product key, force an online activation, or extend the activation timer, you’ll need Slmgr.vbs. This command-line tool is included with Windows and provides options unavailable in the standard activation interface provided on the Update & Security > Activation screen in the Settings app. First: Open an Administrator Command Prompt Window To use this tool, you’ll want to launch a Command Prompt with Administrator access. To do so on Windows 8 or 10, either right-click the Start button or press Windows+X. Click the “Command Prompt (Admin)” option in the menu that appears. On Windows 7, search the Start menu for “Command Prompt,” right-click it, and select “Run as Administrator.” Note : If you see PowerShell instead of Com...

How to Back Up and Restore NTFS and Share Permissions

Image
How to Back Up and Restore NTFS and Share Permissions                One thing that has made the NTFS permissions piece of this simpler is the  Icacls   tool. Icacls was developed for Windows Vista as a replacement for tools such as  Calls ,  Xcacls , and  Xcacls.vbs . It was also included in Service Pack 2 for Windows Server 2003 and Windows Server 2008. Backup and Restore of Share Permissions To backup share permissions, export the  Shares  registry key. Open  Regedit  to the following location: HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares Right-click the  Shares  registry key and select  Export . Give it a file name such as  shareperms.reg . When you want to restore the permissions, double-click  shareperms.reg  to import it back into the registry. Use the  Reg    tool to backup the registry key from ...

How to disable Network Authentication in Windows Server 2016 with Group Policy.

Image
How to disable Network Authentication in Windows Server 2016 with Group Policy. Configure policies on Terminal Server: Open gpedit.msc applet. Navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Security . Enable: Require use of specific security layer for remote (RDP) connections and select RDP as Security Layer. Disable: Require user authentication for remote connections by using Network Level Authentication policy. Reboot Terminal server.

How to delete 0.0.0.0 Gateway.

How to delete 0.0.0.0 Gateway. Open a command prompt. Win+R -> cmd and hit enter. Type “ route delete 0.0.0.0 ”. Configure the IP settings to add back your correct default gateway IP address.

Solved: Auto Logoff Disconnected Remote Desktop Terminal Session.

Image
Auto Logoff Disconnected Remote Desktop Terminal Session. Go to Users Configuration in GPO. Windows Components/ Remote Desktop Services/ Remote Desktop Session Host/ Session Time Limits 1. End a disconnected session - Enable it and set the time limit 2. Remote App session logoff delay - Enable it and set the time limit.

Solved: ServerManage.exe - This application could not be started.

Image
ServerManage.exe - This application could not be started. I have resolved this error with following. 1. C:\Windows\Microsoft.NET\Framework64\v2.0.50727>Ldr64.exe query  The above command returned a current status of: 0x00000000 meaning .net was set to run in 32bit.  Then ran the following: C:\Windows\Microsoft.NET\Framework64\v2.0.50727>Ldr64.exe set64 loading kernel32...done. retrieved GetComPlusPackageInstallStatus entry point retrieved SetComPlusPackageInstallStatus entry point Setting status to: 0x00000001 SUCCESS Once 64bit was enabled Server Manager began working again.

Windows Server 2016 Evaluation: How to extend the Trial Period

Image
Windows Server 2016 Evaluation: How to extend the Trial Period In this blog post, I show how to extend your trial period to three years. The evaluation version of Windows Server 2012 / 2016 is valid for 180 days and you can convert your trial version to retail. To explore Windows Server 2016 download it here: https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2016/ After installing, you can try it for 180 days. After 180 days you and your system will run into troubles for sure. But the good news is: You can extend the period. Extending the Trial Period First, take a look at your desktop. You should see the countdown in the corner down right. Or start PowerShell and run slmgr. 1 slmgr -dlv Pay attention to the Time-based activation expiration and the Remaining Windows rearm count. You can rearm the period 6 times. (180 days * 6 = 3 years). When the period comes to an end, run slmgr -rearm to extend it by another 180 days. 1 ...