GPOManager – After adding the user in Permission to edit the GPO and User is a domain admin then editing the GPo will fail with the following

GPOManager – After adding the user in Permission to edit the GPO and User is a domain admin then editing the GPo will fail with the following
“Administrative Templates encountered an error while parsing”

adm

Cause:
1. This issue occurs because several system core files have to be updated when they are related to the newly installed language.
2. IE11 on your PC.
3. Corrupt the C:\windows\PolicyDefinitions
Solutions:
1. Copied the folder “policyDefination” from this location C:\Windows\ and paste the folder to this location C:\Windows\SYSVOL\domain\Policies\
2. Install the latest IE security update through windows update or manual patch with a KB file. We recommend that you download and install any needed language pack before you install updates.
3. Download “Administrative Templates for internet explorer” from https://www.microsoft.com/en-us/download/details.aspx?id=40905
Extract copy and paste en-us\inetres.adml file to C:\Windows\PolicyDefinitions\en-us to overwrite.
You may also overwrite C:\Windows\PolicyDefinitions\inetres.admx

CionSystems System Information and Comparison

The System Information and Comparison tool will help troubleshoot these issues quickly, thereby saving you a lot of time. Running this application you can connect to one or more systems and capture the configuration locally or remotely, save it as a master copy, or compare the configurations side by side.
It supports Windows XP, Windows 2003, and all flavors of Windows Vista, Windows 7, Windows 2008 and Windows 2008 R2..

CionSystems Participated in the Security, Identity, access & authentication management event organized at Redmond, WA on Saturday, November 12, 2016.

CionSystems Participated in the Security, Identity, access & authentication management event organized at Redmond, WA on Saturday, November 12, 2016.

Zubair Ansari, CEO and Founder of CionSystems presented the talk and explain the importance of Security, identity, access and authentication.Demonstration was done using CionSystems Products for Active Directory and OpenLdap
The event provides participants an opportunity to interact and share ideas / thoughts and evaluate the latest developments happening in the Security and identity space.

How to restrict installation of different Software’s on machines

We can do this with GPO Security settings software restriction policies more over we can also create restriction groups

Details

Method1:

Computer Configurations > Administrative Templates > Windows Components > Windows Installer–>Turn off Windows Installer.when you double-click that option, another box will pop up, and you just have to choose Enabled, then press OK

Method2:

User Configuration > Administrative Templates > System–>Don’t Run Specified Windows Applications\Double-click that and another window appears. When you click Enabled, a new option appears called List of Disallowed Applications. Click Show and a third window appears where you type in the path of the program to be blocked

Add / Remove / Edit / Search OpenLdap Users from ADMPRO Application

LDAP configuration in ADM Pro :-

  • Login as a admin
  • Click on LDAP Menu
  • Click on LDAP Domain Profiles
  • Click on ADD
  • Provide credentials  of LDAP domain

  • Click on Test Connection
  • It displays “connected successfully”
  • Now click on Save

ADD a User in LDAP through ADM Pro:–

  • Move to LDAP Query concole
  • ADD new object



Delete object :–

  • Select All objects
  • It generated LDAP filter
  • It displays all objects (users, group, OU etc.,)
  • Select which object you want to delete
  • Now click on delete

  • Click on Yes
  • Object deleted successfully

ADD OU :–




Edit Object :–

  • Select All objects
  • It generated LDAP filter
  • It displays all objects (users, group, OU etc.,)
  • Select which object you want to Edit

  • Now Click on Edit

Search ldap objects:–
Using Filters we can search the ldapobjects.Filters to search the ldap objects
Examples:–
• (objectClass=*) — It displays all object typres like users,ous,groups etc.,
• (!(objectClass=person)) — eturns all entries that do not represent a person
• (sn=1*) –All objects with a surname that starts with “1”
• (!(email=*)) — Get all entries without an email attribute

Datetime issues for different regions in SQL/CMT Application

Database exception

Eg: “The conversion of a varchar data type to a datetime data type resulted in an out-of –range value.The statement has been terminated.”

This is due to unmatched date-time formats between current application running system and the database.

For Eg: Your application running on system which is following Spanish (Spain) with “dd/MM/yyyy”  date format  and the database that your application storing the data following US-English with “M/d/yyyy” date format. In that scenario you will get this kind of exception.

To avoid this exception, we must set both date formats are of same type.

How to Change Region Language, Date & Time Settings

Here we are showing how to change region settings in Operating System and how to set default language and datetime format settings for SQL server. Here we are showing an example for country “Spain.

In Operating System:

  1. Click on Start Menu ButtonàGo to  Control Panel
  2. Click on “Clock, Language, and Region” optionàClick on “Region and Language
  3. Click on Formats tabàChange the format from “English(United States)” to “Spanish (Spain)” and Set First day of week to “lunes”.
  4. Click on Location tabàChange Current location from United States to SpainàClick on “Apply” and finally click on “OK” button.
  5. Now click on the time shown on taskbaràclick on “Change date and time settings”àclick on “Change time zone”àSelect the concerned time zone for “Spain” Location.

