Auto mount a Linux partition on boot

Step 1: Get the Name, UUID and File System Type Open your terminal, run the following command to see the name of your drive, its UUID(Universal Unique Identifier) and file system type. sudo blkid In the output of this command, the first column is the name of your drives. The second column is the label … Read more

WSUS Database Maintenance

Step 1 Connect to SQL management studio and connect to SUSDB\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\queryCopy below script and change the adminname parameter to your user name and parameter (@adminName=N’domain\user) Step 2 Step 3 Step 4 Step 5 Run the normal Server Wizard from the WSUS Management Console. Optional Automation If you’d like to automatically run the WSUS maintenance tasks, refer to … Read more

Redirect all HTTP to HTTPS in IIS

create a host wide redirect using IIS Manager. Select URL Rewrite, Add Rule(s)…, and Blank rule. Name:Redirect to HTTPS Match URLRequested URL: Matches the PatternUsing: WildcardsPattern: *Ignore case: Checked ConditionsLogical grouping: Match AnyCondition input: {HTTPS}Check if input string: Matches the PatternPattern: OFFIgnore case: CheckedTrack capture groups across conditions: Not checked Server VariablesLeave blank. ActionAction type: RedirectRedirect URL: https://{HTTP_HOST}{REQUEST_URI}Append query string: Not checkedRedirect type: Permanent (301) Apply the rule and run IISReset (or … Read more

Synchronizing your computer’s clock to a time server

From an administrative command prompt To poll an ntp server for time: NTP GPO details explained So what all these settings mean. Configuring Windows NTP Client: Enabled NtpServer: Here you specify which NtpServers to use seperated by a space but also with a special NTP flag. I decided to use the public ntp.org pools:0.se.pool.ntp.org,0x1 1.se.pool.ntp.org,0x1 2.se.pool.ntp.org,0x1 … Read more