This is a little off topic from my last post, was wanted to start a new one.
I have some 64bit keys in the registry that need deleted, and it seems like since the SCCM client launches in 32bit mode it can't handle the call to a 64bit cmd during the script to delete the keys that I believe are 64bit keys.(i'm guessing these are 64 bit calls, I can't see any other reason why it won't delete these keys) The script deletes most of the keys except for these.
I tried running the following commands in a custom task sequence with *Disable 64-bit file system redirection" turned off without any luck. (there are multiple keys in the tree i'm trying to delete, do I need to delete each individual key instead of the tree?)
reg delete HKLM\SOFTWARE\TrendMicro /f
reg.exe delete HKLM\SOFTWARE\TrendMicro
cmd.exe /c reg delete HKLM\SOFTWARE\TrendMicro /f
I found the following for some 64 bit cmd call functions, but couldn't figure out how to make these work in windows much less sccm.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
This is a little off topic from my last post, was wanted to start a new one.
I have some 64bit keys in the registry that need deleted, and it seems like since the SCCM client launches in 32bit mode it can't handle the call to a 64bit cmd during the script to delete the keys that I believe are 64bit keys.(i'm guessing these are 64 bit calls, I can't see any other reason why it won't delete these keys) The script deletes most of the keys except for these.
I tried running the following commands in a custom task sequence with *Disable 64-bit file system redirection" turned off without any luck. (there are multiple keys in the tree i'm trying to delete, do I need to delete each individual key instead of the tree?)
reg delete HKLM\SOFTWARE\TrendMicro /f
reg.exe delete HKLM\SOFTWARE\TrendMicro
cmd.exe /c reg delete HKLM\SOFTWARE\TrendMicro /f
I found the following for some 64 bit cmd call functions, but couldn't figure out how to make these work in windows much less sccm.
%windir%\syswow64\cmd.exe /c %windir%\sysnative\reg.exe
If I run a call to reg.exe and refer to a .reg file will this work? Not sure why this is giving me so much trouble.
Here are the Task Sequence Logs -
Share this post
Link to post
Share on other sites