2.In General tab, you can set scheduler name and description about the task like for what purpose the task has created.
Available security options explained below.
Specify the user on whose behalf the task will be run.
You can specify that a task should run . It can be done by selecting a radio button labelled ‘Run Whether the user is logged on not’. If this radio button selected, the task will not run interactively. To make a task run interactively, select the ’Run only when user is logged on’ radio button.
When the ‘Run whether user is logged on or not’ is selected, you may prompt to supply the credentials of the account, regardless of whether you select the checkbox ‘Do not store password’ or not. If the account is not logged on during task execution, saved credentials will be used.
If the task requires elevated privileges, then select the option ‘Run with highest privileges.’
3.Switch to the Trigger tab and click the New button. Here, you can set conditions that trigger a task.
You can specify when to start the task. For example, you can have it executed on a schedule, at start-up, at logon or whenever a particular event occurs by selecting ‘Begin the task’ drop-down menu.
You can configure whether you want to run this task once or daily or weekly or monthly according to your scenario.
In the “Advanced settings”, you can choose to delay task, repeat task, stop task if it runs longer than the specified time period and expiry date.
Delay task for up to – This adds a random delay, so the task won’t stat at the exact time of the day.
Repeat task every – It shows the number of times a task should run after a trigger is fired.
Repeat task every – Time interval between each task repetition
For a duration of- How long a task should continue to repeat
Stop task if it runs longer than- If the task runs longer than the expected time or never quit, task will automatically stop if it reaches the mentioned time limit.
Expire – After the time period specified, the schedule won’t be triggered.
4.Then open the next tab ‘Actions’ and click the ‘New’ button.
In the Action drop-down, “Start a program” is set by default. You can change it if required.
Using Browse, select program/script field. To schedule a script, we need to select powershell.exe. You can find powershell.exe in your system32\WindowsPowerShell\v1.0 folder.
Above cmd creates a scheduled task trigger that starts every 2 days at 4PM
Set Actions to be Performed During Execution:
New-SchdeuledTaskAction represent actions that executed when Task Scheduler runs the task. A task can have single action or a maximum of 32 actions. When you specify multiple actions, task Scheduler executes a task sequentially.
The above cmd saves a scheduled task with a name “Schedule MFA Status Report” in the root folder. The saved task uses the pre-created action and trigger values that are specified by $Action and $Time variables.
1- Do: Avoid large crowds. The best way to slow the spread of the virus and protect those at risk of serious illness is social distancing, according to the Centres for Disease Control and Prevention. That means it’s important to avoid crowded spaces, community gatherings and other events that could speed up the spread of the virus.
3- Don’t: Hoard paper and hygiene products so that there’s none left. “Panic buying is a self-fulfilling prophecy,” Karan Girotra, professor of operations at Cornell University, told USA Today. “If everyone thinks things are going to run out, they go and buy out things and they do run out.”
3- Do: Call your doctor if you’re displaying symptoms of the illness. Fever, cough and shortness of breath are the most common symptoms of the coronavirus known as COVID-19.
4- Don’t: Panic. The CDC still considers the general public’s risk as “low.” But seniors and those with compromised immune symptoms face a higher risk of serious illness, so it’s important to follow the CDC and local officials’ instructions. It’s unlikely that the virus is transmitted through food or sex, so there’s little reason to worry about either of those things.
5- Do: Care for your pets like normal. It’s highly unlikely that dogs and cats can pass coronavirus to people, the Associated Press recently reported. Experts from two universities in Hong Kong and the World Organisation for Animal Health agreed that “human-to-animal” transmission would be more common, but only low-levels of infection have been reported so far.
6- Don’t: Kiss your dog or cat. Although the risk of catching the infection is low, Hong Kong’s Agriculture, Fisheries and Conservation Department still suggest pet owners not kiss their cat or dog for the sake of good hygiene, the Associated Press recently reported.
7- Do: Wash your hands for at least 20 seconds. According to the Centers for Disease Control and Prevention, the best defense against the virus is washing your hands with soap and water for at least 20 seconds before eating, after using the bathroom and after blowing your nose, coughing or sneezing.
8- Don’t: Touch your face. Coronavirus begins in the eyes, nose or mouth, The Washington Post recently reported. The more you touch your face, the more you increase your risk of exposure to the virus.
9- Do: Use hand sanitizer when soap and water isn’t available. The CDC recommends that the hand sanitizer contain at least 60% alcohol.
10- Don’t: Leave used tissues on the couch, nightstand or anywhere but a garbage can. The virus is spread through respiratory droplets that can survive on hard surfaces.
11- Do: Regularly clean hard surfaces, including TV remotes, cellphones, light switches and doorknobs. The CDC recommends wearing gloves and only using disinfectants registered with the Environmental Protection Agency, which recently released a list of products that kill coronavirus from surfaces.
12- Don’t: Leave your purse on the ground. A 2013 study from Initial Washroom Hygiene, a UK-based hygiene and washroom services company, showed that handbags have more bacteria than a toilet seat. Putting your purse on the ground of a public restroom or the floor of a bus increases your exposure to not only bacteria but also viruses.
13- Do: Wear a face mask if you’re a health care provider or caregiver. The World Health Organization recommends washing your hands frequently, avoiding touching your face or the mask and throwing them away in a closed garbage bin.
14- Don’t: Buy face masks if you’re not in the health care industry. Not only could a mask shortage be detrimental to health care professionals but also masks could increase residents’ chance of infection because they’re often worn improperly.
15- Do: Be careful while continuing to use public transportation. Several agencies, including SMART and San Francisco’s BART, are cleaning and disinfecting their trains more frequently to prevent the virus from spreading. Other safety measures include standing or sitting away from others, limiting contact with train and bus poles, carrying hand sanitizer, keeping your purse off the ground and avoiding eating, drinking or using your phone, according to Business Insider.
16- Don’t: Use Lyft, Uber or public transportation if you’re showing symptoms of coronavirus, which includes coughing, difficulty breathing and fever, to prevent the virus from spreading.
17- Do: Choose a window seat if you’re traveling on an airplane. You’re the least likely to come into contact with someone affected by any virus, according to National Geographic, although washing your hands and avoiding coughing passengers also is recommended.
18- Don’t: Travel to China, South Korea, Italy and Iran unless absolutely necessary. The CDC issued a Level 3 warning, the most extreme included in its guidelines, for US residents to avoid all nonessential travel to these countries because of the virus
19- Do: Be cautious, but continue to support local restaurants. The wine and beverage industry may take a hit from the coronavirus. Because the CDC is urging people across the country to distance themselves from others and avoid crowded places, the best way to support local restaurants is buying gift cards or ordering takeout. The New York Times recently reported that food likely cannot carry the coronavirus, but it’s important to be mindful of menus and serving utensils that others may have touched.
20- Do: Have two weeks of groceries on hand in case you’re quarantined for two weeks. Dry goods such as rice, pasta, beans and oats, along with canned goods such as tomatoes and beans, are recommended, according to Business Insider. Other items include pet food, prescriptions and diapers if you have children.
PowerShell error : Install-Module: The term ‘Install-Module’ is not recognized as the name of a cmdlet. This error Is Manly Because Of The Limitation of cmdlet and resource available on Machine.
This Gallery TechNet Will help you to resolve The Error” Install-Module: The term ‘Install-Module’ is not recognized as the name of a cmdlet.” While Performing This Step We Need to restart the system So Request You to Save Any unsaved Document Before Following the Below Steps. To Resolve This We Need to Update. Windows Management Framework 5.1 with the Help of Below Link
Step 2 : When We try the Command Install-Module msonline PS C:\Users\Administrator>Install-Module msonline It Givens Error Install-Module : The term ‘Install-Module’ is not recognized as the name of a cmdlet, function, script file,or operable program. Check the spelling of the name, or if a path was included,verify that the path is correct and try again. At line:1 char :1 +Install-module msonline
Step 3 : To Check the Host version Type Host
Step 4 :if the Host Version 4.0 or Below That Need to Download And Install the Windows Management Framework 5.1
Need to Update. Windows Management Framework 5.1 with the Help of Below Link
Because I’ve seen this question asked in many places and not answered, I thought I’d post my issue and resolution here. I regard this as a Bug, but I’m not invested enough to deal with the support incident process.
I’ve had repeated instances where a Windows 7 x64 client runs out of hard drive space, and found that C:\Windows\TEMP is being consumed with hundreds of files with names following the pattern “cab_XXXX_X”, generally 100 MB each, and these files are constantly generated until the system runs out of space. Upon removing the files & rebooting, the files start being generated again.
I’ve found that this is caused by large Component-Based Servicing logs. These are stored at C:\Windows\Logs\CBS. The current log file is named “cbs.log”. When “cbs.log” reaches a certain size, a cleanup process renames the log to “CbsPersist_YYYYMMDDHHMMSS.log” and then attempts to compress it into a .cab file.
However, when the cbs.log reaches a size of 2 GB before that cleanup process compresses it, the file is to large to be handled by the makecab.exe utility. The log file is renamed to CbsPersist_date_time.log, but when the makecab process attempts to compress it the process fails (but only after consuming some 100 MB under \Windows\Temp). After this, the cleanup process runs repeatedly (approx every 20 minutes in my experience). The process fails every time, and also consumes a new ~ 100 MB in \Windows\Temp before dying. This is repeated until the system runs out of drive space.
This can be reproduced by trying to manually create the cab file –
As an IT guy, I always encounter problems when untrained users tweak their Internet connection settings. They always make a mistake somewhere and sometimes the solution is to just keep them away from the Internet Options dialog box altogether.
I have worked at many companies that hide the Internet Options tab in Internet Explorer to discourage users from changing the options, which makes sense since network admins are the only ones who are supposed to access these options.
In a controlled environment, companies usually allow only one type of browser like Internet Explorer and those companies usually don’t allow their employees to change the Internet Options like default the homepage and proxy server.
Below is a typical Internet Options window:
There are several ways to disable the Internet Options tabs in IE and I’ll explain the different methods in this post. The first method uses Group Policy, but will only work if you have the Pro or Ultimate versions of Windows. If you are running Home or Home Premium, then skip down to the registry section.
Disable Internet Options in IE via Group Policy
To disable any tab in the Internet Options window, follow these steps below:
Step 1: Click Start and type GPEDIT.MSC in the search bar and hit enter to launch the Group Policy editor window.
Step 2: In the Local Group Policy editor window expand User Configuration > Administrative Templates > Windows Components > Internet Explorer then click on Internet Control Panel.
Step 3: On the right pane of the window, double click on the item you want to disable. For example, to disable the Advanced tab, double click on Disable the Advanced page option.
Step 4: In the properties window, click on the Enabled option and click OK. The Advanced tab in the Internet Options window will now be disabled and removed.
Step 5: Follow the previous steps to disable other items in the Internet Options window. To enable items, just select the Not Configured option in the properties window and click OK.
There you have it! For less savvy computer users who don’t know about GPEDIT, it should discourage them from changing the advanced settings in IE.
Disable IE Options via Registry Editor
The second way to disable tabs in IE options is to use the registry editor. This is a bit more complicated, but is the only option if you can’t access group policy editor.
You can open the registry editor by clicking on Start and typing in regedit. Once there, navigate to the following key:
Note that if you want to disable this option for all users on the PC, navigate to the same key, but under HKEY_LOCAL_MACHINE.
If there isn’t already a key called Internet Explorer under Microsoft, you’ll have to create it manually. Just right-click on Microsoft and choose New – Key. At this point, there are two options. If you want to disable the entire Internet Options dialog, you can create another key under Internet Explorer called Restrictions.
Lastly, you’ll create a new DWORD value in the right-pane inside Restrictions called NoBrowserOptions. Give that a value of 1 and restart Internet Explorer. If you try to go to Internet Options, it will give you an error message.
If you don’t want to disable the whole dialog, but instead just a few of the tabs, then you should create a new key called Control Panel under Microsoft instead of Restrictions. Inside of that, you’ll create DWORD entries that correspond to the tabs:
As you can see above, I created the Control Panel key under Internet Explorer and then created a DWORD entry in the right-pane called AdvancedTab with a decimal value of 1. This removed just the advanced tab from the IE options window.
Hopefully, these methods will allow you to gain more control over Internet Explorer advanced settings in your environment. If you’re having issues, feel free to comment and I’ll try to help. Enjoy!
Multi-Factor Authentication (MFA) is a great security tool, and we always recommend it. Office 365 admins can enforce MFA for users, which means you can help protect anyone sharing your Office 365 business subscription.
To do this you’ll need to be an Office 365 administrator, which only happens with a business plan. If your Office 365 subscription comes as part of a domain hosting package, then you’ll have access to the Admin console. However, if you’ve just purchased a personal subscription (or home subscription for your family), then you won’t have access to the Admin console, and you can only turn MFA on for yourself. If you’re not sure, click the Office 365 app launcher and look for the Admin tile.
If it’s there, you’ve got access to the Admin console. Click the Admin tile, and on the menu on the left-hand side click Settings > Services and add-ins.
This opens the Services and add-ins page, where you can make various tenant-level changes. One of the top items will be “Azure multi-factor authentication.”
Click this, and on the panel that opens on the right, click “Manage multi-factor authentication.”
This will take you to the multi-factor authentication page. You can immediately turn MFA on for anyone who is using your Office 365 subscription, but, before that it’s best to acquaint yourself with the default settings. To do this, click “Service Settings.”
You can change whatever settings you like, or leave them as the defaults. One potential setting to look at changing is whether or not MFA can be remembered on a device. By default this is off, but turning it on means your family won’t have to go through the MFA process every time they want to check their email or edit a document.
If you switch this on, the default number of days a device can go before having to re-authenticate is 14, which means a phone/tablet/computer will be trusted for 14 days before the user has to go through the MFA process again. Having to go through the MFA process is simple, but having to do it every 2 weeks on every device that your family uses might still be a bit too much and you have the option to set this as high as 60 days.
If you do make any changes to this or any other settings, click “Save” at the bottom to the panel to save the changes, then click “users” to go back to turning on MFA.
Now that you’ve made sure the settings are right, you can enable MFA for each user. Select the users for whom you want to turn MFA.
To the right of the table of users, click the “Enable” option that appears.
On the confirmation screen, click “Enable Multi-Factor Authentication.”
This will enable MFA for the user, and the next time they login to Office 365 on the web, they’ll have to go through a process of setting up MFA. If they don’t log in very often (or you want to make sure you’re around to help them through the process), you can also send them the link from the confirmation screen so that they can set up MFA at a time that suits them. The link is https://aka.ms/MFASetup, which is the same for everyone setting up MFA.
Once you’ve clicked “Enable Multi-Factor Authentication” you’ll see a success message, which you can close.
MFA is now enabled for the user; now, they need to set it up. Whether they wait until the next time they login, or they use the link we mentioned above, the process for setting up MFA is exactly the same.
Login to your Office 365 account as normal, and a screen will be displayed telling you that “your organisation needs more information to keep your account secure.”
Click “Next” to be taken to the “Additional security verification” panel, where you can choose your MFA method. We always recommend using an authenticator app, and you’ll have to use Microsoft Authenticator with Office 365. Even using MFA via SMS is still better than not having MFA at all, so choose the method that works best for you in the first dropdown.
We’re going to use a mobile app, which will change the available configuration options. First you need to choose whether to”Receive notifications for verification” (which means a message will pop up on the Microsoft Authenticator app on your phone asking you to approve or deny a login to your account) or whether to “Use verification code” (which means you’ll have to enter a code generated by the Microsoft Authenticator app on your phone when you login to Office 365). Either works fine, and it’s up to you what you choose. After this, you need to click the “Set Up” button to set up the app.
At this point a panel will appear telling you to install the Microsoft Authenticator app on your phone and then either scan a QR code or, if you can’t scan the QR code, enter a code and URL instead. Once you’ve done this, click “Next” to go back to the Additional Security Verification window, which will show that the activation status is being checked.
This may take a few seconds, and once it’s finished the message will change to show that MFA has been configured.
Click Next, and Office 365 will check that everything is working. Depending on what option you selected for verification, it will either send a Deny or Approve message to your app, or ask you to enter a code from the app. In this example, it sent a Deny or Approve message and is waiting for a response.
After you’ve verified that MFA is working, you’ll be asked for a phone number in case you lose access to the app.
This phone number will be used as backup to use SMS or voice calls in the event that you can’t use the Microsoft Authenticator app, such as when you haven’t got Wi-Fi (or you’ve run out of data on your monthly plan, and you’re out and about). It could also be used if you’ve lost your phone, so you might want to choose the number of a family member instead of your own. Once you’ve entered a number, click “Next” to see the final screen.
This page includes a Microsoft-generated password that it will recognize as being created for MFA use. You’ll need to use this password now on rather than the one you normally use, in all of the following apps:
Outlook desktop app for your PC or Mac
Email apps (except the Outlook app) on an iOS, Android or BlackBerry device
Office 2010, Office for Mac 2011 or earlier
Windows Essentials (Photo Gallery, Movie Maker, Mail)
Zune desktop app
Windows Phone 8 or earlier
The next time you try to open any of these apps they’ll ask for your password, so copy it down from here and use it when asked. We can verify that Outlook on your computer needs to use the generated password but the Outlook app on your phone doesn’t, and yes, we find that odd as well, but it’s not a great hardship.
Click “Finished,” and you’ll be taken back to the login screen to login as normal, but this time using MFA. It’s a simple, quick process that provide a valuable layer of extra security, and one that we at How-To Geek strongly recommend.
Exchange Server 2010 Service Pack 1 and Exchange Server 2007 Service Pack 3 (running on Windows Server 2008 or Windows Server 2008 R2) have a new feature that will allow users with expired passwords to change their password. This also works for users who have their accounts configured to change password on next logon (User must change password at next logon in ADUC).
Use this procedure to enable it on Exchange 2007 SP3 and Exchange 2010 SP1 Client Access servers:
Note: If you are using a CAS Array, you must perform these steps on each CAS in the array.
On the Client Access Server (CAS), click Start > Run and type regedit.exe and click OK.
Navigate to HKLM\SYSTEM\CurrentControlSet\Services\MSExchange OWA.
Right click the MSExchange OWA key and click New > DWord (32-bit).
The DWORD value name is ChangeExpiredPasswordEnabled and set the value to 1. Note: The values accepted are 1 (or any non-zero value) for “Enabled” or 0 or blank / not present for “Disabled”
After you configure this DWORD value, you must reset IIS. The recommended method to reset IIS is to use IISReset /noforce from a command prompt.
Important: When changing passwords, users can’t use a UPN (for example, firstname.lastname@example.org) in the Domain\user name field in the Change Password window shown below, unless E2010 SP1 RU3 or later has been deployed on the Client Access servers.
Although, enabling and disabling Netlogon debugging is quite easy but should only be enabled for troubleshooting purposes and disabled afterwards:
Enable Netlogon debug:
From an elevated command prompt (as administrator), run the following command:
Disable Netlogon debug:
From an elevated command prompt (as administrator), run the following command:
The netlogon debug log can then be found under C:\Windows\debug\netlogon.log
On the netlogon debug log we should look for (find…) the user we are troubleshooting and should be able to find information similar to the bellow:
08/15 16:38:22 [LOGON]  C ONTOSO: SamLogon: Generic logon of CONTOSO.LOCAL\test2016 from ( WIN2K16MEMBER ) (via JUMPSERVER) Returns 0xC000006A
This entry tells you where the bad password came from.
You can refer to the article above for a full description on the Failure Codes.
Log Name: Security
Date: 7/26/2019 11:47:11 AM
Event ID: 4771
Task Category: Kerberos Authentication Service
Keywords: Audit Failure
Kerberos pre-authentication failed.
Security ID: CONTOSO\Administrator
Account Name: Administrator à This should be showing the account you are troubleshooting.
Service Name: krbtgt/CONTOSO
Client Address: ::ffff: 192.168.0.4 à This might not show on this event but if it does this is the IP where the bad password is coming from.
Client Port: 49908
Ticket Options: 0x40810010
Failure Code : 0x18 à This is the Failure Code we should be looking for:The wrong password was provided.
Pre-Authentication Type: 2
Certificate Issuer Name:
Certificate Serial Number:
This was the easy part!
The hard part is often to troubleshoot from the client side as we don’t have any specific procedure to understand what is sending the bad passwords.
An application? A Scheduled Task? A script?
Can be either and/or all of them and for that reason we often need to revisit the client workstation to continue searching for the culprit(s).
Sometimes it is a middle device that connects the user to Exchange, SQL or any other resource and the same steps needs to be taken on each device in the middle that will bring us back to the originating source.
More information: You can also check the bellow articles for more information on troubleshooting information and tips regarding account lockouts:
Active Directory: Bad Passwords and Account Lockout