Monday, July 29, 2019

Search using Date Range in Windows and GMail

1. Windows

- Date between 3/26 and 3/28

datemodified:‎3/‎26/‎2019 .. ‎3/‎28/‎2019

- Other Date Examples,

modified:2/1/2016 .. 2/20/2016
Note the two periods between the dates, this tells the search engine to use it as a range. You could also use “Datecreated:” or just “date:” instead of “modified:” if you wanted to.

- Advanced Examples Here

2. Gmail:

   

Before/After Date


     before:2018/9/1
     after:2018/9/1 before:2018/11/18
    

Before/After Relative Date (instead of specific date)


     newer_than:2d
     older_than:30d

Search multiple labels!


         label:(sent OR inbox)
         label:(sent OR inbox) Indeed
         label:(awork-jobs OR awork-jobs-jobsites) Indeed
         label:(awork-jobs OR awork-jobs-jobsites | awork-jobs-melbourne) older_than:30d
         label:(label:awork-jobs-remote) older_than:30d

Sunday, July 28, 2019

Setup Office365 Email account in Outlook 2010 or 2013


Quick Settings
Incoming Settings:
  • outlook.office365.com
  • port 995
  • SSL applied/ticked

Outgoing Server Settings:
  • smtp.office365.com
  • port 587
  • SMTP authentication applied/ticked
  • TLS applied/ticked
  • Authentication - password
Step by Step Instructions
  1. Open Outlook 2010.
  2. Select the File tab.
  3. Click on + Add Account.
  4. Complete the following Fields:
    • Your Name
    • Email Address
    • Password
    • Re-type your password 
  5. Click Next, a window will appear advising you that it is configuring the network settings.  An Error may be displayed asking you to search unencrypted.
  6. Click Next. If this fails to connect and you receive an error message tick the  Manually configure server settings box and click Next.
  7. Select Internet E-mail and click Next.
    • Select POP3 form the Account Drop Down.
    • In the 'Incoming mail server' field type outlook.office365.com
    • In the 'Outgoing mail server' field type smtp.office365.com
    • In the Username field type in your full email address
    • In the Password field enter your email password
  8. Click on More Settings.
  9. Click on the Outgoing Server tab.
  10. Tick My outgoing server requires authentication.
  11. Ensure the radio button next to Use the same settings as my incoming server is selected and click Ok button.





  12. Click on the Advanced tab.
  13. In the Incoming server field enter 995.
  14. Tick This server requires an encrypted connection (SSL).
  15. In the Outgoing server field enter 587.
  16. From the drop down menu next to Use the following type of encrypted connection select TLS.
                                    
  1. Click OK.
  2. Click on Test Account settings and a results window will be displayed.
  3. Click Close to continue. A confirmation screen will be displayed.
  4. Click Finish. A list of email accounts will then be displayed.
                                
Click Close.
  You should now be able to send and receive emails.


Chrome Extensions for Text Productivity


Copy and Paste, Multi-Line, Multi-Copy, Allow Copy on Blocked Pages ect

MultiLine Text Selection

MultiSelect

Copy Plain Text

Multicopy

Selectable

Allow Select and Copy

Allow Right Click


Background on User-Select: none Blocked Web pages
https://stackoverflow.com/questions/42437433/disable-select-allow-copy-paste
https://stackoverflow.com/questions/7101982/enabling-blocked-text-selection-using-javascript

Office 365 Outlook Find POP, IMAP and SMTP Servers

1. go to portal.office.com

2. Open Outlook app

3. Gear Icon | Your app settings | Mail |

4. Expand Tree: Mail | Accounts | POP and IMAP

Normally servers are:

POP setting
Server name: outlook.office365.com
Port: 995
Encryption method: TLS

IMAP setting
Server name: outlook.office365.com
Port: 993
Encryption method: TLS

SMTP setting
Server name: smtp.office365.com
Port: 587
Encryption method: STARTTLS


For more info see : here

Thursday, July 11, 2019

Clipbrd Beta is Awesome, Share Clipboard between Devices.


Install this, I did step 1 and 2, YOU just need to do step 3 and 4.
      AWESOME Chrome Extension. Copy on Computer, Paste on Phone; Copy on Phone, Paste on Computer.
     This saves times for work and personal stuff.

1. Install ClipBrd in Chrome.
     https://chrome.google.com/webstore/detail/clipbrd-beta/febnkhppinonnjgfjdigiipdajophkkk?hl=en
2. Create an account.
    

3. Install ClipBrd on Your PHONE, from Playstore.
4. Login using same account from step 2.
5. Done.

Friday, June 14, 2019

Office 365 Subscriptions: Developer vs Business vs Enterprise

and

E1 vs E3 vs E5 ect.

So MS just cleared things up a bit or added dirt to the water even more depending on your view point.

I will break this into 2 areas: Developer Subscriptions and Business Subs.

