Posted: 25th March 2019 by admin in Uncategorized


  • Quick Service

  • Service At Doorstep

  • Easy Access

  • Easy Payment

  • User Friendly

  • Save Time

Create your profile with this portal to apply online for notified services under Maharashtra Right to Public Services Act 2015

  • Information entered on this page will be used as base for most certificates that will be issued by the Government. Please take your time and patiently fill up all the details. Please take special care to recheck spellings in all information that you enter. You can also later modify and alter information on this page.
  • For Marathi KeyBoard Press CTRL + Y.
  • Kindly double click on typed word to get options.

Select any One from below given options to apply on this portal.

Option 1

Create UserID and Password by verifying UID.
Your information will be downloaded here and will be saved in your user profile after completion of eKYC.

Option 2

Upload complete self details, photo,Identity Proof, Address Proof once and Create own user profile using OTP verification on your mobile number.After this process while applying online for service , No need to attach Photo, Identity Proof and Address Proof.

Basically, there are two possibilities to distinguish:

  1. Hiding the entries “Shut down” and “Restart” in the Start Menu:
    If shutdown/restart/suspend/hibernate options are missing in the menu, this does not mean that a normal user does not have the privilege to shut down the machine.The user still can shut down the computer by using e.g. the shutdown command from command line.

    • Open the Local Group Policy Editor: Start -> Run -> Enter gpedit.msc
    • Move to User  Configuration/ Administrative Templates/ Start Menu and Taskbar
    • Enable “Remove and Prevent access to the Shut Down from Start Menu”
  2. Removing the user’s shutdown-privilege
    This is the right and effective way to solve that issue.

Removing the user’s shutdown-privilege

For the following operating systems (except “Home” Editions)

  • Windows XP
  • Windows Vista
  • Windows 7
  • Windows Server 2003 (SBS)
  • Windows Server 2008 (R2)
  • Windows Server 2012 (R2) Standard

Log in with administrative rights: Start -> Run -> Enter: secpol.msc (Security Policy Editor).
Move to Local Policy/ User Right Assignment and on the right pane open “Shut down the system”.
This security setting determines which user (who is logged in remotely) has the privilege to shut down the operating system.
Default settings for servers (where XP/VS Server is installed): Administrators and Backup Operators

Removing the user’s shutdown-privilege on Windows Home-Editions

Local Security Policy Editor is not included in Windows Home Edition, like Windows XP Home, Vista Home and Windows 7 Home.
The privilege to shut down the computer is called “SeShutdownPrivilege”. Configuring this privilege is more complicated in Windows Home Editions, because Security Policy Editor is not available.

But there is a solution to modify those settings, but two command line programs are required:

  1. Microsoft´s accesschk.exe
    This program displays the current privileges of users or groups.Download here: http://download.sysinternals.com/Files/accesschk.zip
    Information page: http://technet.microsoft.com/en-us/sysinternals/bb664922.aspx
    After downloading copy
    accesschk.exe from the zip to your windows\system32 directory!Open a command prompt (as Administrator !) and enter the command

    accesschk -a UserOrGroupName *

    to see which privileges a user or group has: e.g. to list the privileges of the group Users use the following command:
    accesschk -a Users *

  2. If the privilege should be removed, a program called “ntrights.exe” from the Windows Resource Kit is required.
    Download the Windows Resources Kit here: http://www.microsoft.com/downloads/en/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
    After successful installation, please copy ntrights.exe (from e.g. C:\Program Files (x86)\Windows Resource Kits\Tools) to C:\Windows\System32 and uninstall Resource Kit afterwards.
    Start the command prompt (“Run as Administrator”) and enter the command:
    ntrights -u UserOrGroupName -r PrivilegeName
    to revoke the privilege from a single user or group:

    To verify  that the privilege has been revoked use the command:
    accesschk -a Users *

    “SeShutdownPrivilege” is not listed anymore!

Hope you Enjoy!

There are two methods to disabling your plugins. One requires you to use FTP, and the other requires you to use phpMyAdmin.

Deactivate All Plugins Using FTP

In this method, you will need to either use an FTP client, or your host’s file manager. If you haven’t used FTP before, then you may want to see our how to use FTP to upload files to WordPress.

First, you need to connect to your website using FTP client, or File Manager in cPanel. Once connected, you need to navigate to the /wp-content/ folder.

wp-content folder in FTP view

Inside the wp-content folder, you will see a folder called plugins. This is where WordPress stores all plugins installed on your website.

Right click on the plugins folder and select Rename. Change the name of the plugins folder to anything that you like. In our example, we will call it “plugins.deactivate”. Once you do this, all of your plugins will be deactivated.

Rename plugins folder

Usually, this method is used when you are locked out of your admin area. If the issue was with your plugins, then you should be able to log into your WordPress admin area.

Once you do that, go back to your /wp-content/ folder and rename “plugins.deactivate” back to plugins. Now you can activate one plugin at a time until your site breaks again. At which point, you will know exactly which plugin caused the issue.

Deactivate all plugins using phpMyAdmin

The FTP method is definitely easier in our opinion, however, you can also deactivate all plugins using phpMyAdmin.

