Jump to content


anyweb

Root Admin
  • Posts

    9175
  • Joined

  • Last visited

  • Days Won

    366

Everything posted by anyweb

  1. yes it's possible and here's how to do it *note this happens in Windows PE* PromptForPassword.wsf create a blank text file in notepad called promptforpassword.wsf paste the following into it <job id="PromptForPassword"> <script language="VBScript" > Dim env,oTSProgressUI,MyPass Set env = CreateObject("Microsoft.SMS.TSEnvironment") set oTSProgressUI = CreateObject("Microsoft.SMS.TSProgressUI") oTSProgressUI.CloseProgressDialog() env("ALLOWOSDBUILD") = "NO" MyPass=Inputbox("Please enter the Password to continue") If MyPass = "password" then env("ALLOWOSDBUILD") = "YES" End If </script> </job> Shutdown.wsf Create another blank text file in notepad called Shutdown.wsf, this file will be placed in a sub folder of the scripts folder of your MDT Files package (eg: scripts\ts password) The Shutdown.wsf file should look like this, note that it depends on the MDT toolkit files package to be loaded prior to running. <job id="setEnv"> <script language="VBScript" src="..\ZTIUtility.vbs"/> <script language="VBScript"> Dim oTSProgressUI set oTSProgressUI = CreateObject("Microsoft.SMS.TSProgressUI") oTSProgressUI.CloseProgressDialog() On error resume next Dim fso, WShell, oFile Set WShell = CreateObject("WScript.Shell") Set fso = CreateObject("scripting.filesystemobject") scriptroot = oEnvironment.Item("SCRIPTROOT") MsgBox "Please click OK to shutdown the computer.",0, "Task Sequence Aborted" WShell.Run "wpeutil shutdown",0, True </script> </job> Create the Package Create a package called Prompt for Password and place the password script file above in the package, distribute it to distribution points. Add the shutdown.wsf script to a folder called TS Password and copy that folder to the Scripts subfolder of your MDT files package, redistribute that to it's distribution Points. Create the Task Sequence In ConfigMgr create a blank custom MDT task sequence, and for the first step have a Use Tollkit Package (this step is needed for the shutdown.wsf script later). Once done, add a new Run Command Line step to your task sequence, the step will call the promptforpassowrd.wsf file in the package you've just created, like so Command line: cscript "promptforpassword.wsf" Package: Prompt For Password Next create a Shutdown Step, The Shutdown step in the task sequence will check for the variable called ALLOWOSDBUILD, if ALLOWOSDBUILD = no then the Task Sequence will run another script (shutdown.wsf) otherwise it will continue as normal. So for the Shutdown step click on the options tab and set it as follows This group/step will run if the following conditions are met: Task Sequence Variable ALLOWOSDBUILD not equals "YES" Command line: cscript "shutdown.wsf" Package: MDT Files so long story short, if someone enters the right password, they are allowed to continue, if they don't the task sequence shuts down. if you want I can post a demo of this via webcast.. Update if you want a HTA to run within windows to prompt the user to enter a password then read this post on Technet, the code from that post is listed below, thanks Nick <html> <head> <title>HTA Test</title> <HTA:APPLICATION ID="objTest" APPLICATIONNAME="REBUILD" SCROLL="yes" SINGLEINSTANCE="yes" > </head> <script LANGUAGE="VBScript"> Sub TestSub set WshShell = WScript.CreateObject("WScript.Shell") if PasswordArea.value = "password" Then Msgbox "Thanks password is correct. Task sequence will now continue" WshShell.RegWrite "HKLM\Software\REBUILD\Rebuild","00000000","REG_DWORD" Self.Close Else Msgbox "Sorry, password is not correct. Please try again" End If End Sub </SCRIPT> <body> <P>MICROSOFT SCCM</p> <P>SYSTEM REBUILD</P> <input type="password" name="PasswordArea" size="30"><P> <input id=runbutton class="button" type="button" value="ENTER" name="run_button" onClick="TestSub"> </body> cheers niall
  2. can you try again and post the resulting smsts.log file ?
  3. anyweb

    Watch this video

    that was lenghty and extensive, but I still prefer this one > http://www.windows-noob.com/forums/index.php?/topic/1885-webcast-%23-1-using-offline-mode-in-windows-pe/
  4. well well you are spoiled ! i've two main labs, one at home which is an old Dell Optiplex Gx620, 4gb ram, 1TB hdd running server 2008 and (wait for it) windows Virtual Server 2005 sp1... (the cpu is too old to run hyperv, and yes hyperv is what I choose to use, I use vmware at work) a lof of the guides here were done on that machine (one ad, one sccm, one appv, one scom2007, various other vms) my portable lab is a Dell Latitude D630, 4gb ram (trying to upgrade to 8gb), 325gb hdd in two bits, or rather two stages (two separate hdds) on one hdd I have server 2008 running hyperv with several vm's, use this hard disc for demoing anything SCCM related like xp to windows 7 migrations etc on the other hdd I'm setting up a vnext lab again with hyperv running in server 2008 R2, more on that lab later that's what I have, I would like to have better specs if i could afford it but currently no can do, cheers niall
  5. if you are a linkedin member then there's a new Group for you to join, the windows-noob.com group Please show your appreciation by joining the Group, What are you waiting for ! cheers niall
  6. which packages is it coming back for ?
  7. hi all, today i've enabled User Reputation, you can find the buttons on the bottom right of every post, if you feel someone has done a good informative post, then reward them for it by giving them a plus cheers ! niall
  8. sounds like its missing network drivers in the boot images (both x86 and x64), so do as the others have advised and enable command prompt support, try ipconfig, if no ip then add nic drivers then update your dps
  9. and there are these ones too How can I update/upgrade SCCM Sp1 to Sp2 Updating to SP2 Upgrading ConfigMgr Client after SP2 upgrade How can I upgrade the configMgr client after upgrading to SP2 ?
  10. why arent you using sccm 2007 SP2 ?, is sql 2008 sp1 cu6 ? is sql off box (ie: on another server ?
  11. are they setup as fast or slow sites, if set to slow they will be treated as REMOTE cheers niall
  12. you need to add the correct NETWORK drivers to your boot images and then update the dp's for those boot images (both x86 and x64) cheers niall
  13. remove the WSUS group policy from all applicable Organizational Units and you'll be good to go, cheers niall
  14. This guide is for a beta product, namely vNext Beta 1. You might be wondering why I'm installing it from scratch and not using the VHD provided by Microsoft, the reason why is because I want to experience everything that is required to get vNext running in my Lab from installation, configuration and management. If you follow my steps you too will have a working vNext LAB. This is Part 1 of a vNext series in which I'll cover installation, configuration, usage and more of vNext. Get your Lab Ready. My vNext Lab is hosted in a brand new HyperV environment hosted on Server 2008 R2, I'm currently using a laptop with 4gb ram (yes I want more...), 325 GB hdd. There are two servers used in this Lab, AD1 (AD1 -active directory, dns, dhcp) and vNext (joined to our AD1 domain). I chose to install Windows Server 2008 R2 standard as the server OS for vNext. Once done I joined it to my newly created domain (2k8r2), verified DNS was working correctly via nslookup and was ready to begin the steps below. Create AD users: In addition I created some accounts in AD, namely: SMSadmin, a domain user, Testuser, a domain user, DomJoin, a domain user,(for joining to the domain) ReportsUser, a domain user for reporting services. ClientInstall, a domain admin user for installing the Vnext Client. Create Local Administrator accounts: On the vNext server I added the vNext site server computer account (vnext$) as a member of the Local Administrators Group. In addition, add the SMSadmin user to the Local Administrators group. Step 1. Download and uncompress vNext You can Download it from Microsoft Connect here or indeed download vNext beta 1 from here. Once downloaded, double click on the ConfigMgr_vNext_Beta_ENU_7469.exe file to uncompress it. Perform the following on the Active Directory Domain Controller as a Domain Administrator Step 2. Create The System ManageMent Container Open ADSI Edit, click on Action, Connect To and click Ok Double Click on Default Naming Contextand the DC= that appears below it Click on the + and scroll down to CN=System. Right Click on CN=System and choose New, Object Choose Container from the options, click Next and enter System Management as the value. Click Next and Finish. Press F5 to refresh ADSI Edit and you should now see the new System Management Container. Close ADSI Edit. Step 3. Delegate Permission to the System Management Container. Open Active Directory Users and Computers. Click on view, select Advanced Features. Select the System Management Container, and right click it, choose Delegate Control. When the Welcome to Delegation of Control Wizard appears click next, then click Add. click on Object Types, select Computers. Type in your vNext server name and click on Check Names, it should resolve. Click Ok, then Next. Choose Create a Custom Task to Delegate. click next, make sure This folder, existing objects in this folder and creation of new objects in this folder is selected click next, select the 3 permissions General, Property-Specific and Creation-deletion of specific child objects are selected then place a check mark in FULL CONTROL, and click next then Finish. Failure to do the above will mean that the System Management Container in AD will NOT POPULATE with vNext specific info and you will see many errors in your site status. Step 4. Extend the Active Directory schema for Configuration Manager Browse to where you uncompressed vNext and find \SMSSetup\Bin\x64\Extadsch.exe double click on Extadsch.exe. A command prompt window will appear briefly as the schema is extended, check in c:\ for a log file called ExtADSch.log it should look similar to this Perform the following on the vNext server as SMSadmin Step 1. Install .NET 3.5.1 and WCF Activation In Server Manager select Features, Add Features, Select .NET Framework 3.5.1, also select WCF Activation and when prompted answer Add Required Features then select Next and Install Step 2. Download and install .net4 Download .net 4 from here. Double click the file. click on Install when the wizard appears. After a while it will complete, Click Finish when done click on Restart Now Step 3. Install SQL Server 2008 Start installing SQL Server 2008 as per this guide, however you may be prompted about upgrading it to SP1 later, ignore the warnings as we will install SQL 2008 sp1 after this. I chose to Install SQL server 2008 to D:\Program Files... Once SQL Server 2008 is installed, click on close Step 4. Upgrade SQL Server 2008 to SP1 CU6 Locate your update files and run it en_sql_server_2008_sp1_x64 then once upgraded reboot After the reboot, install the Cumulative Update 6 (CU6) Step 5. Install the remaining vNext Pre-requisites We need to install IIS, BITS, Remote differential compression so please startup Server Manager and select Features. Select the following Features: * Remote Differential Compression * BackGround Intelligent Transfer Service (BITS) Note that when you select BITS it will prompt you to install IIS dependancies, choose Add Required Role Services click next when ready click next at the IIS Introduction and verify the following IIS components are installed in addition to the ones preselected by the wizard. Common HTTP Features Static Content Default Document Directory Browsing HTTP Errors HTTP Redirection Application Development ASP.NET .NET Extensibility ASP ISAPI Extensions ISAPI Filters Health and Diagnostics HTTP logging Logging tools Request Monitor Tracing Security Basic Authentication Windows Authentication URL Authorization Request Filtering IP and Domain Restrictions Performance Static Content Compression Management Tools IIS Management Console IIS Management Scripts and Tools Management Service IIS 6 Management Compatibilty IIS 6 Metabase Compatibility IIS 6 WMI Compatibility IIS 6 Scripting Tools IIS 6 Management Console and yes to any additional prompts, then Click Next and Install and close when done.
  15. The new Microsoft Assessment and Planning (MAP) Toolkit 5.0 is now available for download! MAP 5.0 is an agentless tool designed to simplify and streamline the IT infrastructure planning process across multiple scenarios through network-wide automated discovery and assessments. This Solution Accelerator performs an inventory of heterogeneous server environments and provides you with usage information for servers in the Core CAL Suite and SQL Server, SQL Server 2008 discovery and assessment for consolidation, Windows 2000 Server migration assessment, and a readiness assessment for the most widely used Microsoft technologies—now including Office 2010. What’s new in MAP 5.0? * Heterogeneous server environment inventory - Know what’s in your IT environment. The Microsoft Assessment and Planning (MAP) Toolkit performs a network inventory of IT assets remotely without the use of agents, identifying heterogeneous server environments consisting of Windows Server and Linux operating systems, including those running in a virtual environment. MAP 5.0 also automates the discovery of Linux-powered LAMP stacks. * Software usage tracking for Windows Server, SharePoint Server, System Center Configuration Manager, Exchange Server, and SQL Server - Right-size your IT environment with MAP Toolkit 5.0, and simplify your software license management and compliance processes. MAP 5.0’s new usage tracking feature provides consistent software usage reports for key Microsoft server products: Windows Server, SharePoint Server, System Center Configuration Manager, Exchange Server, and SQL Server. Run updated reports whenever you need to accurately assess current software usage and client access history in your environment. This reduces time and administrative costs for managing your server and client access licenses (CALs) and helps you to streamline the management of your software assets. * Microsoft Office 2010 readiness assessment - Streamline your migration to Office 2010 with MAP 5.0’s hardware compatibility proposal document. The MAP Toolkit provides readiness details and specifics of your IT infrastructure inventory, including hardware and OS requirements and upgrade recommendations for planning a seamless deployment of Office 2010. The actionable recommendations and assessments presented shorten the time it takes to plan your Office 2010 migration and prepares your IT environment for Office 2010 deployment and migration scenarios. * SQL Server discovery and assessment for consolidation - MAP 5.0’s new database discovery feature gives you the information you need to optimize your database resources and investments. MAP helps you simplify database administration and provides wide-ranging details of databases and server instances—information you can utilize for consolidation. Use the MAP Toolkit’s proposals to better utilize hardware and database resources, reduce administrative costs, and streamline your software licensing needs—all essential for cost-effective IT planning and operations. * Windows 2000 Server migration assessment - As support for Windows 2000 Server ends soon, MAP 5.0’s Migration Assessment feature helps you prepare for migration to Windows Server 2008 R2 by assessing the Windows 2000 Server environment and legacy workloads in the form of proposals and reports. The MAP Toolkit’s actionable recommendations help you to understand the potential business impact of maintaining legacy workloads and the benefits of migrating to the robust Windows Server 2008 R2 environment. With migration to Windows Server 2008 R2, you’ll be able to utilize the increased IT flexibility and efficiency from such technologies as Hyper-V and Remote Desktop Services, as well as tap into power-savings features to decrease TCO. Is your organization spending valuable resources planning its IT infrastructure? Download the MAP Toolkit 5.0, and let this tool do the heavy lifting for a wide variety of your IT planning projects. * Download the MAP 5.0 Toolkit. * Checkout the MAP Overview DEMO * Check out the Springboard Series on TechNet Pilot and Deploy Zone for more info on MAP, ACT, MDT and other Solutions Accelerator Tools! * Check out the great video series our friends at TechNet Edge did on MAP: + Part 1- Microsoft Assessment and Planning (MAP) Toolkit 5.0: Overview + Part 2 - Office 2010 + Part 3 - Windows Server 2008 R2 consolidation + Part 4 - Database Discovery for SQL + Part 5 - Heterogeneous Server Environment Inventory + Part 6 - Software Usage Tracker via > http://windowsteamblog.com/windows/b/springboard/archive/2010/07/14/microsoft-assessment-and-planning-toolkit-5-0-now-available.aspx
  16. anyweb

    Linux NAT in hyperV

    was configuring this today on my new Server 2008 R2 lab, using hyperv I added two nics to my smoothwall linux NAT, but smoothwall couldnt detect them when I selected probe, so I powered off the VM and changed the nic type to Legacy Network Card (internal and external) Then I ran setup again, this time it detected the cards and I was able to configure them fyi
  17. i think the setting you should use is en-GB
  18. yes follow that guide and you'll be good to go, make sure your timezone is also specified correctly cheers niall
  19. ok when trying to deploy the application, what errors are you getting, are you wrapping it in a vbs script or a straight msi install ?
  20. Microsoft's beta release of its Windows Phone 7 Development Training Kit offers several new labs designed to let developers get their feet wet in the new platform. Described Tuesday in a Microsoft blog, the new beta of the training kit keeps up with the changes found in the Windows Phone 7 Developer Tools, which also hit beta status this week. Microsoft has revamped the existing labs in the training kit and added a few new ones. The lab dubbed "Using Windows Phone Launcher and Choosers In Your Applications" exposes the APIs that developers can tap into when writing their apps to run common tasks, such as making phone calls, sending e-mail, and snapping photos. The lab called "Understanding the Windows Phone Application Lifecycle (handling Tombstone)" delves into "tombstoning," or what happens when when a person navigates away from an app and the OS thus ends the app's process--a necessary task since Windows Phone 7 does not support application multitasking. The new labs include "Hello Phone," a variation of the familiar "Hello World" program that developers create when learning a new programming language. This lab helps developers learn to use Microsoft Visual Studio 2010 Express for Windows Phones and Expression Blend to build their apps, according to Microsoft. The lab on "Building Your First Windows Phone Application" presents a puzzle game designed to take developers on a tour of the different stages of creating an app. The "Windows Phone Navigation and Controls" explains how to navigate among the different screens in a Windows Phone Silverlight app. And the "Game Development with XNA Framework for Windows Phone" teaches developers how to create a basic XNA game app for the phone. Interested developers can download the training kit to install it locally or use the online edition at Microsoft's Channel 9 Web site to view session videos. via http://news.cnet.com/8301-10805_3-20010526-75.html
  21. interesting points and yes your search folders will produce different results based on your criteria, experimenting will give you a better overview, as regards not including certain updates (patches) from your statement correct, by including MS as the bulletin ID (or MS10 or whatever) we are looking for Security Updates only , only SEcurity Updates are given a bulletin ID. if you want All Security Updates AND all other updates, create another search folder called 'all updates' for the given OS and do not include bulletin ID as a search category, see the difference ?
  22. you'll need to configure an SLP if you don't extend AD, see here for more info http://technet.microsoft.com/en-us/library/bb693467.aspx
  23. not an issue, just install the SCCM admin console on your windows 7 or windows xp desktop and create the key there, works fine !
  24. i'm not following your question, what exactly is the problem you have ?
×
×
  • Create New...

Important Information

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.