Just got a new Smell laptop at work and it was logging off every 15 minutes, which was a bit annoying.
Fix: Hold down Windows key and “R” key-> type in “gpedit.msc”->computer configuration->windows settings->Local Policies->Security Options->Microsoft network server:Amount of idle time required before suspending session, right-click this and choose “Properties”.
Set “Disconnect when idle time exceeds to:” to “0” and now your machine should no longer auto log you out at the interval it was previously set to.