First, you will need to login to your web hosting dashboard. In this example, we are showing you a cPanel dashboard. Your hosting account’s dashboard may look different.

You will need to click on phpMyAdmin icon under the ‘Databases’ section.

phpMyAdmin in cPanel

This will launch phpMyAdmin in a new browser window. You will need to select your WordPress database if it is not already selected. After that, you will be able to see WordPress database tables.

WordPress database tables in phpMyAdmin

As you can see that all tables in the database have wp_ prefix before table name. Your tables may have a different prefix.

You need to click on the wp_options table. Inside wp_options table, you will see rows of different options. You will need to find the option ‘active_plugins’ and then click on the ‘Edit’ Link next to it.

Editing option active_plugins

On the next screen, you will need to change the option_value field to a:0:{} and then click on Go button to save your changes.

Reset active plugins

That’s all, you have successfully deactivated all WordPress plugins using phpMyAdmin. If it was a plugin stopping you from accessing WordPress admin area, then you should be able to login now.

Hope you Enjoy!

How can I start and stop apache

Posted: 1st November 2014 by kunwardharmesh in Apache

You stop a service with the systemctl stop command.

$ systemctl stop httpd

There’s no additional output, you can still use systemctl status to verify the service stopped.

$ systemctl status httpd
   Active: inactive (dead) since Sat 2015-08-08 20:53:23 CEST; 25s ago
  Process: 28234 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
 Main PID: 27482 (code=exited, status=0/SUCCESS)

The service is “inactive (dead)” and was cleanly shutdown (“code=exited, status=0”).

Alternatively, if you kill -9 a process, it’ll show you that in the systemctl status output.

$ systemctl status httpd
  Process: 28465 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=killed, signal=KILL)
 Main PID: 28465 (code=killed, signal=KILL)

Useful output right there.

Start a service on CentOS 7

Like stopping a service, you can start a service with systemctl start.

$ systemctl start httpd

Again, no output, unless something went wrong. Use systemctl status to check the status of your service.

If you made an error in your service configuration, you get output like this.

$ systemctl start httpd
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.

To see why the service failed to start, check the specific service logs. Systemd also has a way to output the info, but I find it cumbersome and sometimes lacking info — the kind of info that’s logged in additional error logs from the particular service.

$ systemctl status httpd
Aug 08 20:57:38 ma httpd[29986]: AH00526: Syntax error on line 14 of /etc/httpd/conf.d/something.conf:
Aug 08 20:57:38 ma httpd[29986]: Invalid command 'syntax', perhaps misspelled or defined by a module not included in the server configuration

If you get an error, fix it and try to start your service again.

Hope you Enjoy!

How to generate a CSR in Microsoft IIS 6

Posted: 5th August 2014 by kunwardharmesh in IIS6
  • From the Administrative Tools in the Control Panel, run Internet Information Services.csr-IIS1
  • Right-click on the website you are securing, and select Properties. Click on the Directory Security tab, and hit the Server Certificate button.Internet-Security
  • Click next. Choose ‘Create a new certificate’ and hit next.If you are renewing an existing certificate, you will instead see the option to Renew, Remove, or Replace your certificate. Choose the option to Renew and skip over steps 5-8. csr-IIS3
  • Choose ‘Prepare the request now, but send it later’ and hit next.csr-IIS4
  • Enter a name for the certificate that you can identify on your server. Choose a bit-length of 2048. Leave the other boxes un-checked.csr-IIS5
  • Enter the full legal name of your company. Enter a department such as ‘Security’ or ‘IT’ in the organizational unit.


  • Enter the fully qualified domain name of your site (ex: www.yourdomain.com)csr-IIS7
  • Enter the location of your organization: Country, State, and City.


  • Choose a file name and a location to save your SSL Certificate Signing Request (CSR). Thefileshould be saved as a text file (.txt)csr-IIS9
  • Click next to generate the file.csr-IIS10
  • Now open the CSR file using a text editor such as notepad, and copy and paste the text (including the BEGIN and END tags) into the order form.** Important ** – When you have completed the steps above a “pending request” will be created on your website. This “pending request” MUST NOT BE DELETED. Later, when your certificate is issued, you must install the certificate to this exact pending request or the certificate will not be functional.
  • After you receive your SSL Certificate from provider, you can install it.
  • Enjoy 🙂

How to generate a CSR in Microsoft IIS 7

Posted: 4th August 2014 by kunwardharmesh in IIS7
  • Click Start, then Administrative Tools, then Internet Information Services (IIS) Manager.
  • Click on the server name.
  • From the center menu, double-click the “Server Certificates” button in the “Security” section (it is near the bottom of the menu).


  • Next, from the “Actions” menu (on the right), click on “Create Certificate Request.” This will open the Request Certificate wizard.iis7-csr-2
  • In the “Distinguished Name Properties” window, enter the information as follows:

    Common Name – The name through which the certificate will be accessed (usually the fully-qualified domain name, e.g., www.domain.com or mail.domain.com).
    Organization – The legally registered name of your organization/company.
    Organizational unit – The name of your department within the organization (frequently this entry will be listed as “IT,” “Web Security,” or is simply left blank).
    City/locality – The city in which your organization is located.
    State/province – The state in which your organization is located.
    Country/region – two-digit country code


  • Click Next.
  • In the “Cryptographic Service Provider Properties” window, enter the following information and then, click Next:
  • Cryptographic service provider – In the drop-down list, select Microsoft RSA SChannel…, unless you have a specific cryptographic provider.
    Bit length – In the drop-down list, select 2048 (or higher).


  • Enter a filename for your CSR file.Remember the filename that you choose and the location to which you save it. You will need to open this file as a text file and copy the entire body of it (including the Begin and End Certificate Request tags) into the online order process when prompted.
  • After you receive your SSL Certificate from DigiCert, you can install it.