MS announced June 2019 that Office 365 Developer is now 90 day auto-renewing, changing from yearly expiring. This now means A) tenant can be preserved over time without need to move to a new tenant or pay subscription at end of year and B) you need to refresh+access your dev tenant at least every 90 days to ensure the subscription does not expire. .

Office 365 Developer

Start here : subscription is an Office 365 Enterprise E3 Developer subscription with 25 user licenses. It lasts for 90 days and is free to use for development


Expiration Changes

New Office 365 Developer Subscription expiration rules


2 ways to get O365 Developer Subscription:

O365 Developer Subscription via Visual Studio Subscription

- VS Professional= 249 per yr includes O365 Dev Sub

https://my.visualstudio.com/benefits

O365 Developer Subscription via Direct

- 90 Day Free or

- Yearly Paid Sub : 99 per yr (or 8$ per mos)

https://developer.microsoft.com/en-us/office/dev-program 

Excellent Step by Step how to Create



Create a test Environment

Office 365 dev/test environment

and

See Data into O365 Tenant and SharePoint Online

and

Azure Hybrid Setup w/ Azure Credits

What’s Includes and NOT includes in O365 Developer Subscription?


Your developer subscription includes the following:

Exchange Online (Plan 2)
Flow for Office 365 Plan 2
Microsoft Forms (Plan E5)
Microsoft Planner
Microsoft Stream for Office 365 E5 SKU
Microsoft Teams
Mobile Device Management for Office 365
Office 365 ProPlus
PowerApps for Office 365 Plan 2
SharePoint Online for Developer
Skype for Business Online (Plan 2)
Sway
To-Do (Plan 3)


What is NOT includes:

PowerBI (PowerBI for free)

Azure Credits

Azure Subscription + Azure Functions 

Develop PowerApps, Azure Functions and Flow

https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-azure-function
https://collab365.community/how-to-use-microsoft-powerapps/
http://blog.sharedove.com/adisjugo/index.php/2018/11/29/extending-powerapps-and-flow-part-1-adding-custom-data-sources-through-azure-api-apps/

Check my Office 365 Developer Subscription Status:

O365 Developer Dashboard


Also, when adding licenses,

Understand what happens when you assign a license to someone

The following table lists what automatically happens when you assign a license to someone:

If the subscription has this service
This automatically happens

Exchange Online
A mailbox is created for that person.

SharePoint Online
Edit permissions to the default SharePoint Online team site are assigned to that person.

Skype for Business Online
The person will have access to the features associated with the license.

Office 365 ProPlus
The person will be able to download Microsoft Office on up to 5 Macs or PCs, 5 tablets, and 5 smartphones.


Office 365 Business:

See here more info

https://docs.microsoft.com/en-us/office365/servicedescriptions/office-365-platform-service-description/office-365-plan-options

Tuesday, May 14, 2019

Windows Startup Location Order : Windows Application Startup locations


List of registry keys that can start a program when Windows boots. Applies to Windows 9x thru Win10, see reference articles here and here


I. Windows Boot Device Drivers

These drivers are loaded first as they are required for the proper operation of hardware such as storage devices. Boot device drivers will be located under the following key and have a Startvalue equal to 0.

Registry Keys:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services

1 )Windows will now perform various tasks

2) start the Winlogon process.

3) Then starts the service control manager that loads services & drivers that are set for auto-start.

Windows Auto-start Services & Drivers –The (SCM) process (\Windows\System32\services.exe), will now launch any services or drivers that are marked with a Start value of 2.

Registry Keys:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services

II. RunServicesOnce

- This key is designed to start services when a computer boots up. These entries may continue running even after you log on, but must be completed before the

HKEY_LOCAL_MACHINE\...\RunOnce registry can start loading its programs.

Registry Keys:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce

II. RunServices

- This key is designed to start services as well. These entries can also continue running even after you log on, but must be completed before the HKEY_LOCAL_MACHINE\...\RunOnce registry can start loading its programs.

Registry Keys:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServices

The Windows logon prompt is shown on the Screen. After a user logs in the rest of the keys continue.

Notify - This key is used to add a program that will run when a particular event occurs. Events include logon, logoff, startup, shutdown, startscreensaver, and stopscreensaver. When Winlogon.exe generates an event such as the ones listed, Windows will look in the Notify registry key for a DLL that will handle this event. Malware has been known to use this method to load itself when a user logs on to their computer. Loading in such a way allows the malware program to load in such a way that it is not easy to stop.

Registry Key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify

III. UserInit Key

- This key specifies what program should be launched right after a user logs into Windows. The default program for this key is C:\windows\system32\userinit.exe. Userinit.exe is a program that restores your profile, fonts, colors, etc for your user name. It is possible to add further programs that will launch from this key by separating the programs with a comma. For example:

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit =C:\windows\system32\userinit.exe,c:\windows\badprogram.exe.

