Thursday, 17 August 2023

Seqrite Backup and Restore Process 


Crf Back Process:

Seqrite Backup Feature allows you to take periodic backup of important data files present on the endpoints.

By default, the following types of files are backed up by Seqrite backup feature:

File Type

Extension

Text

.txt

Email Files

.eml

Document

.doc, .docx, .xls, .xlsx, .ppt, .pptx, .pdf, .wps, .wpt, .rtf, .et, .docm, .xlsm, .pptm, .ett, .dpt, .dps, .ods, .odp, .odg, .odt

Accounting Files (Tally data files)

tcp, 900, tsf, 001, 247, 500, 989, tsm.


This article will help you to add custom file extensions/ file types other than the default supported file types in the EPS console 7.6 from the policies.

Applicable versions: EPS 7.6

To add custom file type for backup, follow the steps:

1. Log on to the Seqrite Endpoint Security Web console.

2.  Go to Clients > Manage Policies.

3. Select the “Policy” to which you want to add custom file extensions/file types.

4.  Go to General settings in the selected Policy.

5. To add custom file type /file extension, enter the file extension name and set its maximum file size.
Note: Maximum file size can be set up to 999999 MB.
For E.g.
 If wish to back up AutoCAD data which has file type .dwg. Add file type in the EPS console 7.6 from the policy.

6. Click Add. AutoCAD data will be backed up on the endpoints once the settings are saved in the policy.

7. To save your settings, click Save Policy.


NOTE:

1.     Backup feature will back up the “Default file type” and “Updated file type” data on the physical local drives on the endpoints.

2.     The default file types has maximum file size limit of 25 MB.

3.     Make sure the local drives of the endpoint have enough free space to back up the important files.

To exclude any file extension from Seqrite Backup, follow these steps:

1. If backup of any file type is not needed, then exclude the file type from the EPS console 7.6 policy settings.
    


2. To save your setting, click Save Policy.


In this way, other/custom file types can be added in the EPS console 7.6 from the policy.

 

Restore Processes:

  • Restore all the backup files to a specified location.
  • Open Command Prompt as Administrator and run below command,
    cfrutil.exe /restore DDMMYYYYHHMM <Path_to_restore_file>
    e.g. cfrutil.exe /restore 150120181200 C:\restore


Above command will restore all files backed up before 15th Jan2018 12:00 PM.


Top of Form

Bottom of Form

 


Monday, 20 March 2023

Convert Windows Server Evaluation Edition to Retail OEM

 

Upgrading licensed versions of Windows Server

Below are general guidelines for in-place upgrade paths where Windows Server is already licensed (that is, not evaluation):

·         Upgrades from 32-bit to 64-bit architectures are not supported. All releases of Windows Server since Windows Server 2008 R2 are 64-bit only.

·         Upgrades from one language to another are not supported.

·         If the server is an Active Directory domain controller, you cannot convert it to a retail version. See Upgrade Domain Controllers to Windows Server 2012 R2 and Windows Server 2012 for important information.

·         Upgrades from pre-release versions (previews) of Windows Server are not supported. Perform a clean installation of Windows Server.

·         Upgrades that switch from a Server Core installation to a Server with Desktop Experience installation (or vice versa) are not supported.

·         Upgrades from a previous Windows Server installation to an evaluation copy of Windows Server are not supported. Evaluation versions should be installed as a clean installation.

·         You can only change from Standard edition to Datacenter edition when upgrading. Changing from Datacenter edition to Standard edition is not supported.

 Important

If your server uses NIC Teaming, disable NIC Teaming prior to upgrade, and then re-enable it after upgrade is complete. See NIC Teaming Overview for details.

Converting an evaluation version to a retail version

You can convert the evaluation version of Windows Server to the retail version. If you have installed the evaluation of Standard edition, you can convert it to the retail version of either the Standard edition or Datacenter edition. Similarly, if you have installed the evaluation of the Datacenter edition, you can only convert it to the retail version of the Datacenter edition.

If you haven't already activated Windows, the bottom right-hand corner of the desktop shows the time remaining in the evaluation period.

 Important

For releases of Windows Server 2016 prior to 14393.0.161119-1705.RS1_REFRESH, you can only convert from evaluation to retail when Windows Server has been installed with the Server with Desktop Experience installation option (not Server Core). Starting with version 14393.0.161119-1705.RS1_REFRESH and later releases, you can convert evaluation editions to retail regardless of the installation option used.

 Note

