Showing posts with label MISCS. Show all posts
Showing posts with label MISCS. Show all posts

Thursday 4 June 2020

G Suite New Tenant Setup Steps and Prerequisites (High Level Brief For Administrators)

To setup new tenant in G Suite, you need to be ready with the following prerequisites:

Prerequisites:

·         Domain Name Registered with any public domain hosting providers (e.g. sampledomiain.com)

·         Admin access to your registered DNS control panel

·         List of MX Records

·         An email address Corporate or Personal

For Video tutorial on G Suite Setup Steps, please refer this one of the cool tutorial (by MiLA Educations):


Steps (New Tenant Setup at G Suite):

  •         Signup for G Suite at G Suite Signup Page
  •         Use your primary domain name or create one instantly
  •         Verify your Domain for G Suite authorization
  •         Setup Required DNS records (MX Records)
  •         Finish the setup process by login in to G Suite Admin Console you just activated
  •         Setup your billing, company and other information


List of MX records (for G Suite Tenant Setup):

Values for G Suite MX records

Name/Host/Alias Time to Live (TTL*) Record Type Priority Value/Answer/Destination
@ or leave blank 3600 MX 1 ASPMX.L.GOOGLE.COM
@ or leave blank 3600 MX 5 ALT1.ASPMX.L.GOOGLE.COM
@ or leave blank 3600 MX 5 ALT2.ASPMX.L.GOOGLE.COM
@ or leave blank 3600 MX 10 ALT3.ASPMX.L.GOOGLE.COM
@ or leave blank3600MX10ALT4.ASPMX.L.GOOGLE.COM


You are done now with setting up New G Suite Tenant.

Tuesday 22 January 2019

How to export continuous ping result in to a .txt File?

Or, Export ping result output to a .txt file
Or, Recording long duration’s ping output to a .txt file

To Export ping result to a .txt file in C:\ drive of Windows, Please follow below-given steps:

Steps:-            
1. Go to Run
2. Type CMD
3. Hit Enter
4. On CMD prompt, type ping google.com >> C:\pingresult.txt -t

Now you can check your C:\ drive, the pingresult.txt file can be found there containing continuous ping result of google.com.


Cheers, please write me back if you have any query or feedback on this.

Friday 4 January 2019

What is VAPT (Vulnerability Assessment, and Penetration Testing)?

Or, What is a Vulnerability Assessment?
Or, What is Penetration Testing?
Or, What is the difference between vulnerability assessment and penetration testing?

Vulnerability Assessment is a method to rapidly review the network devices, servers, and systems to identify key vulnerabilities and configuration issues that an attacker may be able to take advantage of. It’s generally conducted within the network on internal devices with help of some specialized software tools.


Penetration Testing is an in-depth expert-driven activity focused on identifying various possible routes an attacker could use to potential harm the network or applications. In addition to the vulnerabilities, it also helps in identifying the potential damage and further internal compromise an attacker could carry out.

Additional Note: Once you have the vulnerability assessment or penetration testing report, you start with analyzing the impact area and applicable vulnerabilities to your infra. After this stage is completed, you start fixing the vulnerabilities reported on respective devices.

Technically, its good to fix all reported vulnerabilities, but still you have the choice to decide whether you want to fix it or not. That's all depends upon your business need and the impact that you may see after applying the fixes.

Cheers, if you have any feedback or query, please write me back.

Wednesday 2 January 2019

What is "Archive Attributes" in windows backup?

Or, How ‘Archive Attributes’ helps in windows level folders/files backup

Archive Attributes: This is a technology which helps backups to be performed in the way we required. Archive attributes set an identity on file/folder or data as which file/folder or data have been backed up in last recent backup performed and which has not been backed up yet...

Archive Attributes Status (Before Backup): All files and folder will be having "Check Mark Enabled" on "Folder is ready for archiving" option.

If the check mark is there, means this folder/file has not been backed up yet.  You can refer the below screenshot for reference or you can verify it on your computer's data by going to that folder's Properties > General Tab > Advance Option

















Archive Attributes Status (After Backup): All files and folders will be having "Check Mark Cleared" on "Folder is ready for archiving option".

















Cheers, please write me back if you have any query or feedback on this.

Tuesday 4 December 2018

Apply Startup script locally on windows machines

Or, How to apply/execute logon script locally for a single user in Windows Machine?

Simply, Go to the start-up folder of the specified user’s profile and past your created script file there. Once the specified user will login next time, the script will be executed.

Go to the below-given folder path:-

C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Past your script file here that you want to be executed at start-up.


Hope it helps, write me back if you have any query or feedback on this.

Wednesday 7 June 2017

How to fix unquoted service path vulnerabilities?

Or, Unquoted service path vulnerability
Or, Mitigate unquoted service path vulnerabilities

Descriptions: Unquoted service path vulnerabilities are rated as highly critical vulnerability in windows. Don’t worry it is really very easy to fix.

If you have the vulnerability scan report with you, the report contains following information about this reported vulnerability:

