• Following works fine with me in scheduled restore.

    ALTER DATABASE DatabseName

    SET SINGLE_USER WITH ROLLBACK IMMEDIATE

    GO

    --DO restore

    ALTER DATABASE DatabseName

    SET MULTI_USER

    GO