Before you attempt to convert from evaluation to retail, verify that your server is actually running an evaluation version. To do this, launch an elevated command prompt and run the command slmgr.vbs /dlv; evaluation versions will include EVAL in the output.

Windows Server Standard or Datacenter

If the server is running an evaluation version of Windows Server Standard edition or Windows Server Datacenter edition, you can convert it to a retail version as follows:

1.    From an elevated command prompt or PowerShell session, run the following command to save the Microsoft Software License Terms for Windows Server, which you can then review:

Copy

DISM /online /Set-Edition:ServerDatacenter /GetEula:C:\eula.rtf

2.    Determine the current edition name by running the command below. The output is an abbreviated form of the edition name, for example Windows Server Datacenter edition is ServerDatacenter:

Copy

DISM /online /Get-CurrentEdition

3.    Verify which editions the current installation can be converted to by running the command below. The evaluation version of Windows Server Standard can be converted to the retail version of either the Standard or Datacenter editions of Windows Server, whereas the evaluation version of Windows Server Datacenter can only be converted to the retail version Windows Server Datacenter:

Copy

DISM /online /Get-TargetEditions

4.    Make note of the target edition name you want to convert to, and enter this and your retail product key in the command below. This process requires you to accept the Microsoft Software License Terms for Windows Server you saved previously.

 Tip

You can convert from the evaluation version of Windows Server Standard to the retail version of Windows Server Datacenter in one step by using the appropriate product key and edition ID.

Copy

DISM /online /Set-Edition:<edition ID> /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula

For example:

Copy

DISM /online /Set-Edition:ServerDatacenter /ProductKey:ABCDE-12345-ABCDE-12345-ABCDE /AcceptEula

 Tip

For more information about Dism.exe, see DISM Command-line options.

 Important

If the server is an Active Directory domain controller, you cannot convert it to a retail version. In this case, install an additional domain controller on a server that runs a retail version, migrate any FSMO roles held, and remove Active Directory Domain Services (AD DS) from the domain controller that runs on the evaluation version. For more information, see Upgrade Domain Controllers to Windows Server 2012 R2 and Windows Server 2012.

Windows Server Essentials

If the server is running Windows Server Essentials, you can convert it to the full retail version by entering a retail, volume license, or OEM key by launching an elevated command prompt and entering it as part of the following command:

Copy

slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Converting Windows Server Standard edition to Datacenter edition

At any time after installing Windows Server, you can convert Windows Server Standard edition to Datacenter edition. You can also run setup.exe from the installation media to upgrade or repair the installation (sometimes called in-place repair). If you run setup.exe to upgrade or repair in-place on any edition of Windows Server, the result will be the same edition you started with.

You can convert the Standard edition of Windows Server to the Datacenter edition as follows:

1.    Determine that Windows Server Standard is the current edition name by running the command below. The output is an abbreviated form of the edition name, for example Windows Server Standard edition is ServerStandard:

Copy

DISM /online /Get-CurrentEdition

2.    Verify that Windows Server Datacenter is a valid option to convert to by running the following command:

Copy

DISM /online /Get-TargetEditions

3.    Enter ServerDatacenter and your retail product key in the command below:

Copy

DISM /online /Set-Edition:ServerDatacenter /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula

Converting between retail, volume-licensed, and OEM licenses

At any time after installing Windows Server, you can freely convert between a retail license, a volume-licensed license, or an OEM license. The edition (Standard or Datacenter) remains the same during this conversion. If you are starting with an evaluation version, convert it to the retail version first, then you can convert between the versions.


To do this, run the following command from an elevated command prompt, including providing your volume-license, retail, or OEM product key:

Copy

slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX


Project Image;





 

Wednesday, 1 March 2023

 

"cache directory missing or corrupted" Related with RDP

Disable Caching

    Open your Remote Desktop Client, click Options, then Experience, and uncheck Persistent Bitmap Caching.

Clear Cache

    Log out all Remote Desktop Sessions

    Go to C:\Users\<username>\AppData\Local\Microsoft\Terminal Server Client\Cache

    Delete everything in that folder

Tuesday, 28 February 2023

 

Deploy and Configure WSUS on Server 2012 R2

Windows Server Update Service [WSUS] is a server role that serves as a repository for Microsoft product updates on your network. Instead of every computer on your network downloading updates directly from Microsoft you can deploy a WSUS server so the updates are downloaded once and distributed to your environment from the WSUS server.