For “Spain” choose “(UTC +01:00) Brussels, Copenhagen, Madrid, Paris” timezone.

This is all from Operating System side. Now let us see  how to set default language  and its date time formats from SQL Server side.

In SQL Server Management Studio:

  1. Run  SQL Server Management Studio as an Administrator or we may run it as a normal user.
  1. After  Logon  into Sql ServeràFrom the Standard bar, click New Queryà

Copy and paste the following command into the query window and click Execute.

DBCC USEROPTIONS

  1. After executing the command, query window will display current language and datetime formats.

In the result we can notice, “language “ option value is “us_english” and “dateformat” option value is “mdy”.

Change Default Language for SQL Server

We can set default language for SQL server in two ways:

  1. i.            Using SQL Server Management Studio
  2. ii.            Using Transact-SQL

i). Using SQL Server Management Studio

To configure the default language option:

  • Go to ObjectExplorerà Right click on your database server nameàPropertiesàServer Propertieswindow wil be opened.
  • Click on AdvancedàChange DefaultLanguage from “English” to “Spanish “à Click on OK button.

ii). Using Transact-SQL

To configure the default language option:

  1. Connect to the Database Engine.
  2. From the Standard bar, click New Query.
  3. Copy and paste the following example into the query window and click Execute.

This example shows how to use sp_configure to configure the default language option to Spanish

USE master ;

GO

EXEC sp_configuredefault language‘, 5 ;

GO

RECONFIGURE;

GO

Note: In the above example, “5” is the language- id for  Spanish& “master” is present default database in SQL.(Instead of  “master”, we can use our currently using database name)

We have to mention respective language id as per our requirement. For language ids, see the below table.

╔════════╦═════════════════════╗
║ LANGID ║        ALIAS        ║
╠════════╬═════════════════════╣
║      0 ║ English             ║
║      1 ║ German              ║
║      2 ║ French              ║
║      3 ║ Japanese            ║
║      4 ║ Danish              ║
║      5 ║ Spanish             ║
║      6 ║ Italian             ║
║      7 ║ Dutch               ║
║      8 ║ Norwegian           ║
║      9 ║ Portuguese          ║
║     10 ║ Finnish             ║
║     11 ║ Swedish             ║
║     12 ║ Czech               ║
║     13 ║ Hungarian           ║
║     14 ║ Polish              ║
║     15 ║ Romanian            ║
║     16 ║ Croatian            ║
║     17 ║ Slovak              ║
║     18 ║ Slovenian           ║
║     19 ║ Greek               ║
║     20 ║ Bulgarian           ║
║     21 ║ Russian             ║
║     22 ║ Turkish             ║
║     23 ║ British English     ║
║     24 ║ Estonian            ║
║     25 ║ Latvian             ║
║     26 ║ Lithuanian          ║
║     27 ║ Brazilian           ║
║     28 ║ Traditional Chinese ║
║     29 ║ Korean              ║
║     30 ║ Simplified Chinese  ║
║     31 ║ Arabic              ║
║     32 ║ Thai                ║
║     33 ║ Bokmål              ║
╚════════╩═════════════════════╝
  • We can get the above language ids list by executing the following command in query window

— Languages in SQL Server 2008 with dateformat

SELECT LanguageID = langid,

name,

alias,

dateformat

FROM sys.syslanguages

ORDER BY langid

GO

Change Default Language for SQL Logins

Now we have to set default language for SQL Logins, we can do this in two ways:

  1. i.            Using SQL Server Management Studio
  2. ii.            Using Transact-SQL

i). Using SQL Server Management Studio

  • Go to ObjectExploreràExpand SecurityàExpand LoginsàSelect  “sa” (which is a Login ID/ UserName)àRight Click on “sa”  and click on Properties àLogin Properties window will be opened.
  • Select General tabàChange Default language from “ English” to “Spanish”àFinally Click on OK button.

Note: Here we can also set our currently using database as a default database, by default it is master.

ii). Using Transact-SQL

Copy and paste the following example into the query window and click Execute.

use master

EXEC sp_defaultlanguage’sa’,’Spanish’

GO

Note: In the above example, “master is the default database, & “Spanishis the language that we want to set as default language. (We can use our current database name instead of “master”).

–this step is optional

  • To set our currently using database as a default database, Copy and paste the following example into the query window and click Execute.

EXEC sp_defaultdb’sa’,’CMT_DB’

In the above example, “sa” is the login-id/username & “CMT_DB is the database that we want to set as a default database.

  • Now once Close and Restart the SQL Server Management Studio as an Administrator or as a normal user to take configuration changes into account.

Run the following command in Query window:

DBCC USEROPTIONS

  • After executing the command, query window will display current language and date formats.
  • We can notice that language and date formats are changed to Spanish Region.
  • In the result we can notice, “language “ option value is “Español” and “dateformat” option value is “dmy”.