Month: June 2024
Update Word template programmatically
It is possible to manually apply a new Word template via the following steps:
Open the Word document you would like to apply the template to, then click File > Options to
open the Word Options dialog box.In the Word Options dialog box, click Add-ins in the left bar, select Templates from the
Manage drop down list, and click Go.A new dialog box should appear for Templates and Add-ins. Check the “Automatically update
document” styles option and click the Attach button.A new dialog box should appear for Attach Template. In this new box, open the folder
containing the new template to be applied, select the new template, and click the Open
button.Click the OK button when it returns to the Templates and Add-ins dialog box. The specified Word template should now be applied to the existing Word document.
Is it possible to perform the same updating of a Word template programmatically?
It is possible to manually apply a new Word template via the following steps: Open the Word document you would like to apply the template to, then click File > Options to open the Word Options dialog box.In the Word Options dialog box, click Add-ins in the left bar, select Templates from the Manage drop down list, and click Go.A new dialog box should appear for Templates and Add-ins. Check the “Automatically update document” styles option and click the Attach button.A new dialog box should appear for Attach Template. In this new box, open the folder containing the new template to be applied, select the new template, and click the Openbutton.Click the OK button when it returns to the Templates and Add-ins dialog box. The specified Word template should now be applied to the existing Word document.Is it possible to perform the same updating of a Word template programmatically? Read More
SQL Server Management Studio 2019 backup schedule rogue backup file
Hello,
I have a backup schedule which runs Mon-Fri at 21:00 performing a full backup of the selected database in the maintenance schedule.
The backup works fine and we can restore from this ok.
The problem is a rogue backup file is being created and then its appended to every time the schedule runs. The backup file created is named the same as an initial backup we took when we first installed the database so I am guessing there is reference to this in the database somewhere which then creates this file on schedules. Please can you advise how i could stop this happening?
Thanks
Gary
Hello, I have a backup schedule which runs Mon-Fri at 21:00 performing a full backup of the selected database in the maintenance schedule. The backup works fine and we can restore from this ok. The problem is a rogue backup file is being created and then its appended to every time the schedule runs. The backup file created is named the same as an initial backup we took when we first installed the database so I am guessing there is reference to this in the database somewhere which then creates this file on schedules. Please can you advise how i could stop this happening? Thanks Gary Read More
Stream (Classic) has been deprecated. Stream (on SharePoint) is your new home for videos
Many of our recording session links got broken and these are very very important recording .. Need your help in recovering those videos. As i am intenam employee of Microsoft please can you redirect me/
Many of our recording session links got broken and these are very very important recording .. Need your help in recovering those videos. As i am intenam employee of Microsoft please can you redirect me/ Read More
What is going on with LISTS?
All of the sudden, one of our SharePoint Lists has completely changed its appearance and function. It has more of the new list style now. We have to change this back to retain its functionality immediately.
I found this post about the change https://oneminuteofficemagic.com/2024/05/10/new-list-view-layout-in-sharepoint-online/comment-page-1
Desperate to get this back to normal.
All of the sudden, one of our SharePoint Lists has completely changed its appearance and function. It has more of the new list style now. We have to change this back to retain its functionality immediately. I found this post about the change https://oneminuteofficemagic.com/2024/05/10/new-list-view-layout-in-sharepoint-online/comment-page-1 Desperate to get this back to normal. Read More
WHERE DO COMPLETED TASKS GO
I have been using planner for a while but I think there is an update that is archiving the completed tasks or deleting them. How do I access the completed Tasks? Once I hit the completed button it goes away, even from the metrics. I would like to create reports on individuals as a manager, please help.
I have been using planner for a while but I think there is an update that is archiving the completed tasks or deleting them. How do I access the completed Tasks? Once I hit the completed button it goes away, even from the metrics. I would like to create reports on individuals as a manager, please help. Read More
Viva Engage live events
Hello,
I am trying to do a live event in Viva Engage and I followed the instructions and it doesn’t work. How could I get some help in understanding better the feature of live events. The main thing is: How can people join my live event – do I need to send a calendar invite the classical way or is there a wat the members of a viva engage community get pulled in.
Thank you
Hello, I am trying to do a live event in Viva Engage and I followed the instructions and it doesn’t work. How could I get some help in understanding better the feature of live events. The main thing is: How can people join my live event – do I need to send a calendar invite the classical way or is there a wat the members of a viva engage community get pulled in. Thank you Read More
Teams mobile app for Android loading just a few messages per conversation on work profile
Hello all, asking help on the following:
User at my company is having issues with Teams on work profile. All conversations are displayed, but only a few messages per conversation are loaded.
-Issue started about 2 weeks ago. 1 month ago it was working fine.
-Almost all conversations get ‘sliced’ daily, but not all of them. Some conversations have messages from a month ago. To further explain this.. if the user keeps chatting with X person, the older messages start to disappear, leaving only those from about 12Hs-24hs ago. If the user doesn’t chat that often, then messages are retained for longer. Some chats have messages from 1month ago but it seems that only because there are very few messages in said chat. However if user logs in Teams Desktop or Web, all messages for all conversations are loaded without issues.
-User already tried setting up his account in multiple phones (3, all Android) and the conversations show the same amount of messages.
Interesting to note is that when the account is setup, the conversations show a little bit more messages but after closing Teams app and reopening, it shows less messages and doesn’t load anymore.
-Issue seems to be with message loading rather than messages being deleted since both Desktop Teams and Web Teams load all messages properly. The issue is happening only in Teams mobile app.
-Outlook for Android is working properly with the same work account.
-Already tried all the basics (clear cache, reset DB, sign out, sign in, remove Company Portal and Teams and install all again, try in different phones, etc).
Thank you!
Hello all, asking help on the following: User at my company is having issues with Teams on work profile. All conversations are displayed, but only a few messages per conversation are loaded. -Issue started about 2 weeks ago. 1 month ago it was working fine.-Almost all conversations get ‘sliced’ daily, but not all of them. Some conversations have messages from a month ago. To further explain this.. if the user keeps chatting with X person, the older messages start to disappear, leaving only those from about 12Hs-24hs ago. If the user doesn’t chat that often, then messages are retained for longer. Some chats have messages from 1month ago but it seems that only because there are very few messages in said chat. However if user logs in Teams Desktop or Web, all messages for all conversations are loaded without issues. -User already tried setting up his account in multiple phones (3, all Android) and the conversations show the same amount of messages.Interesting to note is that when the account is setup, the conversations show a little bit more messages but after closing Teams app and reopening, it shows less messages and doesn’t load anymore.-Issue seems to be with message loading rather than messages being deleted since both Desktop Teams and Web Teams load all messages properly. The issue is happening only in Teams mobile app.-Outlook for Android is working properly with the same work account.-Already tried all the basics (clear cache, reset DB, sign out, sign in, remove Company Portal and Teams and install all again, try in different phones, etc). Thank you! Read More
ARIA labels query in Sharepoint sites
Hi,
I have a question about Aria labels in SharePoint sites. When I carry out accessibility checks on a site created by another party, I notice that the aria label and aria described by attributes are being used ‘incorrectly’. The description is being used in the label, and the label is being used in the description. Does anyone know how to edit aria labels etc in SharePoint? Is it possible as an editor, or are these handled by Microsoft?
Thanks so much for your help!
Hi,I have a question about Aria labels in SharePoint sites. When I carry out accessibility checks on a site created by another party, I notice that the aria label and aria described by attributes are being used ‘incorrectly’. The description is being used in the label, and the label is being used in the description. Does anyone know how to edit aria labels etc in SharePoint? Is it possible as an editor, or are these handled by Microsoft?Thanks so much for your help! Read More
Azure Devops
please is there anyone here who is familiar with the Auzre DevOps tool?
I need help with this technology. understand how it works. pipelines, workflows etc…
please is there anyone here who is familiar with the Auzre DevOps tool?I need help with this technology. understand how it works. pipelines, workflows etc… Read More
如何定义一个符号变量间的大小, 并把这些符号元素排序
syms c1 c2 c3;
abs(c1) >= abs(c2) >= abs(c3)
a = 1/4 – c2/4 – c3/4 – c1/4;
b = c2/4 – c1/4 + c3/4 + 1/4;
c = c1/4 – c2/4 + c3/4 + 1/4;
d = c1/4 + c2/4 – c3/4 + 1/4;
A = [a,b,c,d];
A_asc = sort(A)syms c1 c2 c3;
abs(c1) >= abs(c2) >= abs(c3)
a = 1/4 – c2/4 – c3/4 – c1/4;
b = c2/4 – c1/4 + c3/4 + 1/4;
c = c1/4 – c2/4 + c3/4 + 1/4;
d = c1/4 + c2/4 – c3/4 + 1/4;
A = [a,b,c,d];
A_asc = sort(A) syms c1 c2 c3;
abs(c1) >= abs(c2) >= abs(c3)
a = 1/4 – c2/4 – c3/4 – c1/4;
b = c2/4 – c1/4 + c3/4 + 1/4;
c = c1/4 – c2/4 + c3/4 + 1/4;
d = c1/4 + c2/4 – c3/4 + 1/4;
A = [a,b,c,d];
A_asc = sort(A) sort,, 排序 MATLAB Answers — New Questions
Matlab will only print script name in the command prompt, but not run the matlab script.
I’m fairly new to matlab, but have written a piece of code, and while there aren’t any problems with the code when I run it on another system, I’ve been unable to run the script on the computer I would like since it will only print the file name rather then running the code. I’ve tried reinstalling matlab on this computer and this also does not seem to fix thte problem. The reason for using this computer is that it has the specifications for the task desired. The problem seems to be with running the script itself through the editor, help would be greatly apprecieated!I’m fairly new to matlab, but have written a piece of code, and while there aren’t any problems with the code when I run it on another system, I’ve been unable to run the script on the computer I would like since it will only print the file name rather then running the code. I’ve tried reinstalling matlab on this computer and this also does not seem to fix thte problem. The reason for using this computer is that it has the specifications for the task desired. The problem seems to be with running the script itself through the editor, help would be greatly apprecieated! I’m fairly new to matlab, but have written a piece of code, and while there aren’t any problems with the code when I run it on another system, I’ve been unable to run the script on the computer I would like since it will only print the file name rather then running the code. I’ve tried reinstalling matlab on this computer and this also does not seem to fix thte problem. The reason for using this computer is that it has the specifications for the task desired. The problem seems to be with running the script itself through the editor, help would be greatly apprecieated! matlab, editor, for loop MATLAB Answers — New Questions
User getting error “This item might not exist or is no longer available” when the folder does exist
I’m trying to give a user access to a folder in sharepoint. When I send them the link using share, when they try to access they get the error “This item might not exist or is no longer available” when the folders do exist.
They are an employee that left for a period of time and have had their profile reactivated upon return.
I’ve had this issue in the past with other users so would appreciate any assistance in resolving?
I’m trying to give a user access to a folder in sharepoint. When I send them the link using share, when they try to access they get the error “This item might not exist or is no longer available” when the folders do exist. They are an employee that left for a period of time and have had their profile reactivated upon return. I’ve had this issue in the past with other users so would appreciate any assistance in resolving? Read More
Helping comparing two sheets for missing data
Hello All, I am trying to compare two spreadsheets to find which values on Spreadsheet A are missing fro Spreadsheet B.
Spreadsheet A–> 24k rows and my original dataset.
Spreadsheet B–> 56k Rows
I have tried all sorts of formulas and nothing seems to be working out without needing to do 7 steps every time, I am hoping there is an easier way to make this happen.
Both datasets have a Column Header “CD Number”. I have tried Vlookup around this but the result only returns data points that are missing a CD number, which is correct, BUT I know there are also CD numbers contained in A, that were NOT included in B, but when I do the VLOOKUP they do not show. Any suggestions for me would be great! Thank you!
Hello All, I am trying to compare two spreadsheets to find which values on Spreadsheet A are missing fro Spreadsheet B.Spreadsheet A–> 24k rows and my original dataset. Spreadsheet B–> 56k RowsI have tried all sorts of formulas and nothing seems to be working out without needing to do 7 steps every time, I am hoping there is an easier way to make this happen. Both datasets have a Column Header “CD Number”. I have tried Vlookup around this but the result only returns data points that are missing a CD number, which is correct, BUT I know there are also CD numbers contained in A, that were NOT included in B, but when I do the VLOOKUP they do not show. Any suggestions for me would be great! Thank you! Read More
Excel probelm with formatting
I have a fully functional spreadsheet that works perfect……..however when I add conditional formatting I lose the ability to insert and delete rows. When I clear the conditional formm
I have a fully functional spreadsheet that works perfect……..however when I add conditional formatting I lose the ability to insert and delete rows. When I clear the conditional formm Read More
On Screen Keyboard stuck in “minimal” mode
I have this issue on several devices of mine. I think it was a bug in Versions before 23h2, that the on screen keyboard got stuck in minimal mode and there was no way to unstuck it to default mode.
Somehow it resolved itself on some of my PCs, but not all of them, even all of them are on 23h2.
But on the “stuck in minimal” problem it always looks like this:
I also dont have the button on the right corner on the PCs where it is working, as if I had still the old buggy version from before 22h2 on the one PC, even it is 23h2. Both have the same version though of tabtip.exe 10.0.22621.3672
Anyone know how to solve the issue?
I have this issue on several devices of mine. I think it was a bug in Versions before 23h2, that the on screen keyboard got stuck in minimal mode and there was no way to unstuck it to default mode. Somehow it resolved itself on some of my PCs, but not all of them, even all of them are on 23h2.But on the “stuck in minimal” problem it always looks like this: Changing the size doesnt help, it just is bugged and wont get unstuck into wider version. Switching to traditional would switch to the normal size, but then automatically attach to lower screen. If you now press the detach button on the right top, it would switch into the buggy minimal state even you choose traditional before.I also dont have the button on the right corner on the PCs where it is working, as if I had still the old buggy version from before 22h2 on the one PC, even it is 23h2. Both have the same version though of tabtip.exe 10.0.22621.3672Anyone know how to solve the issue? Read More
Microsoft Funding enablement through Partners
Hi Team,
One of our clients is looking for Microsoft Funding that is being provided for new projects/implementations. The client has already checked with Microsoft and the project is eligible for the funding. How can we as Microsoft Partners enable this funding for the client?
Please help with the best course of action. We don’t have any dedicated Partner Manager assigned to take help.
Hi Team, One of our clients is looking for Microsoft Funding that is being provided for new projects/implementations. The client has already checked with Microsoft and the project is eligible for the funding. How can we as Microsoft Partners enable this funding for the client? Please help with the best course of action. We don’t have any dedicated Partner Manager assigned to take help. Read More
JSON Formatting no longer working
I have a List used to track maintenance jobs. Users complete an MS Form that logs details as a new item.
When a member of the maintenance team completes the job, they can add the number of hours spent on the job and some notes of what they did. I had both these columns formatted to allow inline editing.
Since an UI update, inline edits for the “Man-Hours” column do not save (the tick and cross do not appear to save/cancel edits. In line editing for “Notes” column works fine as it did before.
The JSON code for both columns are below:
Frustratingly, when trying to update any of the json code, it appears to save but when you exit and go back in, changes appear to have been discarded.
I am also having problems with a button in a column with customRowActions which updates status of the job when complete which is only partially working but I don’t want to make this post more complicated and I think its all related.
I have a List used to track maintenance jobs. Users complete an MS Form that logs details as a new item.When a member of the maintenance team completes the job, they can add the number of hours spent on the job and some notes of what they did. I had both these columns formatted to allow inline editing. Since an UI update, inline edits for the “Man-Hours” column do not save (the tick and cross do not appear to save/cancel edits. In line editing for “Notes” column works fine as it did before. The JSON code for both columns are below: Frustratingly, when trying to update any of the json code, it appears to save but when you exit and go back in, changes appear to have been discarded. I am also having problems with a button in a column with customRowActions which updates status of the job when complete which is only partially working but I don’t want to make this post more complicated and I think its all related. Read More
Take too much time to open a video folder on non-boot ssd?
1T fast SSD drive with more than 500GB free space but it takes about 3 minutes to open a video folder. This is so crazy!
1T fast SSD drive with more than 500GB free space but it takes about 3 minutes to open a video folder. This is so crazy! Read More
Surface UEFI: Evolution in boot, security & device management to build an industry leading secure PC
At Surface, building our own UEFI is central to our goal of making Surface devices the most secure on the market. It’s an ongoing journey built on our key investments in services and features. But what does that look like exactly? Read on to learn more about the enabling technologies that support UEFI development.
Built on Project Mu
Our adoption of Project Mu is driven by the goal of providing the best-in-class UEFI implementation on Surface devices and to showcase how to build devices that fully realize the Microsoft vision for what a personal computing device should be. Plus, our UEFI enhancements and goodness born in Surface are available for consumption by Project Mu and the wider open-source ecosystem.
Learn more about Project Mu:
Project Mu
microsoft/mu_plus
https://github.com/microsoft/mu_rust_hid
Rise of Rust
Rust is emerging as the programming language of choice for developing performant, type-safe, and maintainable firmware with a strong focus on security. Adopting Rust is a strategic initiative for our UEFI and security firmware. We have transitioned several firmware components from C to Rust, the first step of a broader adoption going forward. To learn more, see Enhancing Firmware Security: Rust & UEFI in Project Mu | Microsoft Tech Community.
Our key investments
Writing our own UEFI stack enables us to fine tune a solution built for Surface devices. This provides a significant advantage over relying on a generic third-party UEFI stack. With rigorous control from requirements analysis to maintenance, our in-house development delivers an uncompromised and secure UEFI solution. This model allows us to respond quickly to new threats as we can seamlessly examine, create and deploy solutions without depending on a UEFI stack provided by an ISV, reducing the time of exposure for both consumer and commercial clients.
Furthermore, updates can quickly be fed back into Windows, Project Mu, and related open-source component ecosystems for consumption by our OEM partners. In the following sections, we will focus on specific areas of investment. This is not exhaustive; future posts will cover these topics in more detail.
Surface focus on security
We live in a world where threats and attacks can target our PCs from applications down to the firmware level. An attack and subsequent manipulation of a constituent component of the UEFI stack could severely compromise the system and grant a high-level of control to the attacker. Surface UEFI continues to develop a suite of technologies to protect devices and users from these threats.
Root of trust
Surface provides a secure foundation for device boot from reset by leveraging a hardware-validated Root of Trust policy. We do this through the cryptographic signature check and controlled execution of multiple firmware primitives before loading and booting to Windows. While there are variants to the Root of Trust and boot flows between SoC vendors, Surface UEFI is tailored for each to ensure optimal security and performance.
Secured Core PC
The Windows Secured Core PC (SCPC) model provides Surface devices with a secure operating environment and protection against sophisticated attacks. It offers increased assurance for devices handling mission-critical data in sensitive industries. Surface UEFI supports SCPC secure launch with two distinct silicon architecture-dependent solutions:
– Dynamic Root of Trust for Measurement (DRTM) for ARM-based Surface devices
– Firmware Attack Surface Reduction (FASR) for Intel-based Surface devices
Dynamic Root of Trust for Measurement
To overcome the inadequacies of the earlier Static Root of Trust for Measurement (SRTM) solution, Surface has enabled an industry-standard enhanced technology called DRTM. DRTM allows devices to boot from untrusted code and launch into a trusted state by taking control of all CPUs, creating a secure enclave that’s isolated from the rest of the system with a protected execution state and memory.
DRTM then “measures” the firmware and bootloader components and system state (including things like memory controller configuration) in the enclave. The term “measure” refers to computing the digital signature of a firmware component or the cryptographic signature of sensitive operations (such as reconfiguration of security sensitive parameters or dispatch of an application or driver) and securely storing them in the TPM. These signatures can then be verified against expected states to attest to the security health of the system. On successful verification, the system has confidence that the firmware has not been tampered with and did not execute unexpected operations that might compromise its security.
Firmware Attack Surface Reduction
FASR adopts an equivalent method to DRTM and provides protection to assure that the boot environment is not tampered with, together with a secure attestation of firmware state to the operating system. This approach carefully controls the list of components allowed to execute in the FASR default boot path and reduces the firmware attack surface.
Standalone Management Mode
Surface UEFI includes support for Standalone Management Mode (Standalone MM) through the Management Mode Supervisor (MM Supervisor). The MM Supervisor applies CPU privilege level separation to enforce resource isolation for MSRs, I/O ports, memory regions (including SMM save state), and instruction types. This approach provides the highest level of Secured Core PC SMM isolation.
Learn more about Secured Core PCs, DRTM, and FASR:
Windows 11 Secured-core PCs | Microsoft Learn
How System Guard helps protect Windows – Windows Security | Microsoft Learn
Firmware Attack Surface Reduction (FASR) – Windows drivers | Microsoft Learn
Supporting the needs of our commercial & enterprise clients
As Surface continues to drive and grow its presence in the commercial and enterprise space, we are committed to ensuring our devices support the deployment, management, and control services provided by Microsoft.
Device Firmware Configuration Interface (DFCI)
Surface UEFI supports DFCI which provides an interface for firmware configuration that enables mobile device management agents like Microsoft Intune to configure UEFI settings. DFCI enables IT admins to remotely disable specific hardware components and prevent end users from changing them. This helps ensure consistent device configuration in a managed environment. Example settings include device boot order, device port enable/disablement, and external peripheral control and authentication. If you need to protect sensitive information in highly secure areas, you can disable the camera and lock down USB ports. If you don’t want users booting from USB drives, you can disable that also.
Learn more about DFCI:
DFCI Management | Microsoft Learn
Manage DFCI on Surface devices – Surface | Microsoft Learn
Surface Enterprise Management Mode (SEMM)
SEMM is a close relation to DFCI but is regarded as an on-premises device management tool rather than being controlled from the cloud. While DFCI enables remote deployment of firmware settings, SEMM requires physical or local deployment of a configuration package using the Surface IT Toolkit or System Center Configuration Manager (SCCM).
Learn more about SEMM:
Get started with Surface Enterprise Management Mode (SEMM) – Surface | Microsoft Learn
Dynamic USB-C disablement
Dynamic USB-C disablement allows administrators to manage USB-C ports based on specific scenarios or user needs, preventing unauthorized devices from being connected. When paired with the Surface Thunderbolt 4 Dock, IT admins can lock down USB-C ports whenever eligible Surface devices are undocked or connected to an unauthorized dock.
Learn more about USB-C disablement:
Manage USB ports on Surface devices – Surface | Microsoft Learn
A continuous focus on device performance and monitoring
Boot Time Reduction ~ or why we don’t want you to wait
Surface has a continuous focus on boot time reduction and “wake-on” scenario optimization to get users productive quickly. This initiative aligns with the evolution of Windows and Project Mu, including engagement with silicon partners.
Serviceability
Surface enables in-field device upgrades and repairs, reducing maintenance costs, downtime, and mean time to repair. During the development of each Surface model, considerable investment, care and attention is paid to ensure all hardware modules are tuned for optimal performance to provide a premium experience. This applies to everything from screen color accuracy to SSD read/write performance. Our goal in Surface is to ensure that any hardware module replaced with a Field Replacement Unit (FRU) maintains an optimal device experience.
UEFI Front Page
The Surface UEFI Front Page allows users to view and modify UEFI settings on their Surface device. It is invoked from cold-boot by the user holding down the volume-up key and pressing the power key. Once the user lands on the page, there are a number of tabs and fields that the user can navigate through to modify UEFI settings. If devices are locked down via DFCI or SEMM, these settings will be greyed out, preventing users from making any changes.
Looking ahead
In this post, we introduced Surface UEFI from the perspective of our key investments in services and features. However, this is just the baseline for configuring, securing, and updating many other system components. With a focus on both commercial and consumer segments, Surface UEFI will continue to develop solutions to lead and protect Windows by leveraging Project Mu, adopting Rust, participating in UEFI-related industry organizations, and co-engineering with silicon partners.
Learn more
Project Mu
microsoft/mu_plus
https://github.com/microsoft/mu_rust_hid
Enhancing Firmware Security: Rust & UEFI in Project Mu | Microsoft Tech Community
Windows 11 Secured-core PCs | Microsoft Learn
How System Guard helps protect Windows – Windows Security | Microsoft Learn
Firmware Attack Surface Reduction (FASR) – Windows drivers | Microsoft Learn
DFCI Management | Microsoft Learn
Manage DFCI on Surface devices – Surface | Microsoft Learn
Get started with Surface Enterprise Management Mode (SEMM) – Surface | Microsoft Learn
Manage USB ports on Surface devices – Surface | Microsoft Learn
Microsoft Tech Community – Latest Blogs –Read More