In this post I will be deploying WSUS Server 2012 R2 in a domain environment, using the Windows Internal Database (WID), and using Group Policy to have my computers connect to WSUS instead of Microsoft Updates.

Single WSUS Server

Deploying the WSUS Server Role:

My WSUS Server has 1 vCPU, 4 GB Memory, a 30 GB C:\ drive and a 100 GB D:\ drive. For a full list of hardware and software requirements click here.

Ensure the account you will install the WSUS role with is at least a local administrator on the server. Open Server Manager then go to Manage then Add Roles and Features:

WSUS Install 1 - Add Roles and Features

Click Next:

WSUS Install 2 - Before you Begin

Ensure Role-base or feature-based installation is selected then click Next:

WSUS Install 3 - Installation Type

Select your WSUS server and click Next:

WSUS Install 4 - Server Selection

Scroll to the bottom and select Windows Server Update Services:

WSUS Install 5 - Server Roles

A box will appear requesting additional roles and features are included. Click Add Features:

WSUS Install 5-1 - Add Features

You will see multiple roles are now selected including Windows Server Update Services. Click Next:

WSUS Install 5-2 - WSUS Role Selection

Some features will already be selected due to the previous step. Click Next:

WSUS Install 6 - Features

Click Next:

WSUS Install 7 - WSUS

WSUS needs a database to store WSUS Configuration and update metadata. The WSUS database can be local or a remote SQL 2008/2012 server. For a local database it will use Windows Internal Database (WID) which is a limited version of SQL Express that doesn’t have a GUI or management interface. The WID database is a file (SUSDB.dbf) stored in C:\Windows\wid\data\. Microsoft recommends using the WID database. If you want to use a SQL Server then check here.

Leave WID Database & WSUS Services selected and click Next:

WSUS Install 8 - Role Services

Click the box to have updates stored locally on your server. If you do not select a location then approved update in WSUS will be downloaded by the client computers from Microsoft Updates.

Add the path location of where to store them and click Next:

WSUS Install 9 - Content

Click Next:

WSUS Install 10 - Web Server Role

Leave as is and click Next:

WSUS Install 11 - Role Services

WSUS does not require a reboot to finish installation so you can leave that box unchecked. If everything looks correct click Install:

WSUS Install 12 - Confirmation

Installation took about 10 minutes to complete for me.

Post-Deployment Configuration:

Once WSUS is install there is additional configuration that needs to be performed. In Server Manager click the notification drop down then Launch Post-Installation tasks:

WSUS Install 13 - Feature Installation Finished

It took about roughly 10 minutes for mine to complete.

WSUS Install 13-1 - Post Deployment Configuration

Once it completes it will say the Configuration completed.

WSUS Install 13-2 - Confiuration Complete

Now the Post-deployment configuration is complete we are ready to launch WSUS console. Still in Server Manager go to Tools then Windows Update Services:

WSUS Config 1 - Windows Server Update Services

At first launch it will come up to a WSUS Configuration Wizard. Click Next:

WSUS Config 2 - Before you Begin

Check or uncheck the box to participate in the Microsoft Update Improvement Program. Click Next:

WSUS Config 3 - Microsoft Update Improvement Program

If this is your first WSUS server then select Synchronize from Microsoft Update. If this is a second WSUS server (such as at a remote location) and you want to talk to another WSUS server you would use the second option. Click Next:

WSUS Config 4 - Choose Upstream Server

If you use a proxy server to access the web then enter it here. Click Next:

WSUS Config 5 - Specify Proxy Server

Click Start Connecting:

WSUS Config 5-1 - Start Connecting

Once it completes click Next:

WSUS Config 5-2 - Information from Microsoft

Select your language(s) then click Next:

WSUS Config 6 - Choose Languages

Select what products you want to download updates for. In my environment I selected Windows 10, Office 2016, Server 2012 R2, Server 2016, Server Drivers and Server Manager. You can add/remove products later if you miss some. Once you are finished click Next:

WSUS Config 7 - Choose Products

Select what types of updates you want to download. Click Next:

WSUS Config 8 - Choose Classifications

Synchronize means WSUS will contact the upstream server (either Microsoft Updates or another WSUS server) and downloads metadata information of new updates that are available. You can leave this set to manual or change to automatic. I opted to leave it manual so I can see what updates are available for each manual sync I do. Click Next:

WSUS Config 9 - Configure Sync Schedule

Go ahead and select the box named Begin initial synchronization as this will be the first one. Click Next:

WSUS Config 10 - Finished

There are some links you can click on to read more about. Click Finish:

WSUS Config 11 - Whats Next

Welcome to the WSUS Console! You should see the status of the Synchronization that we selected a few steps ago.

WSUS Config 12 - Synchronization Status

While it does the first synchronization let’s setup Group Policy.

Configure WSUS Settings via Group Policy:

At a minimum there are two policies that need to be set so the computers on your domain point to your WSUS server instead of Microsoft Updates. Open Group Policy Management for your domain then right click the OU you want to create these policies for. Now click Create a GPO in this domain, and Link it here…

WSUS Group Policy 1 - Create a GPO in this domain

Type a name you want to call this policy and click Ok:

WSUS Group Policy 2 - New GPO Name

Now right click the policy and click Edit:

WSUS Group Policy 3 - Edit GPO

Expand down to Computer Configuration -> Policies -> Administrative Templates -> Windows Components and click Windows Update.

In the right pane find the settings named Configure Automatic Updatesright click and Edit:

WSUS Group Policy 4 - Group Policy Mangement Editor

Click Enable then on the drop down menu select a setting that you want in your environment. I advise to first set it to option 3 – Auto download and notify for install and change it later if you decide.

WSUS Group Policy 5 - Configure Automatic Updates

If you want to complete automate the installation of Updates then select option 4 – Auto download and schedule the install, select the box Install during automatic maintenance and select a time to perform the installation. Now any approved updates will be installed during your scheduled time. If you didn’t approve any updates then nothing will be installed that week. You can stagger your installs by adding this policy to different OUs then picking different install times.

Click Apply then Ok:

WSUS Automate 1 - Group Policy

Now right click on Specify intranet Microsoft update service location then Edit:

WSUS Group Policy 6 - Edit Intranet Update Service

Click Enable then enter the FQDN of your WSUS server. Needs to be in the following format:

Click Apply then Ok:

WSUS Group Policy 7 - Configure GP Update Service Location

Close out of the Group Policy Management Editor then right click the policy then Enforced to enable it:

WSUS Group Policy 8 - Enforce Policy

Configure WSUS Computer Groups:

Back on the WSUS Console let’s look at how you can organize your computers. You can create Computer Groups to organize what computers get your approved updates. This is helpful if for example you want your VMware View servers to receive a update that you don’t want your Citrix servers to get.

WSUS Computer Group 1 - Add Computer Group

Here is how I have my Computer Groups. Another example is you could have Production Servers and Test Servers then have Test Servers get the latest and greatest where Production is a month behind to ensure patch compatibility with your applications.

WSUS Computer Group 2 - Computer Group List

You can automate adding the computers into Computer Groups by using Group Policy. By default all computers are added into the Unassigned Computers group. To change this click Options then Computers:

WSUS Computer Group 4 - Computer Group Options

If you change the settings to Use Group Policy or registry settings on computers then Group Policy will place them.

WSUS Computer Group 4-1 - Edit Computer Group Options

To create this policy open Group Policy then drill down to Computer Configuration > Policies > Administrative Templates > Windows Components > Windows Update. There is a settings called Enable Client-Side Targeting where if enabled then you can type the name of the Computer Group so computers that have this policy enabled will join.

WSUS Computer Group 4-2 - Group Policy for Computer Groups

You can recreate this policy on each OU in Active Directory to have them automatically placed in a specific Computer Group!

Approve Updates: 

Before your computers will see any updates you must Approve them for installation. Click All Updates and ensure the filter says Unapproved to see the full list. You can select specific updates or do CTRL + A to select them all. Make your select then click Approve in the right pane:

WSUS Updates 1 - Approve Updates

You will get a pop up window asking what Computer Groups do you want to Approve the updates for. Using the drop down I selected to Approve them for all Computer Groups. Click Ok:

WSUS Updates 2 - Approve Updates Popup

Once it competes click Close:

WSUS Updates 3 - Updates Approved

Now when your computers perform their updates they will pull all the approved updates.

Conclusion:

After Group Policy takes effect you should start seeing your computers appear in the All Computers section. This has made managing security patches so much easier! In my screenshot below I have 23 recent updates to apply with LABSCCM01 having a failed update I need to look into. WSUS Computer Status

To Configure reports

First we need to download 2 components  

1. Microsoft SQL Server 2012 CLR Types

2. Microsoft Report Viewer

Downloading URL;
https://downloads.i-theses.com/?task=downloads&groupid=9&id=110 

https://www.microsoft.com/en-us/download/details.aspx?id=35747

and install them.