IT tutorials
 
Technology
 

Microsoft Dynamic GP 2010 : Correcting a lost system password by resetting the System Password, Warning the user if Caps Lock is on during login

8/16/2013 9:59:15 AM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

1. Correcting a lost system password by resetting the System Password

Part of the security matrix of Dynamics GP is the System Password. The system password provides another layer of protection after users have already logged in to Dynamics GP. Certain processes such as changing security settings or setup options may require an additional password known as the System Password. Even if a user has appropriate rights to set up options they can't changes those options without the system password.

Although the use of a system password is technically optional, it is typically used in Dynamics GP implementations. In many environments it is entered very infrequently and typically only by administrators. Consequently, the system password can be lost or forgotten as people leave the company or change roles. Imagine how painful it could be to explain that security can't be changed because the system password has been lost!

Fortunately, there is a process available for administrators with access to SQL Server to reset the administrator password. In this recipe, we'll look at how to do just that.

How to do it...

To reset the system password:

  1. 1. Open Microsoft SQL Server Management Studio and connect to the SQL Server used for Dynamics GP. Enter a username and password or use windows authentication to connect.

    Because of the way that Dynamics GP maintains security with SQL Server a Dynamics GP username can't be used here. The only exception is the SQL system administrator (sa) user.

  2. 2. Click on the New Query button. Select the DYNAMICS database from the drop-down menu on the top left. Enter the following script in the code area on the right:

    Use Dynamics
    Go
    Update SY02400 Set Password = 0X00202020202020202020202020202020
    
  3. 3. Click on Execute to run the script. This resets the system password:

  1. 4. Open Microsoft Dynamics GP and select Administration from the Navigation Pane. Select System Password from the Area Page under System.

  2. 5. Enter a new system password. Re-enter the new system password as a confirmation and click on OK to save.

How it works...

The long line of strange numbers after Set Password simply sets the password back to blank. The password isn't encrypted, it's simply masked. With enough time, energy, and access to a company's SQL Server it would be possible to decode the masking. Then again, if a troublemaker has access to a firm's SQL Server, they don't need the system password to make a mess. This tip belongs with a company's database administrator. Ordinary users should be prevented from running queries that update information via SQL.

2. Warning the user if Caps Lock is on during login

Login passwords for Dynamics GP are case sensitive and limited to three tries. This means that the words "password" and "Password" are viewed as completely different when logging in because of the capital "P" in Password. After three failed login attempts Dynamics GP closes and the user has to restart before trying to login again. When a user accidently has the Caps Lock button on it almost always leads to failed logins and user frustration.

In recognition of this Patrick Roth, in Developer Support at Microsoft, wrote a VBA utility that checks for Caps Lock activation and warns the user if it is on during login. He made the utility freely available to the community via the Developing for Dynamics GP blog.

In this recipe, we'll look at deploying and using this utility to warn users if Caps Lock is on.

How to do it...

To warn users if Caps Lock is on during Login:

  1. 2. Download and save the file Login_Password_Warning.zip to your desktop:

  1. 3. Right-click on the downloaded file and select Extract. Then click on the Extract button.

  2. 4. Back in Dynamics GP select Microsoft Dynamics GP | Tools | Customize | Customization Maintenance.

  3. 5. Click on Import and then on Browse. Navigate to the location where you extracted the Login_Password_Warning.zip file on the desktop and select the Login_Password_Warning.Package file. Click on OK to install:

  1. 6. This customization will need to be applied to each user's workstation by repeating steps 4 and 5.

  2. 7. Once applied a user will be warned if the Caps Lock button is on when logging in:

How it works...

Like the Reducing licensing needs by preventing Multiple Company Logins recipe, this hack uses a free, unsupported Visual Basic for Applications file. The package file will need to be applied to each user's computer for the Caps Lock warning to appear. However, that is a small price to pay for a recipe that significantly reduces user frustration.

There's more...

There are some additional things to look out for when cooking up this recipe.

Additional considerations
Since this hack uses a Visual Basic for Applications (VBA) customization companies will need to be licensed to either build or run customizations in Dynamics GP. For companies that require a Customization Site Enabler license, it is available for a fee through a Microsoft value added reseller.
 
Others
 
- Microsoft Dynamic GP 2010 : Entering and Tracking Use Tax with Credit Card Functionality
- Microsoft Dynamic GP 2010 : Turning on more features with Dex.ini settings
- SQL Server 2008 R2 : Index Selection, Evaluating Index Usefulness
- SQL Server 2008 R2 : Index Utilization
- SQL Server 2008 R2 : Data Modification and Performance
- Windows 7 : Understanding VPNs (part 2) - VPN Client and Client Software
- Windows 7 : Understanding VPNs (part 1) - Understanding VPN Encapsulation and Tunneling, Understanding Remote Access VPN Infrastructure
- SharePoint 2010 : ADO.NET Data Services and REST (part 4) - Consuming ADO.NET Data Services in JavaScript
- SharePoint 2010 : ADO.NET Data Services and REST (part 3) - Consuming ADO.NET Data Services in Silverlight
- SharePoint 2010 : ADO.NET Data Services and REST (part 2) - Consuming ADO.NET Data Services in .NET Applications
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us