Remove .php and .html extensions with web.config on IIS7

Posted: 14th July 2014 by kunwardharmesh in MSSQL


1. Start IIS Manager and on the left, in the Connections pane, select your required site (e.g. Default Web Site)

2. In the centre (Features View) double click URL Rewrite.

3. In the right panel click Import Rules… then paste your rules from the .htaccess file into the Rewrite rules box

4. Click apply in the right column.

In the specific question above the following .htaccess redirect rules

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*)$ $1.php $1.html [NC,L]

generate the following web.config file.

<?xml version=”1.0″ encoding=”UTF-8″?>
<rule name=”Imported Rule 1″ stopProcessing=”true”>
<match url=”^(.*)$” />
<conditions logicalGrouping=”MatchAll”>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” ignoreCase=”false” negate=”true” />
<add input=”{REQUEST_FILENAME}.php” matchType=”IsFile” ignoreCase=”false” />
<action type=”Rewrite” url=”{R:1}.php” />
<rule name=”Imported Rule 2″ stopProcessing=”true”>
<match url=”^(.*)$” />
<conditions logicalGrouping=”MatchAll”>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” ignoreCase=”false” negate=”true” />
<add input=”{REQUEST_FILENAME}.html” matchType=”IsFile” ignoreCase=”false” />
<action type=”Rewrite” url=”{R:1}.html” />

cPanel shows incorrect disk usage

Posted: 14th July 2014 by kunwardharmesh in WHM/cPanel


How to fix incorrect disk usage showing for a user in Cpanel

A customer complains that their reported disk usage is too high, that they are not using so much space. What do you do?


Common reasons for quota problems

– There are files owned by the same user elsewhere on the server
– The backup directory is being counted towards the user’s disk quota
– Extra log files are being counted towards the user’s quota

1. Get their username and login to WHM to see if WHM is actually reporting the amount of space usage they say. If WHM does show extreme disk usage….

2. Login to SSH and cd to their home directory

cd /home/username
du -h

This will give a human readable display of folder by folder listing and space usage, with a total at the end. THIS WILL BE ACCURATE.

3. So, du -h shows a lower number than WHM? Then their is probably a backup file somewhere on the server with the same UID as this user.

4. Now, you need to locate the uid of the customer. You will need to know their username.

grep username /etc/passwd

5. Once get the output, search for their username for UID.


That will show a digit number and a smaller number. The larger number should be the UID.

6. Now, go to shell and run the following command (where, in this example, 33025 is the UID of the user)

find / -uid 500

A folder by folder listing will be displayed. It may take some time to process. When completed, you should scroll back through the output to find the files.

Files in /home/username are fine as well as /etc/valiases, etc.

LOOK for files in your backup / other directory that may have the same UID as your user. If found, that is usually the culprit.

Hope you Enjoy!

WordPress Permalinks

Posted: 25th November 2013 by kunwardharmesh in WordPress

If you do not already have a .htaccess file, create one. If you have shell or ssh access to the server, a simple touch .htaccess command will create the file. If you are using FTP to transfer files, create a file on your local computer, call it 1.htaccess, upload it to the root of your WordPress folder, and then rename it to .htaccess.

You can edit the .htaccess file by FTP, shell, or (possibly) your host’s control panel.

For sites installed in root directory:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress

And for sites installed in a subdirectory:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /subdirectory/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /subdirectory/index.php [L]
# END WordPress

If your .htaccess file contains errors that bring down your site (“Internal Server Error (500)”), you will need to use FTP or your host’s control panel to delete the rogue .htaccess file.

To enable Permalinks on a WordPress site hosted under IIS7:

1. If the web.config exists, edit it and add the following to the <system.webServer> tag:

<rule name="Main Rule" stopProcessing="true">
url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<action type="Rewrite" url="index.php" />

2. If the web.config does not exist, create a new file and put in the following:

<rule name="Main Rule" stopProcessing="true">
url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<action type="Rewrite" url="index.php" />

Hope you Enjoy!


View errors remotely in IIS7

Posted: 25th November 2013 by kunwardharmesh in IIS7

By default, IIS7 blocks error messages from being viewed remotely.

This also applies to PHP sites such as WordPress hosted under IIS7 which by default might display a 500 error without the following config changes.

To enable the viewing of error messages add the following line to the <configuration> section of your web.config file:

<httpErrors errorMode=”Detailed” />

If you don’t currently have a web.config file it should look like the following:

<httpErrors errorMode=”Detailed” />