Jump to content


Established Members
  • Posts

  • Joined

  • Last visited

Profile Information

  • Gender

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

king13p's Achievements


Newbie (1/14)

  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges



  1. Hello, I'm working on a Powershell script to install Autodesk products. I'm having issues with a step and hopefully someone can help. I've tried this many different ways and keep running into errors. Using double quotes (Start-Process "msiexec.exe" -ArgumentList ""/i $dirFiles\ABDS2017\Img\x64\RVT\RVT.msi INSTALLDIR="C:\Program Files\Autodesk\" ADSK_SETUP_EXE=1 /qb!"" -NoNewWindow -Wait -PassThru).ExitCode Error Cannot validate argument on parameter 'ArgumentList' Argument is null or empty. Using a variable to define InstallDir $RevitInstallDir = "C:\Program Files\Autodesk\" (Start-Process "msiexec.exe" -ArgumentList "/i $dirFiles\ABDS2017\Img\x64\RVT\RVT.msi INSTALLDIR=$RevitInstallDir ADSK_SETUP_EXE=1 /qb!" -NoNewWindow -Wait -PassThru).ExitCode Doing this I get the msiexec /option Required Parameter error. Tried this also, Single Quotes with Quotes on Path (Start-Process "msiexec.exe" -ArgumentList "/i $dirFiles\ABDS2017\Img\x64\RVT\RVT.msi INSTALLDIR="C:\Program Files\Autodesk\" ADSK_SETUP_EXE=1 /qb!" -NoNewWindow -Wait -PassThru).ExitCode I receive A positional parameter cannot be found that accepts argument C:\Program Using single quotes on InstallDir (Start-Process "msiexec.exe" -ArgumentList "/i $dirFiles\ABDS2017\Img\x64\RVT\RVT.msi INSTALLDIR='C:\Program Files\Autodesk\' ADSK_SETUP_EXE=1 /qb!" -NoNewWindow -Wait -PassThru).ExitCode Doing this I get the msiexec /option Required Parameter error. Using single quotes on the outside (Start-Process "msiexec.exe" -ArgumentList '/i $dirFiles\ABDS2017\Img\x64\RVT\RVT.msi INSTALLDIR="C:\Program Files\Autodesk\" ADSK_SETUP_EXE=1 /qb!' -NoNewWindow -Wait -PassThru).ExitCode If I do this, it prevents the $dirFiles variable from working. The reason I'm using Start-Process is because I have many installers one after the other and I want one installer to wait till the one before it finishes. Any help would be appreciated! Thanks
  2. You need to figure out why it is just closing the cmd window. Open a CMD window as admin, then execute the program by typing the full unc path. Doing it this way the cmd window won't close right away and you should be able to diagnose why it didn't run the script. Your other option is to open the script itself and copy each command in one after the other into a cmd window and see what it fails on. Good Luck.
  3. Figured out this issue, Inside the Task Sequence under the Install Image there was a checkbox that said Access content directly from distribution point. After unchecking this option, multicast worked perfectly.
  4. Hello all, I'm trying to setup Multicast in our environment and are having issues getting it to run. I've configured the distribution point to use Multicast, I've set boundary groups for my machines to only talk to this DP. I've changed the setting of the wim to transfer over multicast, I've made sure the deployment of the task sequence is set to Download Content locally. No matter what I do, it always just does Unicast. Anybody have any ideas? Thanks
  5. I've seen this before, I believe that is just the chosen date Microsoft put for their start time. Its mainly just for cosmetics but if you want to change it to a different day then Open the properties for your Application Deployment, Click the Scheduling Tab, Click the Schedule At Radio Button and change the date and time to the current time or even a few hours earlier. I believe that should fix your issue. Best of luck.
  6. My problem is I can't seem to find it, Here is the query that lets me know what image is on the machines. I tried looking under SMS_G_SYSTEM for Current Version but its not listed. Thanks select SMS_G_System_CurrentVersion.Version, SMS_R_System.Name from SMS_R_System inner join SMS_G_System_CurrentVersion on SMS_G_System_CurrentVersion.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_CurrentVersion64 on SMS_G_System_CurrentVersion64.ResourceID = SMS_R_System.ResourceId where SMS_G_System_CurrentVersion.Version = "IMAGE1" or SMS_G_System_CurrentVersion64.Version = "IMAGE1" order by SMS_R_System.Name
  7. I was wondering if anyone here has used the Console Builder to add things into SCCM? I followed the tutorial here http://idanve.blogspot.com/2015/03/add-custom-column-to-sccm-console-using.html but I'm wondering if its possible to have a custom registry entry in a column. So here is where I'm getting at. I have a reg key that gets placed during OSD that tells SCCM which image it has. I can use Hardware Inventory to collect this Reg Key Value. I can run a query that tells me who has what image. I would like to put this value into a column using the console builder if possible. Following the tutorial I was not able to find this custom field. Does anybody have any ideas? I think it has something to do with a property display item and/or Class Property? Is there any way to create a custom one? Thanks I'm sure its an odd request but I'm bored at work so this will kill some time.
  8. I ended up figuring this out, The problem was when I set a restriction to this collection, the same restriction would apply to other collections. I ended up duplicating the limiting collection and making all the restrictions on this second collection. Now everything works perfectly. Thanks
  9. Hello, I'm looking for a way to prevent certain techs in my organization from adding machines and deleting machines from certain collections, I have 4 collections that I don't want them to modify. Can anyone help me out with this? I tried following some tutorials but can't seem to get them to work. Thanks Lenny
  10. Hello all, I am having an issue with a new client I just reimaged. This one has Windows 8.1 on it. In the ConfigMGR Control Panel I have only 4 Actions listed: Application Deployment Evaluation Cycle Discovery Data Collection Cycle Machine Policy Retrieval & Evaluation Cycle User Policy Retrieval & Evaluation Cycle I tried uninstalling the client and reinstalling. Tried upgrading the client to R2 CU3. Tried deleting the cert but Nothing seems to be working for me. Any Ideas? Thanks
  11. Nevermind, figured it out. I deleted all the power plans and then created them on my computer using windows. Then I found the reg key containing the guid and all policies and imported them into a GPO. I then had folders for each policy and used targeting to apply them to certain security groups and organizational units. I also used a reg key to make the policies the default active policy so they couldnt be changed. I also changed the description of the policy as well. I'll post some pics and a better description tomorrow with how to do all this. Thanks
  12. Hello all, Hoping someone can help me out here. I got a question about Group Policy I’m having an issue with. I’m trying to create multiple custom Power Plans, each will be for different purposes. 1 for Staff, 1 for Students, 1 for machines we don’t want to lock. I would like for each of these plans to be default for the specific user and not be able to be changed. I know how to get all of this working except for 1 part. The Plans need to be locked down by their GUID. When I send out the plans, the same plan on computer A will have a different GUID then the same plan on computer B. Does anyone have any idea on how to make it so a custom power plan will have the same GUID on all computers? Thanks
  13. Okay so weird issue we are having, We just created a new SCCM 2012 R2 Server almost 2 weeks ago, Since then it seems every morning I come in, The SCCM Console won't connect to the server. If I log into the server, the SCCM Console works just fine, Other users can't get SCCM to work either, The only solution for us is to reboot the server then it starts working again. Any ideas? What logs should I look into? Thanks
  14. Been looking around the web and can only find an old video on how to create a clean packaging environment for XP. Here is what I have been doing, Please comment on what else should be done to create a clean environment. 1. You should be using a VM and a good tool is VMware Workstation for PC or VMware Fusion for Mac. 2. Choose an OS (The place I work for uses Windows 7 32-Bit 95% of the time) 3. Create 1 20GB or more HDD and 1 6GB HDD (SWAP) and attached to your VM 4. Install Windows to the 20+ GB HDD. 5. Turn Off Automatic Updates then Run Windows Updates but only Security Updates, Service Packs, and other Critical Updates. Avoid Language Packs, Windows Defender, Internet Explorer Updates, Driver Updates,d and other Junk Updates. I went ahead and installed all the .NET Framework updates but its your choice. If your software complains then you'll know what .NET Framework your PKG needs. 6. Turn Off System Restore 7. Disable Extra Features from Programs / Add or Remove Windows Features you will not need. Such as Games and Print Spooler, ETC 8. Create your Swap file. You may need to format your 6GB Hard Drive. Right Click Computer > Properties > Advanced System Settings > Advanced Tab > Performance Settings > Adjust for Best Perfomance > Advanced Tab > Change... > Uncheck Automatically manage paging File size for all drives > Check Custom size > Click your Second 6GB Drive> Take the amount of Physical Memory in your PC and double it for both Initial size and Maximum Size EX 2048 Physical is 4096 > Click Set > OK > OK > OK > Restart 9. Turn off Services you don't need. Services.msc Double click a service, Choose Disabled, Click Stop, Click Apply. Services I disabled were: Print Spooler Windows Defender Windows Firewall Windows Update - After you ran your updates and don't have anymore to update, you can disable this service. 10. Install VMware Tools, Parallels Tools, VirtualBox tools, ETC. Whichever one you are using. Reboot 11. Install your MSI Packaging Tool, (EX Admin Studio, InstallShield, AppDeploy, EMCO) I'm using EMCO 12. Add anything else you think you may need. Now you can configure your Machine how you want it. EDIT: I also went back and turned off Share Printers with Windows in VMware. Otherwise a process keeps making changes in the registry that gets recorded when you do your MSI Captures. 13. Shutdown the machine and capture its State. You will then be able to start using the MSI tool to create a MSI and then revert back to the original state. Please comment on any other changes that would be helpful.
  15. Hello everyone, I have decided to create a tutorial on how to add a shortcut into a MSI. Our software packager likes to rebuild MSI from ground up using Admin Studio and what ends up happening is the MSI's don't work great afterwards, Most of the time its Deleting a shortcut or Adding one. So instead of rebuilding an MSI lets use Orca to create a Transforms file to create a shortcut. 1. Download Windows SDK http://www.microsoft.com/en-us/download/details.aspx?id=8279 2. Choose the Default installation options 3. After install navigate to C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\ 4. Install Orca.MSI 5. After its done installing lets edit the MSI for 7-Zip. We are going to add a desktop shortcut. 6. Download the MSI to the desktop and right click it and choose Edit with Orca. Or open Orca and choose the 7-Zip MSI 7. We need to Create a Transforms file first. Click Transform in the Menu > New Transform 8. In the Tables Column choose Shortcut. 9. There are Two Shortcuts by Default that are placed by default when the MSI is run in this example. The 7-Zip File Manager and the 7-Zip Help. Lets make it so File Manager is on the Desktop. The easiest way to do this is simply Copy the entire row. Right click the shortcut labeled "startmenuFmShortcut" and choose Copy Row. 10. Now Paste the Rows 11. If you want to change the name of the shortcut you can Simply change the value under Name. Right now its listed as "7zipFM|7-Zip File Manager" Everything after the Pipe is what the name of the icon is. Everything before doesn't get put anywhere and far as I can see, It may just be a comment as far as I know, You also don't need it, If you replace the whole line it will show up as the name of the shortcut. I'll label mine "7-Zip" EDIT: Found out that if you label Directory_ as "DesktopFolder" instead of desktop, you can skip steps 13 - 17. DesktopFolder is a variable which places it in the Public Desktop Folder. 12. Directory_ should be "Desktop" You should be good to go. You can go crazier with this but thats not in the scope of this tutorial Here is what it should look like: 13. Now we must place values as to where "Desktop" really is. Otherwise if we ran the MSI with this Transform file it wouldn't know where Desktop is. Click the Directory Table. 14. Here you see basically a table of where the MSI looks to install various things to. Right click the table and choose Add Row. We must add a few rows to this table. Its best to think about this whole thing backwards when you are adding to this table. We want to place a shortcut in this directory. C:\Users\Public\Desktop This will guarantee it will show up on everyones desktop. For Directory put Desktop. For Directory_Parent put PUBLIC For DefaultDir put Desktop 15. Right Click and Choose Add Row For Directory put Public. For Directory_Parent put Users For DefaultDir put Public 16. One more time Right Click and Choose Add Row For Directory put Users. For Directory_Parent put TARGETDIR For DefaultDir put Users 17. In the end it should look like so: 18. Click Transform and Choose Generate Transform > Save it as 7ZIPTRANS.MST on the desktop or in the same directory as your 7-zip msi. 19. Open a Command Prompt and navigate to the same directory as your 7-Zip MSI and Transforms file. 20. Type the following: msiexec.exe /i 7z920.msi TRANSFORMS=7ZIPTRANS.mst /qn This line will install 7zip using the Transforms file we created and it will install silently. You now see the icon on the desktop. Hope you enjoyed this tutorial and hope its helpful for you.
  • Create New...