Month: July 2024
Dividing daily rainfall data in to monthly data
I have a daily rainfall data from 1961 to 1995. I already compiled it to 34X365. Now I want to have monthly data seperately as follows
Jan – 31 days
Feb – 28 days
likewise
December 31 days
Next year January – 31 days like wiseI have a daily rainfall data from 1961 to 1995. I already compiled it to 34X365. Now I want to have monthly data seperately as follows
Jan – 31 days
Feb – 28 days
likewise
December 31 days
Next year January – 31 days like wise I have a daily rainfall data from 1961 to 1995. I already compiled it to 34X365. Now I want to have monthly data seperately as follows
Jan – 31 days
Feb – 28 days
likewise
December 31 days
Next year January – 31 days like wise daily in to monthly values MATLAB Answers — New Questions
Scanning Report using MS Defender.
I am trying to create a report that will give me current AVscan status and timestamp, last time AVscan status with timestamp, ActionType and StartedBy.
I am trying to create a report that will give me current AVscan status and timestamp, last time AVscan status with timestamp, ActionType and StartedBy.DeviceEvents| where ActionType has_any (“AntivirusScanCancelled”, “AntivirusScanCompleted”)| extend AdditionalFields = todynamic(AdditionalFields)| extend ScanType = AdditionalFields.[“ScanTypeIndex”], StartedBy= AdditionalFields.[“User”]| extend ServerName = extract(“([^.]+)\.(.+)”, 1, DeviceName)| extend Domain = extract(“([^.]+)\.(.+)”, 2, DeviceName)| project Timestamp, ServerName, Domain, ActionType, ScanType, StartedByAbove query giving me a lot of devices where i am trying to get distinct values for the devices with last AV scan. Looking for better advise on that query please. Read More
Fit Multiple gaussian curve on data with flat tops
How to fit double gaussian curve for this data set which is flat at some domains?How to fit double gaussian curve for this data set which is flat at some domains? How to fit double gaussian curve for this data set which is flat at some domains? double gaussian fit for data with hat MATLAB Answers — New Questions
Generating Multivariate Polynomial Coeffients with known Constants
I am extremely new to MatLab and am having a hard time trying to generate Coefficients from this equation:
t= (A * a) + (B * s) + (C * s * a)+ (D * s^2) + (E * s^2 * a) + (F)
I have the data for t,s,a.
Trying to find (A,B,C,D,E,F)
I can remove the Coefficient (F) if need be, being it is just an offset, and I have (t).
I could post what I have tried, but I usually dont save it because I am not getting close.
I do have Curve Fitting, Statistics, and Optimization Toolboxes thinking it would help.
I have also tried polyfit and polyfitn.
Also, if this has been answered a hundred times, what would best describe that equation for searching?I am extremely new to MatLab and am having a hard time trying to generate Coefficients from this equation:
t= (A * a) + (B * s) + (C * s * a)+ (D * s^2) + (E * s^2 * a) + (F)
I have the data for t,s,a.
Trying to find (A,B,C,D,E,F)
I can remove the Coefficient (F) if need be, being it is just an offset, and I have (t).
I could post what I have tried, but I usually dont save it because I am not getting close.
I do have Curve Fitting, Statistics, and Optimization Toolboxes thinking it would help.
I have also tried polyfit and polyfitn.
Also, if this has been answered a hundred times, what would best describe that equation for searching? I am extremely new to MatLab and am having a hard time trying to generate Coefficients from this equation:
t= (A * a) + (B * s) + (C * s * a)+ (D * s^2) + (E * s^2 * a) + (F)
I have the data for t,s,a.
Trying to find (A,B,C,D,E,F)
I can remove the Coefficient (F) if need be, being it is just an offset, and I have (t).
I could post what I have tried, but I usually dont save it because I am not getting close.
I do have Curve Fitting, Statistics, and Optimization Toolboxes thinking it would help.
I have also tried polyfit and polyfitn.
Also, if this has been answered a hundred times, what would best describe that equation for searching? polyfit, polyfitn, polynomial, quadratic, multivariate, solve, multivariate polynomial, coefficient MATLAB Answers — New Questions
Not able to add Basic Info to Project Details Page
I am creating a PDP and want to add the Basic Info web part to the page. When I am click on Add Web Part I am not seeing the Category for Project Web App under Categories.
Any ideas on why I am not able to find the Basic Info or any of the other Project Web App web parts?
I am creating a PDP and want to add the Basic Info web part to the page. When I am click on Add Web Part I am not seeing the Category for Project Web App under Categories. Any ideas on why I am not able to find the Basic Info or any of the other Project Web App web parts? Read More
Macro to move row to another sheet
Hello all,
I’m still new to VBA and practicing through trial and error. I’m currently working on an excel document that is an inventory spreadsheet. When we perform annual inventory checks I want to use a barcode scanner to quickly go through and check the inventory.
Is there a way to build a macro in VBA that will allow me to scan the barcodes and auto run it against a certain column and if the barcode scanned is present it will then pull that entire row from sheet 1 to and place it into sheet 2?
Thanks in advance for any and all your help!
Hello all, I’m still new to VBA and practicing through trial and error. I’m currently working on an excel document that is an inventory spreadsheet. When we perform annual inventory checks I want to use a barcode scanner to quickly go through and check the inventory. Is there a way to build a macro in VBA that will allow me to scan the barcodes and auto run it against a certain column and if the barcode scanned is present it will then pull that entire row from sheet 1 to and place it into sheet 2? Thanks in advance for any and all your help! Read More
I want to make a bar graph for this data from a csv file that has multiple information in 1 column (A) how do I make this graph
Post Content Post Content bar graph, no hardcode MATLAB Answers — New Questions
Update your sign-in technology before September 16th, 2024 to maintain email access.
Hi, Received this email (subject line) and wondered how it effects a hotmail email address….?
Hi, Received this email (subject line) and wondered how it effects a hotmail email address….? Read More
How to get lane number of a USB 3.2 Gen 2×2(20Gb/s) device using Windows APIs
I can get USB 3.2 Gen 2(10Gb/s) information from DeviceIsOperatingAtSuperSpeedPlusOrHigher using IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX_V2.
How can I get lane number of a USB 3.2 Gen 2×2 device using Windows APIs?
I can get USB 3.2 Gen 2(10Gb/s) information from DeviceIsOperatingAtSuperSpeedPlusOrHigher using IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX_V2. How can I get lane number of a USB 3.2 Gen 2×2 device using Windows APIs? Read More
Code not working on new laptop
Hello,
I have several scripts using EEGlab and one of its pluggin (mffimport). The scripts work well on other mac laptops (I’ve tried 3), but not on my new laptop (Macbookpro sonoma nov 2023). Any idea why?
I have changed the paths, dowloaded the necessarry toolboxes.
I have contacted EEGlab support who told me it’s a matlab problem and I have contacted Matlab support who told me it is a code problem, not a software problem, but my code works well on other laptops…
THank you in advance for your help.Hello,
I have several scripts using EEGlab and one of its pluggin (mffimport). The scripts work well on other mac laptops (I’ve tried 3), but not on my new laptop (Macbookpro sonoma nov 2023). Any idea why?
I have changed the paths, dowloaded the necessarry toolboxes.
I have contacted EEGlab support who told me it’s a matlab problem and I have contacted Matlab support who told me it is a code problem, not a software problem, but my code works well on other laptops…
THank you in advance for your help. Hello,
I have several scripts using EEGlab and one of its pluggin (mffimport). The scripts work well on other mac laptops (I’ve tried 3), but not on my new laptop (Macbookpro sonoma nov 2023). Any idea why?
I have changed the paths, dowloaded the necessarry toolboxes.
I have contacted EEGlab support who told me it’s a matlab problem and I have contacted Matlab support who told me it is a code problem, not a software problem, but my code works well on other laptops…
THank you in advance for your help. sonoma, eeglab, mffimport, matlab code MATLAB Answers — New Questions
How to speed up our code to be implemented on GPU
Hello, I have previously created my MEX file of my code to speed up its implementation speed on GPU. Fortunately, it got faster by 5 times, and hopefully, I want to know if there is way to implement it with higher speed. Here is my code:
function BPmimo2C(Efield) %#codegen
coder.gpu.kernelfun;
image = complex(zeros(17,54,54));
%% creating kaiser window
numT = 16;
numR= 16;
f = 10e9:0.5e9:20e9;
numF = numel(f);
w = ones(numel(f),1);
viq = repmat(w.’, [1,numT*numR]);
c = physconst(‘LightSpeed’);
%% grid points
xf = (-8:0.3:8)*0.01;
yf = (-8:0.3:8)*0.01;
[uf , vf] = meshgrid(xf,yf);
x1f = uf(:);
y1f = vf(:);
%% initialization
ArrRadius = 30;
TX = [ArrRadius.*cosd((360/15)*(0:14))*0.01 0];
TY = [ArrRadius.*sind((360/15)*(0:14))*0.01 0];
K = 2*pi*f/c;
z = 0.36:0.003:0.41;
% z = 0.4;
for dep = 1:numel(z)
%% making the matrix of <transmitter-grid point> distance
XYPos = [TX.’ TY.’ ones(size(TX,2),1)*(z(dep))];
UVPos = [x1f(:), y1f(:), zeros(size(y1f(:),1),1)];
dtXYUV = pdist2( XYPos, UVPos);
dtXYUV2 = zeros(numR,numel(x1f(:)));
expTerm1 = bsxfun(@times,dtXYUV(:)’ , K’);
expT1 = reshape(expTerm1,[numel(K),numel(TX),numel(x1f)]);
expT2 = zeros(numel(K),numR,numel(x1f),numel(TX));
for i = 1:numel(TX)
expT2(:,:,:,i) = repmat(expT1(:,i,:),[1 numR 1]);
dtXYUV2(:,:,i) = repmat(dtXYUV(i,:),[numR,1]);
end
expT = permute(reshape(permute(expT2,[1 3 2 4]),[numel(K),numel(x1f),numR*numel(TX)]),[1 3 2]);
%% making the matrix of <reciever-grid point> distance
XYPos = [real(Efield(1:numR,2,1)) , real(Efield(1:numR,3,1)), ones(numR,1)*(z(dep))];
UVPos = [x1f(:), y1f(:), zeros(size(y1f(:),1),1)];
dXYUV = pdist2( XYPos, UVPos);
expTerm1 = bsxfun(@times,dXYUV(:)’ , K’);
expR = repmat(reshape(expTerm1,[numel(K),numR,numel(x1f)]),[1 numel(TX) 1]);
%% making the exponentail term
EXP = exp(1i*(expT + expR));
EXP2 = reshape(EXP,[numel(K)*numel(TX)*numR,numel(x1f)]);
Efield2 = reshape(permute(Efield(1:numT*numR,:,:),[3 1 2]),[numel(f)*numT*numR,6]);
image2 = reshape(((viq.’).*Efield2(:,6)).’*EXP2,[sqrt(numel(x1f)),sqrt(numel(x1f))]);
%% gahter to change matrix from GPU-array to normal array
image(dep,:,:) = image2;
end
image = abs(image);
uf = repmat(reshape(uf,[1,numel(xf),numel(yf)]),[numel(z) 1 1]);
vf = repmat(reshape(vf,[1,numel(xf),numel(yf)]),[numel(z) 1 1]);
hf = uf;
for j = 1:numel(z)
hf(j,:,:) = z(j);
end
figure(1);
er = squeeze((image(13,:,:)));
h = surf(squeeze(uf(1,:,:)),squeeze(vf(1,:,:)),er);
colormap(jet);
set(h,’LineStyle’,’none’);
view(2);
end
In addition to speed, sometimes it encounters with "out of memory" error, which is due to huge size of some arrays. I can implement it using multiple nested "for"loops, however, I understood it’d be faster on CPU if I use MATLAB’s matrix multipication capability; Therefore, I preferred matrix-based code rather than multiple nested "for" loops.
Any advice, whether it would be general or specific, would be appreciated.
Thank youHello, I have previously created my MEX file of my code to speed up its implementation speed on GPU. Fortunately, it got faster by 5 times, and hopefully, I want to know if there is way to implement it with higher speed. Here is my code:
function BPmimo2C(Efield) %#codegen
coder.gpu.kernelfun;
image = complex(zeros(17,54,54));
%% creating kaiser window
numT = 16;
numR= 16;
f = 10e9:0.5e9:20e9;
numF = numel(f);
w = ones(numel(f),1);
viq = repmat(w.’, [1,numT*numR]);
c = physconst(‘LightSpeed’);
%% grid points
xf = (-8:0.3:8)*0.01;
yf = (-8:0.3:8)*0.01;
[uf , vf] = meshgrid(xf,yf);
x1f = uf(:);
y1f = vf(:);
%% initialization
ArrRadius = 30;
TX = [ArrRadius.*cosd((360/15)*(0:14))*0.01 0];
TY = [ArrRadius.*sind((360/15)*(0:14))*0.01 0];
K = 2*pi*f/c;
z = 0.36:0.003:0.41;
% z = 0.4;
for dep = 1:numel(z)
%% making the matrix of <transmitter-grid point> distance
XYPos = [TX.’ TY.’ ones(size(TX,2),1)*(z(dep))];
UVPos = [x1f(:), y1f(:), zeros(size(y1f(:),1),1)];
dtXYUV = pdist2( XYPos, UVPos);
dtXYUV2 = zeros(numR,numel(x1f(:)));
expTerm1 = bsxfun(@times,dtXYUV(:)’ , K’);
expT1 = reshape(expTerm1,[numel(K),numel(TX),numel(x1f)]);
expT2 = zeros(numel(K),numR,numel(x1f),numel(TX));
for i = 1:numel(TX)
expT2(:,:,:,i) = repmat(expT1(:,i,:),[1 numR 1]);
dtXYUV2(:,:,i) = repmat(dtXYUV(i,:),[numR,1]);
end
expT = permute(reshape(permute(expT2,[1 3 2 4]),[numel(K),numel(x1f),numR*numel(TX)]),[1 3 2]);
%% making the matrix of <reciever-grid point> distance
XYPos = [real(Efield(1:numR,2,1)) , real(Efield(1:numR,3,1)), ones(numR,1)*(z(dep))];
UVPos = [x1f(:), y1f(:), zeros(size(y1f(:),1),1)];
dXYUV = pdist2( XYPos, UVPos);
expTerm1 = bsxfun(@times,dXYUV(:)’ , K’);
expR = repmat(reshape(expTerm1,[numel(K),numR,numel(x1f)]),[1 numel(TX) 1]);
%% making the exponentail term
EXP = exp(1i*(expT + expR));
EXP2 = reshape(EXP,[numel(K)*numel(TX)*numR,numel(x1f)]);
Efield2 = reshape(permute(Efield(1:numT*numR,:,:),[3 1 2]),[numel(f)*numT*numR,6]);
image2 = reshape(((viq.’).*Efield2(:,6)).’*EXP2,[sqrt(numel(x1f)),sqrt(numel(x1f))]);
%% gahter to change matrix from GPU-array to normal array
image(dep,:,:) = image2;
end
image = abs(image);
uf = repmat(reshape(uf,[1,numel(xf),numel(yf)]),[numel(z) 1 1]);
vf = repmat(reshape(vf,[1,numel(xf),numel(yf)]),[numel(z) 1 1]);
hf = uf;
for j = 1:numel(z)
hf(j,:,:) = z(j);
end
figure(1);
er = squeeze((image(13,:,:)));
h = surf(squeeze(uf(1,:,:)),squeeze(vf(1,:,:)),er);
colormap(jet);
set(h,’LineStyle’,’none’);
view(2);
end
In addition to speed, sometimes it encounters with "out of memory" error, which is due to huge size of some arrays. I can implement it using multiple nested "for"loops, however, I understood it’d be faster on CPU if I use MATLAB’s matrix multipication capability; Therefore, I preferred matrix-based code rather than multiple nested "for" loops.
Any advice, whether it would be general or specific, would be appreciated.
Thank you Hello, I have previously created my MEX file of my code to speed up its implementation speed on GPU. Fortunately, it got faster by 5 times, and hopefully, I want to know if there is way to implement it with higher speed. Here is my code:
function BPmimo2C(Efield) %#codegen
coder.gpu.kernelfun;
image = complex(zeros(17,54,54));
%% creating kaiser window
numT = 16;
numR= 16;
f = 10e9:0.5e9:20e9;
numF = numel(f);
w = ones(numel(f),1);
viq = repmat(w.’, [1,numT*numR]);
c = physconst(‘LightSpeed’);
%% grid points
xf = (-8:0.3:8)*0.01;
yf = (-8:0.3:8)*0.01;
[uf , vf] = meshgrid(xf,yf);
x1f = uf(:);
y1f = vf(:);
%% initialization
ArrRadius = 30;
TX = [ArrRadius.*cosd((360/15)*(0:14))*0.01 0];
TY = [ArrRadius.*sind((360/15)*(0:14))*0.01 0];
K = 2*pi*f/c;
z = 0.36:0.003:0.41;
% z = 0.4;
for dep = 1:numel(z)
%% making the matrix of <transmitter-grid point> distance
XYPos = [TX.’ TY.’ ones(size(TX,2),1)*(z(dep))];
UVPos = [x1f(:), y1f(:), zeros(size(y1f(:),1),1)];
dtXYUV = pdist2( XYPos, UVPos);
dtXYUV2 = zeros(numR,numel(x1f(:)));
expTerm1 = bsxfun(@times,dtXYUV(:)’ , K’);
expT1 = reshape(expTerm1,[numel(K),numel(TX),numel(x1f)]);
expT2 = zeros(numel(K),numR,numel(x1f),numel(TX));
for i = 1:numel(TX)
expT2(:,:,:,i) = repmat(expT1(:,i,:),[1 numR 1]);
dtXYUV2(:,:,i) = repmat(dtXYUV(i,:),[numR,1]);
end
expT = permute(reshape(permute(expT2,[1 3 2 4]),[numel(K),numel(x1f),numR*numel(TX)]),[1 3 2]);
%% making the matrix of <reciever-grid point> distance
XYPos = [real(Efield(1:numR,2,1)) , real(Efield(1:numR,3,1)), ones(numR,1)*(z(dep))];
UVPos = [x1f(:), y1f(:), zeros(size(y1f(:),1),1)];
dXYUV = pdist2( XYPos, UVPos);
expTerm1 = bsxfun(@times,dXYUV(:)’ , K’);
expR = repmat(reshape(expTerm1,[numel(K),numR,numel(x1f)]),[1 numel(TX) 1]);
%% making the exponentail term
EXP = exp(1i*(expT + expR));
EXP2 = reshape(EXP,[numel(K)*numel(TX)*numR,numel(x1f)]);
Efield2 = reshape(permute(Efield(1:numT*numR,:,:),[3 1 2]),[numel(f)*numT*numR,6]);
image2 = reshape(((viq.’).*Efield2(:,6)).’*EXP2,[sqrt(numel(x1f)),sqrt(numel(x1f))]);
%% gahter to change matrix from GPU-array to normal array
image(dep,:,:) = image2;
end
image = abs(image);
uf = repmat(reshape(uf,[1,numel(xf),numel(yf)]),[numel(z) 1 1]);
vf = repmat(reshape(vf,[1,numel(xf),numel(yf)]),[numel(z) 1 1]);
hf = uf;
for j = 1:numel(z)
hf(j,:,:) = z(j);
end
figure(1);
er = squeeze((image(13,:,:)));
h = surf(squeeze(uf(1,:,:)),squeeze(vf(1,:,:)),er);
colormap(jet);
set(h,’LineStyle’,’none’);
view(2);
end
In addition to speed, sometimes it encounters with "out of memory" error, which is due to huge size of some arrays. I can implement it using multiple nested "for"loops, however, I understood it’d be faster on CPU if I use MATLAB’s matrix multipication capability; Therefore, I preferred matrix-based code rather than multiple nested "for" loops.
Any advice, whether it would be general or specific, would be appreciated.
Thank you gpu coder, matlab, gpu, speed, mex MATLAB Answers — New Questions
Where is the polyIntersect.m function in R2024 and how do I load it ?
I have updated my R2022 license and can’t locate the polyIintersect.m function and load it ? I need the function
for an old programI have updated my R2022 license and can’t locate the polyIintersect.m function and load it ? I need the function
for an old program I have updated my R2022 license and can’t locate the polyIintersect.m function and load it ? I need the function
for an old program polyintersect.m MATLAB Answers — New Questions
“Nonlinear Transformer” model usage
Hi I am trying to use Nonlinear Transformer function. The web document indicates following parameters, which makes sense to me.
On the other hand, when open the model setting, the parameters are different from above. What am I missing. Thanks.Hi I am trying to use Nonlinear Transformer function. The web document indicates following parameters, which makes sense to me.
On the other hand, when open the model setting, the parameters are different from above. What am I missing. Thanks. Hi I am trying to use Nonlinear Transformer function. The web document indicates following parameters, which makes sense to me.
On the other hand, when open the model setting, the parameters are different from above. What am I missing. Thanks. nonlinear transformer MATLAB Answers — New Questions
Reading PDFs or TXT files
I am new to CoPilot for MS 365. I thought if there was a document, whether Docx, pdf, txt, etc. that CoPilot could actually read its contents and include that information and knowledge in response to a prompt. Even though it says it can find that document in my One Drive folders, it says it cannot read them. I am pretty sure Open AI’s ChatGPT allows this so I don’t understand this.
Also, when I switch to the Web version, it appears there is no way to retain my prior Chat’s as there is with Open AI. Is that correct? If so that is not very good as I would like to be able to build on the prior chat’s and have Copilot remember our prior conversations.
I am new to CoPilot for MS 365. I thought if there was a document, whether Docx, pdf, txt, etc. that CoPilot could actually read its contents and include that information and knowledge in response to a prompt. Even though it says it can find that document in my One Drive folders, it says it cannot read them. I am pretty sure Open AI’s ChatGPT allows this so I don’t understand this. Also, when I switch to the Web version, it appears there is no way to retain my prior Chat’s as there is with Open AI. Is that correct? If so that is not very good as I would like to be able to build on the prior chat’s and have Copilot remember our prior conversations. Read More
A way to set maximum number of bookings per day
Hi, I currently have one service I offer in my Bookings but want to set it so that I only do a maximum of say 4 of that service in a day. On Gemini, Copilot, and another Microsoft forum post there’s instructions to “go to the “Booking page” tab in the Microsoft Bookings app, select the service you want to limit, and then click on the “Edit” button. From there, you can set the maximum number of bookings per day for that service.” or “Go to the Booking page tab in Bookings. Select the service you want to limit. Click “Edit” and set the “Maximum number of bookings per day.” but when I got to edit my service, I only see these options, nothing about a maximum number of bookings option:
Hi, I currently have one service I offer in my Bookings but want to set it so that I only do a maximum of say 4 of that service in a day. On Gemini, Copilot, and another Microsoft forum post there’s instructions to “go to the “Booking page” tab in the Microsoft Bookings app, select the service you want to limit, and then click on the “Edit” button. From there, you can set the maximum number of bookings per day for that service.” or “Go to the Booking page tab in Bookings. Select the service you want to limit. Click “Edit” and set the “Maximum number of bookings per day.” but when I got to edit my service, I only see these options, nothing about a maximum number of bookings option: Read More
What is the URL to open M365 Profile Card in modal?
Anyone know the URL to open the user’s M365 profile card?
Profile cards in Microsoft 365 – Microsoft Support
On a SharePoint list, when adding a people column, we could usually click on the name and it pops up the profile card. But since recent updates with SharePoint list form, this feature is no longer possible, at least in our tenant (GCC). Now, the profile card may or may not pop up when hovering over the name. I’m hoping there’s a way to add a hyperlink to open the same M365 profile card.
Use column formatting to customize SharePoint | Microsoft Learn
Anyone know the URL to open the user’s M365 profile card?Profile cards in Microsoft 365 – Microsoft SupportOn a SharePoint list, when adding a people column, we could usually click on the name and it pops up the profile card. But since recent updates with SharePoint list form, this feature is no longer possible, at least in our tenant (GCC). Now, the profile card may or may not pop up when hovering over the name. I’m hoping there’s a way to add a hyperlink to open the same M365 profile card.Use column formatting to customize SharePoint | Microsoft Learn Read More
Support tip: Upcoming changes for deploying Windows Autopilot for existing devices
Windows Autopilot makes it easy to deploy and configure new Windows devices. You don’t need to install anything manually or follow complicated steps. You simply connect the device to the internet, sign in with your work account, and let Autopilot do the rest.
But what if you have existing devices that are running an out of support version of Windows? You might want to upgrade them to Windows 11 and deploy them with Autopilot, so you can manage them from the cloud and apply the same settings and policies as your new devices. Or perhaps you have devices that need to be reimaged. That’s where Autopilot for existing devices is helpful. It allows you to use Configuration Manager task sequences to apply an Autopilot profile on the device by creating a JSON file. You don’t need to register the device in Autopilot or assign a profile in Intune beforehand.
To learn more, review the Microsoft Learn articles Windows Autopilot for existing devices and Step by step tutorial for Windows Autopilot deployment for existing devices in Intune and Configuration Manager.
Important upcoming changes
We’re always working on improving Autopilot for existing devices and making it more secure and user-friendly. Starting on September 5, 2024, or soon after, Intune will block Autopilot for existing devices functionality for all customers that have blocked enrollment of personal devices using enrollment restrictions. This aligns with the behavior of other automatic MDM enrollment methods where we cannot verify the device identity.
To continue using Autopilot for existing devices with enrollment restrictions blocking personal devices, register all devices for Autopilot or use Windows corporate identifiers.
If you’re unable to use Autopilot registration or Windows corporate identifiers and still need to use Autopilot for existing devices, fill out this form to request an exception.
In this blog, we’ll explain how to enhance security for your environment when using Autopilot for existing devices and help you prepare for these upcoming changes.
Best practices
Autopilot for existing devices is a convenient way to upgrade or migrate your devices to Windows 11 and deploy them with Autopilot, but it also comes with some security considerations. Today, any device that enrolls through Autopilot for existing devices with a valid JSON file is marked as corporate by default and allowed to enroll in Intune, regardless of whether it’s owned by an organization or not. To learn more about which devices are authorized for corporate enrollment, see Overview of enrollment restrictions.
We realize security is paramount to customers, and we’re constantly trying to balance security and ease of use. While Autopilot for existing devices is intended as a convenience, empowering customers to begin their cloud native journey, we also realize that you may want to limit enrollment for non-corporate devices. Given that, here are some recommendations to enhance security for enrollment and ownership:
Upload device identities in Intune by registering for Autopilot or uploading corporate identifiers:
Register eligible devices to Autopilot via hardware hash. You can use the Import-AutopilotDevice.ps1 script to register the devices that you want to enroll in Autopilot, based on their hardware hash. This will ensure that only the devices that you own and manage can enroll in Autopilot.
Upload Windows corporate identifiers for each device you plan to deploy via Autopilot for existing devices.
Use multi-factor authentication (MFA) to secure your enrollment. You can require users to use MFA when they sign in with their work account during the OOBE.
Use Conditional access and compliance policies to restrict access to organizational resources from personally owned devices or devices which do not meet your security standards.
Add enrollment restriction assignment filters to block unknown enrollment profile names from enrolling. You can create an assignment filter that only allows devices with specific enrollment profile names to enroll and block the rest. The enrollment profile name is based on the unique ID of the Autopilot profile and is referenced in the JSON file.
Enable enrollment notifications to monitor new device enrollment. You can configure Intune to send you an email notification whenever a new device enrolls in your tenant. This helps you detect any unauthorized or suspicious enrollment activity.
We recommend using multiple methods to strengthen the security of your environment.
Windows corporate identifiers
Corporate identifiers enable you to pre-upload a list of known devices which can enroll when you’re restricting enrollment of bring-your-own (BYOD) or personal devices. If you plan to deploy devices using Autopilot for existing devices functionality, upload their corporate identifier information (serial number, model, manufacturer) in Intune to ensure they are allowed to enroll as corporate devices. Devices registered for Autopilot don’t need corporate identifiers uploaded. To learn more, read New Windows corporate device identifier feature: everything you need to know.
Corporate identifiers for Windows 10 will be available starting July 9, 2024 with KB5039299.
Enrollment restrictions – filters
When using enrollment restrictions, you can create further restrictions by using assignment filters. You can use the following attributes to apply filters to Windows enrollment restrictions:
OS version
Operating System SKU
Ownership
Enrollment profile name
Model
Manufacturer
When using Autopilot for existing devices, create an enrollment restriction that blocks any user that’s using a device with a non-allowed enrollment profile name.
To do this, first create an assignment filter using the enrollmentProfileName property with the following rule, where you define all enrollment profiles in your tenant:
(device.enrollmentProfileName -notIn [“OffilineAutoPilotProfile-<ZtdCorrelationId1>”, “OffilineAutoPilotProfile-<ZtdCorrelationId2>”, etc.])
Next, create an enrollment restriction with MDM set to Block and add the filter at the Assignment step.
This will ensure that any device that isn‘t listed in the filter is not allowed to enroll.
Note: We’ve recently deployed a fix to ensure that the profile name for devices registered to Autopilot through this flow will correctly match the name of the Autopilot profile assigned, as opposed to the name in the JSON file. This blog covers upcoming changes to Autopilot for existing devices deployments and goes over best practices to secure your environment.
We hope this blog has helped you understand how to use Autopilot for existing devices and how to secure your environment when using it. If you have any feedback or questions, please let us know in the comments below or reach out to us on X @IntuneSuppTeam.
Microsoft Tech Community – Latest Blogs –Read More
How do I extract TEC variability from GPS data Using MATLAB
hello
need scripts to extract TEC variability from GPS data Using MATLAB,
tkuhello
need scripts to extract TEC variability from GPS data Using MATLAB,
tku hello
need scripts to extract TEC variability from GPS data Using MATLAB,
tku tec, gps, matlab MATLAB Answers — New Questions
Add a toolbox
I need to add 2 toolboxes to Matlab, when I use the "add path" function it adds itself naturally and I "save" the current paths but the problem is once I log off Matlab it restores to the paths before adding these two toolboxes !!
Meanwhile if I said I will add them each time, I have no problem with that but it returns a message calling "out of memory" when trying to use the "sift" command.
I appreciate if you can help me. Thank youI need to add 2 toolboxes to Matlab, when I use the "add path" function it adds itself naturally and I "save" the current paths but the problem is once I log off Matlab it restores to the paths before adding these two toolboxes !!
Meanwhile if I said I will add them each time, I have no problem with that but it returns a message calling "out of memory" when trying to use the "sift" command.
I appreciate if you can help me. Thank you I need to add 2 toolboxes to Matlab, when I use the "add path" function it adds itself naturally and I "save" the current paths but the problem is once I log off Matlab it restores to the paths before adding these two toolboxes !!
Meanwhile if I said I will add them each time, I have no problem with that but it returns a message calling "out of memory" when trying to use the "sift" command.
I appreciate if you can help me. Thank you out of memory, add toolbox MATLAB Answers — New Questions
Where’s my display name?!
Hey everyone,
I just set up my entire team with an Outlook account. Each person has their own display name (First, Last) and other personal information attached via the ‘Identity’ tab in the admin center.
My issue is that when a team member sends an email it arrives the in the recipients inbox as ’email address removed for privacy reasons’ instead of the display name of ‘Joe Montana.’
How and what do I change to ensure the recipient of the email sees the name of the sender rather than their whole email address. It’s affecting our deliverability because it looks spammy.
Any help would be appreciated!
Hey everyone, I just set up my entire team with an Outlook account. Each person has their own display name (First, Last) and other personal information attached via the ‘Identity’ tab in the admin center. My issue is that when a team member sends an email it arrives the in the recipients inbox as ’email address removed for privacy reasons’ instead of the display name of ‘Joe Montana.’ How and what do I change to ensure the recipient of the email sees the name of the sender rather than their whole email address. It’s affecting our deliverability because it looks spammy. Any help would be appreciated! Read More