Enable Read Only mode in Office Online Server for SharePoint Server 2016

I have successfully integrated Office Online Server for SharePoint Server 2016 and successfully open documents in office online but there is option to edit in browser or open in word option which makes users having edit permission can edit the document.

But my requirement is to give them only read option to those document not edit. So that they can only read in browser. And my question is how to remove edit in browser or open in word option??

hp proliant – HBA mode – B140i vs P440ar

I have an HP DL360 g9 server running RHEL8.1 on a P440ar controller running in HBA mode whereby exposing my SSD’s to do software RAID under mdadmin.

If I get another server with another HP DL360 g9 server with a B140i controller, will I be able to configure it in HBA mode and, if I want, remove the disks from the current g9 server and plug them into the new server to access the disks? Is there any significant performance difference between the B140i and PR440ar in HBA mode?

windows 10 – Notepad++ stuck in Administrator mode, no solution but found a clue

I’ve notepad++ stuck in Administrator mode:
stuck in Administrator

Debug info:

Notepad++ v7.9.1 (64-bit)
Build time : Nov 2 2020 – 01:07:46
Path : C:Program FilesNotepad++notepad++.exe
Admin mode : ON
Local Conf mode : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 1809
OS Build : 17763.1518
Current ANSI codepage : 1252
Plugins : mimeTools.dll NppConverter.dll NppExport.dll

How it happened:

  1. installed notepad++
  2. launched it
  3. installed two plugins (xml tools and xml treeview) while connected to a VPN
  4. download filed due to VPN
  5. stopped the VPN and installed the plugins again
  6. closed and re-opened notepad++
  7. is now stuck in administrator mode (no UAC prompt)

What I tried:

  1. uninstalling and reinstalling;
  2. uninstalling, cleaning all regkeys(*) that I found for notepad++, reinstalling;
  3. uninstalling, installing different versions (different builds/bit);
  4. checked these keys for runas command:
    • HKEY_CLASSES_ROOTApplicationsnotepad++.exe –> runas not present
    • HKEY_CURRENT_USERSoftwareClassesApplicationsnotepad++.ex –> runas not present

Nothing worked.

(*) “Suspicious” regkeys:

  • HKCUSoftwareMicrosoftWindows NTCurrentVersionAppCompatFlagsCompatability AssistantStore
  • HKU<my-user-sid>SoftwareMicrosoftWindows NTCurrentVersionAppCompatFlagsCompatability AssistantStore

The clue: renaming the executable “notepad++.exe” to “_notepad++.exe” or “notepad++_test.exe” solves the problem entirely and can run it as a normal user.

I suspect that there is a list of “names” that Windows uses to just run something as an Administrator but can’t find it anywhere.
Also renaming the installer and running it shows the UAC prompt, with the original name it starts as Administrator without prompting anything.

Any tips/hint?

Thank you in advance!

macos – How do I exit/cancel Mac recovery mode password page?

I had some problems with my work MacBook Air that runs MacOS 10.14.6. I read that it is easy to fix this problem in recovery mode, so I tried to get into recovery mode for the first time.

I restarted my computer, and held down command+R. Now I see that it’s asking for a password that I don’t have.

I’d like to cancel and go into the normal log in screen. How do I do that? Is it safe to hold down the power button in this state? The only things visible on the screen are a lock icon, password bar, an enter button, and the mouse cursor.

This is a related question: Forgotten recovery mode password. I think that one is focused on getting in to recovery mode without the password, and it doesn’t have an accepted answer.

Wp Maintenance mode and external cron job

I am using this code

add_action( 'wp_loaded', function() 
    global $pagenow;

    // - - - - - - - - - - - - - - - - - - - - - - 
    // Turn on/off you Maintenance Mode (true/false)
    define('IN_MAINTENANCE', true);
    // - - - - - - - - - - - - - - - - - - - - - - 

        defined( 'IN_MAINTENANCE' )
        && $pagenow !== 'wp-login.php'
        && ! is_user_logged_in()
    ) {
        header('HTTP/1.1 503 Service Temporarily Unavailable');
        header( 'Content-Type: text/html; charset=utf-8' );
        if ( file_exists( get_template_directory() . '/maintenance.php' ) ) {
            require_once( get_template_directory() . '/maintenance.php' );

in a custom plugin to temporarily put the site in maintenance mode.
It works fine but I use cron job with external call to the wp-cron.php file.
Is there any way to bypass maintenance mode only for the wp-cron.php file?
Maybe I’m all wrong but thanks to anyone for any input!

Android Studio starts always in dialog mode

every time i open an Android Studio application it opens in dialog mode (not fullscreen)

I make it to fullscreen and close it.

When i open it again -> dialog mode.

How i can fix it?

By each update i remove old data of .AndroidStudioX.X

I have this problem since Android Studio 4.0 but since last update it is more than annoying.

macOS Big Sur Fails on Internet Recovery Mode: “Installation could not be completed.”

I have a 13 inch MacBook Pro Mid 2014. I have been struggling with installation process since last night. At first, I started my Mac by pressing Option + Command + R and Power button so that I opened it with internet recovery mode. After that, I cleared my disk space and tried to install macOS Big Sur. But just before selecting my disk where I am going to install, it shows an error which says “Installation could not be completed.” I tried to install the os which comes with Mid-2014 and tried to update it but it didn’t work either.

recovery mode – My entire Android system has been hacked and reconfigured by my BF how do I rake back control of my device?

Has new certificates, new custom maps api, spies on my activity, will not hard reset, says it is not rooted but really is, turns regular apps into system apps, logsmy activity, will not download most of the time, has files I did not create, using google and android packets, coding etc. PLEASE HELP!!!

ERRP Notification about expiring domain but we are using autorenewal mode


We are a hoster and offer also the domain registration to our customers. All our products are in a autorenwal mode, this means, a cust… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1829921&goto=newpost

HP Proliant ML350 Gen9 Server with Debian Linux Kernel Does not boot HBA mode SAS drives. initramfs timeout. long disk detection. disks not recognized

This is what I have:

1- HP Proliant ML350 Gen9 with SAS LFF (3.5 inch) Disks running in HBA mode.

2- Debian Linux version 10 (Buster) Kernel Does not boot HBA mode SAS drives normaly. I have to go to recovery mode in order to boot then press ctrl+D to proceed to normal booting.

3- In normal boot with systemd mode, I get initramfs timeout. long disk detection. However, the boot disks not recognized.

4- Some kernel versions do boot on normal systemd mode, some others don’t. I had kernel 4.9.0-8 was able to boot with the follwing GRUB linux kernel options, whereas on a vanilla kernel 5.8.9 compiled using the debian way it does not boot and initramfs times out. I compiled the kernel in order to set it to run for server instead for desktop.

#You can find this line in /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="nomodeset quiet pci=nomsi,noaer log_buf_len=50M"

I used the rootdelay=30 linux kernel option according to the link below it did not work.

Increase disk detection timeout at boot with Linux/Systemd

then I changed GRUB_CMDLINE_LINUX_DEFAULT to the following and the server booted:

GRUB_CMDLINE_LINUX_DEFAULT="rootdelay=30 quiet  log_buf_len=50M"

I all i need is someone tell me what exactly happened. why did the sever boot?