Archiv für den Monat: Oktober 2018

Windows Server restart / shutdown history – Server Fault

Who or what has restarted the system…..

Event ID 1074: „The process X has initiated the restart / shutdown of computer on behalf of user Y for the following reason: Z.“ Indicates that an application or a user initiated a restart or shutdown.

Event ID 1076: „The reason supplied by user X for the last unexpected shutdown of this computer is: Y.“ Records when the first user with shutdown privileges logs on to the computer after an unexpected restart or shutdown and supplies a reason for the occurrence.

Quelle: Windows Server restart / shutdown history – Server Fault

Duplicate items in „sent“ for shared mailboxes

Now test these two things. When you are sending email as some non-problematic shared mailbox. Do you see an email in the Sent Item of the shared mailbox as well as in your Personal-Sent Items as well. What do you see if you send email from a problematic shared mailbox, do you still see the user(actual sender) copy. Run the Get-MailboxSentItemsConfiguration against the working shared mailboxes and let me know if the settings are same. Check if your Outlook is configured to be running in Cached Mode. If yes try switching to Online and see if still the issue re-occurs. Is DelegateSentItemsStyle registry key present or set with a value.Key: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\PreferencesName: DelegateSentItemsStyleAlso on the problematic shared mailbox, change the settings as below and let me know the results.

Set-MailboxSentItemsConfiguration "Customer Support Feedback" -SendAsItemsCopiedTo Sender

Quelle: Duplicate items in „sent“ for shared mailboxes

How to Reset Your Forgotten Windows Password the Easy Way

Boot off the Windows disk and select the “Repair your computer” option from the lower left-hand corner.

Follow through until you get to the option to open the Command Prompt, which you’ll want to select.

First you’ll want to type in the following command to backup the original sticky keys file:

copy c:\windows\system32\sethc.exe c:\

Then you’ll copy the command prompt executable (cmd.exe) over top of the sticky keys executable:

copy c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe

Now you can reboot the PC.

Resetting the Password

Once you get to the login screen, hit the Shift key 5 times, and you’ll see an administrator mode command prompt.

Now to reset the password—just type the following command, replacing the username and password with the combination you want:

net user geek MyNewPassword

That’s all there is to it. Now you can login.

Of course, you’ll probably want to put the original sethc.exe file back, which you can do by rebooting into the installation CD, opening the command prompt, and copying the c:\sethc.exe file back to c:\windows\system32\sethc.exe.

Quelle: How to Reset Your Forgotten Windows Password the Easy Way

How can I recover my sa Password?

To start SQL Server in single-user mode add the parameter -m at the command line. The easiest way to do this is to use Configuration Manager. Stop the SQL Server Instance you want to change. Right click the instance to open the Properties dialog and click the Startup Parameters tab. Enter –m in the Startup parameters.

Next, start the SQL Server Instance. Then open an elevated command prompt and enter sqlcmd. In the sqlcmd windows enter a command like you see following to add your login to the sysadmin group.

EXEC sp_addsrvrolemember ‚CONTOSO\mikeo2′, ’sysadmin‘;
GO

Quelle: How can I recover my sa Password?