Jump to content

mdrabble

Members
  • Posts

    2,704
  • Joined

  • Last visited

Everything posted by mdrabble

  1. Ok.... numpty question, how do you disable Classic shell once installed?
  2. Having finally tested and ready to deploy windows 10, I thought I had better set up SCCM/WSUS to install updates for Windows 10. Windows 7 was simple - tick windows 7 and job done.... Windows 10 you have a nice selection to choose from! Currently deploying Windows 10 Enterprise - LTSB 2016 (1607) Which options would you tick in WSUS to make sure all the essential updates get downloaded. Cheers
  3. I do exactly the same as @ITGURU
  4. Ok, managed to test the script running as the System user and it runs run fine Tested other simple powershell scripts - mainly msiexec commands and they all run fine. Real head scratcher.....
  5. Well I say I packaged it - I created a package with source files containing the relevant files but didn't create the program. In the TS I selected powershell command, selected the package and then typed in the script name and set the execution policy to bypass. Will see if I can get the script to run manually as system in the morning
  6. Yea, script runs fine manually and I have packaged it. Ive set the execution policy to bypass. The script starts to run as part of the TS as the Start-Transcript creates the log file and then it just sits there. I'm wondering if I have the ErrorActionPreference correct and it is sitting waiting for some kind of response.
  7. I have the following powershell script which I want to use as part of a task sequence to register a VM in Oracle box # ===================================================================================================== # Enable logging of script to help debugging # ===================================================================================================== $ErrorActionPreference="SilentlyContinue" Stop-Transcript | out-null $ErrorActionPreference = "Continue" Start-Transcript -path C:\Windows\Temp\VMSettings.log # ===================================================================================================== # Set Variables to be used within Script # ===================================================================================================== $LocalVMFolder = "C:\ProgrammingVM" $VMFileName = "ProgrammingVM.vbox" $VMName = "ProgrammingVM" $VMDiskPath = "\\SERVER\SHARE\ProgrammingVM.vmdk" $VBoxManage = "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" # ===================================================================================================== # Remove LocalVMFolder if exists first! # ===================================================================================================== if (Test-Path $LocalVMFolder ) { Remove-Item $LocalVMFolder -Recurse } # ===================================================================================================== # Add Extent Pack to Virtual Box for USB support # ===================================================================================================== &$VBoxManage extpack install "\\SCCM\SHARE\Software\Oracle Virtualbox\Oracle_VM_VirtualBox_Extension_Pack-5.1.22-115126.vbox-extpack" --replace # ===================================================================================================== # Create and add VBoxUsers group for LocalVM Folder Permissions # ===================================================================================================== Write-Host VBox installed... continuing installtion of VM Write-Host Creating VBOXUSERS local group... net localgroup VBOXUSERS /delete net localgroup VBOXUSERS /add /comment:'Group created for users of the Oracle Virtual Environment' Write-Host Adding 'Domain Users' to VBOXUSERS group... net localgroup VBOXUSERS "Domain Users" /add # ===================================================================================================== # Copy VM Settings from SCCM Software to Local Computer # ===================================================================================================== Write-Host Transferring Virtual Box image and settings to local computer... Robocopy "\\SCCM\SHARE\Software\Oracle Virtualbox\ProgrammingVM" "$LocalVMFolder" # ===================================================================================================== #Give access to VM Folder # ===================================================================================================== Write-Host Assigning permissions to $VMFileName directory... cacls $LocalVMFolder /t /e /g VBOXUSERS:C # Sets an environmental variable that Oracle reads to determine which home folder it should use. Write-Host Registering ProgrammingVM environmental variables... setx "-m VBOX_USER_HOME" "$LocalVMFolder" # ===================================================================================================== # Add VM to local Computer # ===================================================================================================== Write-Host Registering VM &$VBoxManage registervm "$LocalVMFolder\$VMFileName" Write-Host Making sure HDD is removed. &$VBoxManage storageattach ProgrammingVM --storagectl SATA --port 0 --device 0 --medium none Write-Host Re-attach the virtual media as an immutable media, so that it cannot be altered, and will always revert back to its original state. &$VBoxManage storageattach ProgrammingVM --storagectl SATA --device 0 --port 0 --type hdd --mtype immutable --medium $VMDiskPath # ===================================================================================================== # Set Restrictions on VM # ===================================================================================================== Write-Host Set Restrictions &$VBoxManage setextradata global GUI/SuppressMessages all &$VBoxManage setextradata global GUI/RestrictedGlobalSettingsPages General,Input,Update,Language,Display,Network,Extensions,Proxy &$VBoxManage setextradata "$LocalVMFolder\$VMFileName" GUI/RestrictedRuntimeMenus Machine,View,Devices,Help,Debug &$VBoxManage setextradata "$LocalVMFolder\$VMFileName" GUI/RestrictedStatusBarIndicators HardDisks,OpticalDisks,FloppyDisks,Network,USB,SharedFolders,Features,Mouse,Keyboard &$VBoxManage setextradata "$LocalVMFolder\$VMFileName" GUI/RestrictedCloseActions SaveState,PowerOff,Restore &$VBoxManage modifyvm $VMName --biosbootmenu disabled Write-Host Restrictions Set Write-Host . Write-Host Installation Complete Start-Sleep -s 30 # ===================================================================================================== # Stop Logging and Exit Script # ===================================================================================================== Stop-Transcript exit The script works perfectly fine if I run it manually, however if I run it as part of a task sequence it seems to hand The log file the transcript creates shows the following- ********************** Windows PowerShell transcript start Start time: 20170517115105 Username: SYSTEM RunAs User: SYSTEM Machine: W10DELL (Microsoft Windows NT 10.0.14393.0) Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.exe -NoProfile -ExecutionPolicy Bypass -Command & 'C:\_SMSTaskSequence\Packages\UG1001D6\VMSettings.ps1' ; if ($LASTEXITCODE -eq 0) {exit $?} else {exit $LASTEXITCODE} Process ID: 1004 PSVersion: 5.1.14393.953 PSEdition: Desktop PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.14393.953 BuildVersion: 10.0.14393.953 CLRVersion: 4.0.30319.42000 WSManStackVersion: 3.0 PSRemotingProtocolVersion: 2.3 SerializationVersion: 1.1.0.1 ********************** Transcript started, output file is C:\Windows\Temp\VMSettings.log Nothing to really indicate why the script is hanging. Cheers
  8. I'm basically looking to backup to 2 boxes and Azure using cloud connect - reading the different edition I don't think I need any of the Enterprise features apart from the WAN accelerator but I'm sure I could live without that as cloud connect does come as standard in all editions.
  9. Looking to purchase Veeam and I'm trying to decide which version of essentials to go for..... Do I go for Standard or Enterprise? Which edition do other people use? Cheers
  10. If you are using wordpress I would strongly recommend you install the following plugins - WordFence and iThemes Security. These plugins are used to help protect your site against possible hacks (although nothing is 100% safe) they can be used independently or can be used together to help bolster the security of your site.
  11. We have USB KVM switches with power for the PI provided by the USB3 socket from the PC. Seems to work well..... student have to collect the PI from the member of staff and then plug them in. I don't allow them on the network at the moment - once I have vlans setup correctly I may set them up on a dedicated SSID and a filter connection with exceptions in place for the Pi updates. If they need internet access then they can log in using the Smoothwall portal.
  12. Currently using Kaspersky for both client and exchange filtering. When the license is up for renewal next year I would have moved over to Windows 10 using Defender with SCCM and migrated to Office 365 with online protection - just trying to decide if I should get the Azure ATP server to enhanced Defender reporting or stick with SCCM reporting.
  13. My Logon speeds are approx. 1min which isn't bad for a Core 2 Duo, 3GB Ram and an SSD. Disabling Windows Search is helps - currently testing the same build on an i3, 6GB Ram and a Spinny HDD
  14. That's what I thought..... have added autodiscover.mydomain.mail.onmicro... and mydomain.mail.onmicrosoft.com and pointed to my IP address of my external IP of my exchange box..... I'll wait run the test again just so DNS has a change to replicate.
  15. I don't suppose you could let me know how you did this
  16. I've not changed any DNS settings - things worked fine until I enabled Hybrid setup (or at least nothing flagged before the change) Do I have to change my DNS to point to the DNS settings O365 recommends.... such as the MX records and autodiscover - autodiscover.outlook.com instead of autodiscover.mydomain.com
  17. bump....... Anyone who has a Hybrid setup able to share they steps just incase I missed something. Cheers.
  18. Yep can agree with deployment time - deploy Inventor, Maya, Revit and 123DMake as part of SCCM task sequence take about 3 hours to with other apps compare to about 30-60mins without the autodesk software.
  19. Not sure why my MSI has issues - but this is the workaround I have used, so may work with wordshark. Create a PowerShell file with the same command line details to install your software (don't put any path details) - msiexec /I "software.msi" /q and save in the same location as your msi Create a package in SCCM Tick this package has source files and locate software location. Do not create a package Distribute Content In your TS add Run PowerShell Script- browse and select your newly created package In Script Name - enter the filename of your PowerShell script Change PowerShell execution to Bypass Hope that helps. Test your TS and your MSI should have installed.
  20. Using the iOS app - is there any way to remove thanks given to a post? Fat finger syndrome - when scrolling I find I give thanks to posts by accident and then have to login in to the site to remove the accidental thanks.
  21. Will the deployment run manually with the /qn I had an issue with some serif where either it didn't deploy with other software or stopped other software deploying. I ended up deploying using a power shell script in my TS which worked without issue. Wondered if you could do the same.
  22. So I have a TS which deploys Windows 10 and my Applications/Packages and it works fine except for 2 bits of Software. The software I am having issues with are Adobe CS5 and all the Serif Apps - they don't deploy nicely with other apps! If I put either app at the top of the deployment list then they deploy BUT no other apps in the TS listed after them do not deploy. If I put CS5 or Serif at the bottom of the deployment list - all other apps deploy but then CS5 or Serif do not deploy. When I have looked through the logs to see if I can see any hints - all I am seeing is 8004005 error - on any app which doesn't deploy. Anyone come across anything like this? Thanks
  23. I have setup the Hybrid config for Exchange 2013 and Office 365 and I can migrate mailboxes fine. However, once migrated they can only access emails via a web brower as Outlook 2013/2016 doesn't want to connect to their mailboxes. I assumed no changes would be needed to the existing outlook config and once connected to our onsite exchange box it would be redirected to the cloud mailbox..... So.... what mailbox/account settings do I need to use for Outlook clients to connect to mailboxes on Office 365? Cheers.
  24. Managed to solve it! My VMs are stored on an SMB3 share - turns out I hadn't Installed/enabled the File Server VSS Agent Service
  25. Just had a thought..... adding my VM Storage Server to the Veeam Backup Infrastructure and will test to see if that sorts it.
×
×
  • Create New...