This will make both programs launch when you log in and is a common place for trojans, hijackers, and spyware to launch from.

Registry Key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit

IV. Shell Value

- This value contains a list of comma separated values that Userinit.exe will launch. The default shell for Windows is explorer.exe, though there are legitimate replacements that have been made. When userinit.exe starts the shell, it will first launch the Shell value found in HKEY_CURRENT_USER. If this value is not present, it will then launch the value found in HKEY_LOCAL_MACHINE.

Registry Key:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\\Shell

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\\Shell

The rest of the Autostart locations will now be processed.

V. RunOnce Local Machine Key

- These keys are designed to start programs synchronously  for current machine or user. Entries in these keys are started once The RunOnce keys may be ignored in Safe Mode depending on OS version.

Registry Keys:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx

Windows 10 : Run keys (machine, all users)

  • HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
  • HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run (only on 64-bit systems)
  • HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce (runs the program/command only once, clears it as soon as it is run)
  • HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx (runs the program/command only once, clears it as soon as execution completes)
  • HKLM\System\CurrentControlSet\Services
  • HKLM\Software\Microsoft\Windows\CurrentVersion\RunServices
  • HKLM\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
  • VI. Run

    - These are the most common startup locations for programs to install auto start from. By default these keys are not executed in Safe mode. If you prefix the value of these keys with an asterisk, *, it will run in Safe Mode.

    Registry Keys:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

    Windows 10 : Run keys (individual user)

  • HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
  • HKCU\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run (only on 64-bit systems)
  • HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows\Run
  • HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce (runs the program/command only once, clears it as soon as it is run)
  • HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnceEx (runs the program/command only once, clears it as soon as execution completes)
  • HKCU\Software\Microsoft\Windows\CurrentVersion\RunServices
  • HKCU\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
  • VII & VIII. All Users & Current User Startup Folders

    Windows XP, NT, 2000:

    Autostart folder of the current user

    Win 9X, ME
    c:\windows\start menu\programs\startup

    Windows XP
    C:\Documents and Settings\LoginName\Start Menu\Programs\Startup

    Autostart folder of all users

    Windows XP
    C:\Documents and Settings\All Users\Start Menu\Programs\Startup

    Windows NT
    C:\wont\Profiles\All Users\Start Menu\Programs\Startup

    Windows 2000
    C:\Documents and Settings\All Users\Start Menu\Programs\Startup

    Windows 10:

    Autostart folder of the current user

  • shell:startup
  • %appdata%\Microsoft\Windows\Start Menu\Programs\Startup
  • C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
  • Autostart folder of all users

  • shell:common startup
  • %programdata%\Microsoft\Windows\Start Menu\Programs\Startup
  • C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp


  • IX. RunOnce Current User Key -

    These keys are designed to be used primarily by Setup programs. Entries in these keys are started once and then are deleted from the key. If there is an exclamation point preceding the value of the key, the entry will not be deleted until after the program completes, otherwise it will be deleted before the program runs. This is important, because if the exclamation point is not used, and the program referenced in this key fails to complete, it will not run again as it will have already been deleted. The RunOnce keys are ignored under Windows 2000 and Windows XP in Safe Mode. The RunOnce keys are not supported by Windows NT 3.51.

    Registry Key:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce


    X. Explorer Run

    - These keys are generally used to load programs as part of a policy set in place on the computer or user.

    Registry Keys:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run

    Load Key - This key is not commonly used anymore, but can be used to auto start programs.

    Registry Key:

    HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows\load

    AppInit_DLLs - This value corresponds to files being loaded through the AppInit_DLLs Registry value. The AppInit_DLLs registry value contains a list of dlls that will be loaded when user32.dll is loaded. As most Windows executables use the user32.dll, that means that any DLL that is listed in the AppInit_DLLs registry key will be loaded also. This makes it very difficult to remove the DLL as it will be loaded within multiple processes, some of which can not be stopped without causing system instability. The user32.dll file is also used by processes that are automatically started by the system when you log on. This means that the files loaded in the AppInit_DLLs value will be loaded very early in the Windows startup routine allowing the DLL to hide itself or protect itself before we have access to the system.

    Registry Key:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Windows

    ShellServiceObjectDelayLoad - This Registry value contains values in a similar way as the Run key does. The difference is that instead of pointing to the file itself, it points to the CLSID's InProcServer, which contains the information about the particular DLL file that is being used.

    The files under this key are loaded automatically by Explorer.exe when your computer starts. Because Explorer.exe is the shell for your computer, it will always start, thus always loading the files under this key. These files are therefore loaded early in the startup process before any human intervention occurs.

    Registry Key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ShellServiceObjectDelayLoad

    SharedTaskScheduler - This section corresponds to files being loaded through the SharedTaskScheduler registry value for XP, NT, 2000 machines. The entries in this registry value run automatically when you start windows.

    Registry Key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SharedTaskScheduler