Vulnerability Name: Microsoft Windows Unquoted Service Path Enumeration

Vulnerability Synopsis: The remote Windows host has at least one service installed that uses an unquoted service path.

Vulnerability Description: The remote Windows host has at least one service installed that uses an unquoted service path, which contains at least one whitespace. A local attacker can gain elevated privileges by inserting an executable file in the path of the affected service.  Note that this is a generic test that will flag any application affected by the described vulnerability.

Vulnerability Solution: Ensure that any services that contain a space in the path enclose the path in quotes.

IMP Note: There are two stages to fix this vulnerabilities, 1. finding the unquoted path on the affected server and 2. Fixing the unquoted paths.

Steps-1: How to find the unquoted service paths
Login to affected server with administrative privileges > run CMD as Administrator > run the following command:

wmic service get name,displayname,pathname,startmode |findstr /i "auto" |findstr /i /v "c:\windows\\" |findstr /i /v """

Once the command is executed successfully, you will be able to see one or more unquoted service paths. Result may look like the below reference screenshot:




Copy all the result to a text or excel file and move to the step-2.


Steps-2: Fixing unquoted service path vulnerabilities 
Search for the unquoted registry entry of the affected service under HKLM\System\CurrentControlSet\Services registry path > Double Click the Image Path key > fix comma like “servicepath” at the beginning and end of the path

Examples:
Unquoted service path: C:\Program Files (x86)\Common Files\Adobe\ARM\1.0\armsvc.exe
Quoted service path: "C:\Program Files (x86)\Common Files\Adobe\ARM\1.0\armsvc.exe"

The correct quoted service path image reference:












Cheers, Please write me back if you have any query or feedback..

Friday 17 March 2017

Working fine in IE but chrome reporting the site as dangerous - deceptive site ahead

Or, Dangerous site reported by chrome working fine in Internet Explorer
Or, "Deceptive site ahead" error in chrome, working fine in IE

Descriptions: You may face this error while browsing some sites. This may behave deferentially in different browsers. In my case, it was working fine with Internet Explorer but when I tried to open the same URL in chrome, it was showing me this error.

Error Message:
Deceptive site ahead
Attackers on mysite.com may trick you into doing something dangerous like installing software or revealing your personal information (for example, passwords, phone numbers or credit cards).
Automatically report details of possible security incidents to Google. Privacy Policy


Error Screenshot:
















Solution/Workaround:

Go to Chrome Settings

























On the bottom of the page, click on “+Show advanced settings”














Scroll down and go to Privacy section > Un-check “Protect you and your site from dangerous sites” > Try to browse the site again, it should be fine.












Other recommendations:
It’s good to check with the site developer and ask them to fine tune the site if this issue is being reported on your newly created websites.

Some useful information about this behaviour are as below:

Cheers, please write me back if you have any query or feedback on this.

Monday 13 March 2017

Customize fonts and colour of blogger menu bar

Or, How to change fonts or colour of tab and menu bar in blogger?

Descriptions: It was one of the tedious and time-consuming task for me when I was looking for some possibilities to customize the colour and fonts of my blogger blog. There were lots of article which were suggesting many <html> codes to achieve the same and it was again not easy task for me to place those codes appropriately.. Frankly, I am not a html expert…

Finally, after some R&D on my test blog, I found that it was one of the easiest task to achieve using blogger advanced settings. Yeah, its on GUI… J

Therefore, I thought to share this with you guys. May be it will save your time as well.

Reference Screenshot: Current Scenario
1. Going to change Menu bar colour from Blue to Something else
2. Going to change Tab Text colour from white to something else











Steps:
Login to your Blogger page > Go to Theme > Choose Customize














Click on Advanced option











Select Tabs Background > Adjust the colour type as per your requirements (reference screenshot given below):











Now to change the Tab Text Colour, select Tab Text option and adjust the colour as per your requirements.













After making the changes, click on Apply to Blog button on top right corner of the page.








That’s it, this how now test blog is appearing...










Cheers, Please write me back if you have any query or feedback.

Wednesday 6 July 2016

This site can’t be reached, manage the tracking of your own page views -Blogspot

Or, Manage the tracking of your own page views, return with error "This site can’t be reached" -Blogspot.

Problem:
When you click on "Manage the tracking of your own page views", you get error "This site can't be reached". I noticed this issue after pointing my default blogspot domain URL to a custom domain URL I purchased.
The reference screenshot of the error message is given below:
















Solutions:
Friends the solution worked for me after a of lots efforts, that was too easy anyways. All you need to do it, just remove the (S) from the https:// url of page view tracking page and refresh the page.

This is how it looks like once you removed the "S" from the HTTPS:// url of page view tracking page.


Tuesday 28 June 2016

ERROR 3 (0x00000003) Getting File System - Robocopy

Robocopy Error:
Started : Tuesday, June 28, 2016 10:15:37 AM
2016/06/28 10:15:37 ERROR 3 (0x00000003) Getting File System Type of Destination Z:\MyFolder
The system cannot find the path specified.

Solution:
The Solution worked for me is, I have given full path of destination folder instead of giving mapped drive path of destination folder.

Examples (1):
ROBOCOPY E:\MyFolder Z:\MyFolder /E /ZB /SEC /R:3 /W:3 /TEE /LOG+:C:\FileServerCopy.txt

Its failed with above error, because I was using destination shared path as a mapped drive (Z:\).

Examples (2):
ROBOCOPY E:\MyFolder \\myipaddress\sharedfolder\MyFolder /E /ZB /SEC /R:3 /W:3 /TEE /LOG+:C:\FileServerCopy.txt

It worked like charm, because  I am using full path of my destination shared folder.


Update: 12/05/2017

IMP Notes: In most common scenario, we get encountered by errors in two conditions:

1. Not using CMD as (Run as Administrator).

What to do? Yes, you should use robocopy command on CMD prompts with "Run as Administrator".

2. The folder path we are using is having some space in folder name (like  folder name Finance Department, Production Daily Report etc..).

What to do? If you are having folder path with some folders name having space, you should try to quote the source and destination path with commas.

Example:
ROBOCOPY "\\myserver\public folder\shared folder name" "\\myipaddress\sharedfolder\My Folder"

Cheers, Please write me back if you have any query or feedback..

Saturday 11 June 2016

How to convert MP4 Video file in to .SCR file?

Or, Steps to convert MP4 in to .SCR?
Or, Easy way to convert MP4 to .SCR. 

Guys, I struggled a lot by downloading multiple software and trying multiple ways of converting MP4 video file in to .SCR file and finally found a way far easy to do it, so I thought to share this with you to save your precious time by going here and there…

Special Thanks to:
https://convertio.co/mp4-swf/
http://www.instantstorm.com/

Steps:
1. Convert your .MP4 File in to .SWF by going to https://convertio.co/mp4-swf/
2. Convert your .SWF File in to .SCR by downloading the Instant Storm freeware software from  http://www.instantstorm.com/

Cheers, have a peaceful life.. Please write me back if you have any query or Feedback...


How to create a common folder all users across domain using Group Policy?

Or, Create a folder in all user’s profile using Group Policy.

Steps:
Login to your Domain Controller Server > Open Group Policy Management Console > Create a New Group Policy Object > Go to User Configurations > Preferences > Windows Settings > Folders> Right Click and Select New Folder > Select the action Create in this case or any action you want (Update/Delete etc..) > Select path where you want this folder to be created > Run gpupdate /force to update the policy forcefully.

Example: if the path is C:\users\testfolder , a Folder with the name “testfolder” will be created under every user’s computers path C:\Users.


You may refer the below screenshot for your reference:

















How to Copy files across all domain computers using Group Policy?

Or, Group Policy to delete or copy files across all domain computers.

Note: If you want to copy all files from a specific source, use *.* at end the files path. e.g. \\SharedFolder\*.*

Steps:
Login to your Domain Controller Server > Open Group Policy Management Console > Create a New Group Policy Object > Go to User Configurations > Preferences > Windows Settings > Files > Right Click and Select New File > Select the action you want (Update/Create/Delete etc..) > Select Source and Destinations > Run gpupdate /force to update the policy forcefully.

You may refer the below screenshot for your reference:












Cheers, please write me back if you have any query or feedback on this article…

Friday 10 June 2016

How to import or restore Mozilla Firefox bookmarks?

Steps:
Open Mozilla Firefox > Click on Bookmarks > now Click on “Show All Bookmarks” > now a window pop will be highlighted > Click on Import and backup > Click on Restore > Select the source of the file to be restored > Finish.


Please refer the below screen shot for GUI view:-

Thursday 9 June 2016

How to create a file copy bat script?

Or, File Copy logon script for Group Policy in Active Directory.
Or, Script to copy files using group policy logon script.

Steps:
Open a Notepad > copy the text below and save as filename.bat > use this file in “Logon Script” section of active directory GPO and you are done…
--------------------------------------------------------------------------------------------------------------------------------
@echo off
copy \\servername\foldername\*.* C:\Users or any other destination local path
copy \\servername\foldername\testfile.txt C:\Users or any other destination local path
--------------------------------------------------------------------------------------------------------------------------------
IMP Notes:
Line 1 is for copying multiple files to any desired destination path.
Line 2 is for copying any single file to any destination path.

Cheers, please write me back if you have any query or feedback..

Telnet Client Installation in Windows Server 2012 R2.

Or, Telnet Server Installation on Windows Server 2012 R2.
Or, How to Install Telnet client / Telnet Server on Windows server 2012 R2?

Steps:
Please follow the steps carefully as highlighted in red lines in below given reference screenshots.
Open Server Manager > Go to Manage > Click on Add Roles and Features





















Now here on below step, you can select Telnet Client or Telnet Server as per your requirement.























Wait for installation to be completed and reboot the server as per your convenience if server demands after this telnet client or telnet server installation.