Tuesday, August 18, 2015

How to change SID on Windows 7 and Windows Server 2008 R2 using sysprep


How to change SID on Windows Server 2008 R2 and Windows 7 using sysprep.

I see many of you are looking how to change SID using NewSID, but New SID is not officially supported by Microsoft. You could use NewSID on Windows Server 2008, but when you try to use it on Windows Server 2008 R2 it won’t work, actually, it will “destroy” operating system. I didn’t test it on Windows 7, but still my advice is to use sysprep. Changing SID using sysprep is also very simple, just follow few steps as described below…
I tested sysprep on Windows Server 2008 R2 Datacenter edition, but same steps apply for Windows7 also.
First, click to Start->Run, type sysprep and press OK.
sysprep1

This will open sysprep folder which is located in c:\Windows\System32. Open sysprep application.
sysprep2

This will open System Preparation Tool 3.14 window. As a System Cleanup Action select Enter System Out-of-Box Experience (OOBE). Important: select Generalize if you want to change SID, it’s not selected by default. As Shutdown Options selectReboot.
sysprep3

It will take some time for sysprep to finish, so grab a cup of coffee and wait.
sysprep4

After rebooting you’ll have to enter some data, for example, Country or region, Time and currency and Keyboard input.
sysprep5

Also, you’ll have to accept EULA. And that’s it. After booting, in Server Manager you’ll see that everything is changed, if you had some settings set now they’re changed.
sysprep6

Now you can again use PsGetSid to check that your OS has new SID.

Wednesday, February 18, 2015

Configure Software RAID

Configure Software RAID 0

Step 1

Connect to PLABDM01 and minimize Server Manager Dashboard. Click on PowerShell icon on taskbar. You will prepare Disks 1, 2, and 3 for storage which will be used later.
RAID 0 is also called disk striping. This will not provide redundancy as RAID 1 and 5, but it will enhance disk throughput for read operations of files like databases.
To prepare Disk 1, type the following commands:
diskpart
list disk
select disk 1
online disk
attributes disk clear readonly
create partition primary size=10236
convert dynamic
Practice-Labs-Image
To prepare Disk 2, type the following:
list disk
select disk 2
online disk
attributes disk clear readonly
create partition primary size=10236
convert dynamic
Practice-Labs-Image
To prepare Disk 3, type the following:
list disk
select disk 3
online disk
attributes disk clear readonly
create partition primary size=10236
convert dynamic
Practice-Labs-Image
Minimize Windows PowerShell. Go to Administrative Tools and click on Computer Management. Right-click on Disk 1’s unallocated partition and choose New Striped Volume…
Practice-Labs-Image
On Welcome to the New Striped Volume Wizard, click Next.
Practice-Labs-Image
On Select Disks page, in Available list box, click on Disk 2 and Disk 3and choose Add.
From Select the amount of space in MB, type 500.
Click Next.
Practice-Labs-Image
On Assign Drive Letter or Path, click Next to accept the default.
Practice-Labs-Image
On Format Volume, click Next.
Practice-Labs-Image
Click Finish to close Completing the New Striped Volume Wizard.
Practice-Labs-Image

Configure RAID 1

RAID 1 also known as disk mirroring is useful for protecting operating system data as it creates an exact replica of the parent hard disk.

Step 1

From PLABDM01, go to Disk 0 and right-click on (C:) and choose AddMirror…
Practice-Labs-Image
On Add Mirror dialogue box, Disk 1 is automatically selected for you. Click Add Mirror.
Practice-Labs-Image
Disk Management will prompt you that this operation will convert Disk0 to dynamic disk. Click Yes to continue.
Practice-Labs-Image
The creation of disk mirror volume will take a few moments, as data on drive C is synched with the selected replica disk.
Practice-Labs-Image

Configure RAID 5 Volume

RAID 5 volume is known as disk striping with parity. This type of disk volume requires at least 3 hard disks with unallocated partitions of the same size. It protects data written on a RAID 5 volume by creating parity bits which can be used by Windows to recreate lost data in the event one of the three disks in a RAID 5 volume fails.
RAID 5 can be used for protecting files like databases by providing fault tolerance.

Step 1

From PLABDM01, Go to Disk 1 and right-click on the unallocated partition and choose New RAID-5 Volume…
Practice-Labs-Image
Click Next on Welcome to the New RAID-5 Volume Wizard.
Practice-Labs-Image
On Select Disks page, under Available list box, select Disk 2 and Disk 3and click Add.
In Select the amount of space in MB, type 700
Click Next.
Practice-Labs-Image
From Assign Drive Letter or Path, accept the default settings by clickingNext.
Practice-Labs-Image
On Format Volume page, choose Next.
Practice-Labs-Image
Select Finish to close Completing the New RAID-5 Volume Wizard.
Practice-Labs-Image

Creating Extended Volumes

Volume sets or extended volumes can be used for combining unallocated free space in found in different hard disks to create a bigger storage space.
An existing volume set can be expanded by including unallocated free space if a new hard disk was added to the system.

Step 1

From PLABDM01, go to Disk 1 and right-click on the 10.00 GB RAWpartition and choose Extended Volume…
Practice-Labs-Image
Select Next in Welcome to the Extended Volume Wizard page.
Practice-Labs-Image
On Select Disks page, under Available list box, select Disk 2 and Disk 3and click Add. Choose Next.
Practice-Labs-Image
Click Finish to close Completing the Extend Volume Wizard screen.
Practice-Labs-Image
To prepare this extended volume to store data files, right-click on Disk1’s 10.00 GB RAW and choose Change Drive Letter or Path…
Practice-Labs-Image
From Change Drive Letter and Paths dialogue, click Add…
Practice-Labs-Image
Click OK in Accept the default drive letter indicated in Add Drive Letter or Path dialogue box.
Practice-Labs-Image
Finally, there is a prompt to format G to prepare it for data storage. Select Format disk.
Practice-Labs-Image
On Format Local Disk (G:) dialogue, click Start and choose OK to proceed with formatting.
Note: You will notice some time lag with formatting this extended volume as synchronisation of disk mirror is on-going.
Practice-Labs-Image
Click OK again when formatting is complete.
Practice-Labs-Image

Configuring Offline Data Access

Configuring Offline Data Access

In this exercise, you will enable offline data access on Windows Server 2008 R2.

Step 1

Connect to PLABDM01 and click PowerShell icon on taskbar and type
Import-Module Servermanager
Add-WindowsFeature –Name Desktop-Experience
Shutdown /r /t 0
Practice-Labs-Image
Give PLABDM01 about 1 minute to restart before reconnecting to it.
Log back on to PLABDM01, click Start and in Search programs andfiles box, type sync center and press Enter.
Practice-Labs-Image
From Sync Center, go to left navigation bar and click on Manageoffline files.
Practice-Labs-Image
From Offline Files dialogue box, click Enable offline files and then select OK.
Practice-Labs-Image
When asked to restart computer, click Yes. Reconnect to PLABDM01after 1 minute.
Practice-Labs-Image

Create Shared Folder

Step 1

On PLABDM02, open Windows Explorer. Click on drive C and create a folder called Marketing, then create a file inside this folder calledMarketing Plans.
Open Marketing Plans.
Practice-Labs-Image
From Marketing Plans window and type a one-liner text:
Version 1 for offline testing.
Save and close Marketing Plans.
Practice-Labs-Image
Right-click on Marketing and choose Properties.
Practice-Labs-Image
On Marketing Properties page, click Advanced Sharing…
From Advanced Sharing, select Share this folder and clickPermissions.
Practice-Labs-Image
On Permissions for Marketing, select Allow – Full Control. Click OKtwice.
Practice-Labs-Image
On Marketing Properties, go to Security tab and click Edit…
Practice-Labs-Image
On Permissions for Marketing, select Users (PLABDM02\Users) and click Allow – Modify. Click OK and then Close.
Practice-Labs-Image

Managing Offline Files

Step 1

On PLABDM01, map a network drive to
\\PLABDM02\marketing
Click Finish.
Practice-Labs-Image
From Windows Explorer, go to mapped network connection. Right-click on Marketing Plans and choose Always available offline.
The system will setup this folder for offline access.
Practice-Labs-Image

Step 2

Go back to Practice Labs web application. From the left navigation bar, select PLABDM02 and choose Suspend this device button. Wait for 1 minute to fully suspend PLABDM02 device.
Practice-Labs-Image

Step 3

Connect to PLABDM01 and open Sync Center.
Right-click on Offline Files icon and choose Open.
Practice-Labs-Image
Right-click on marketing (\\PLABDM02) and choose Browse contentsof marketing (\\PLABDM02).
Practice-Labs-Image
From Windows Explorer, right-click on Marketing Plans and chooseOpen.
Practice-Labs-Image
You have access to Marketing Plans file while PLABDM02 is offline from the network.
Practice-Labs-Image
Shut down all the virtual machines to revert them to their default settings.

Friday, April 12, 2013

Thursday, August 2, 2012

11 things need to an it pro

Eleven Skills Every IT Pro Needs to Succeed Randy Muller, MCT, MCTS, MCSE, CEH, Global Knowledge Instructor July 2012 One of the interesting aspects of the IT industry is the continuous need to update current skills and learn entirely new ones. There are far too many skills for an IT Pro to even attempt to master, however . there are some skills that IT Pros who are serious about managing their career should know. The following list includes some of the key IT skills, and whilethere are 11 skills mentioned in this article, this list should not be considered as all- inclusive. Your own IT environment will determine the applicability, depending upon the size of the IT infrastructure and environment. 1. Virtualization and VDI There are numerous virtualization technologies available, including Microsoft Hyper-V, VMware vSphere, Citrix XenServer, and Oracle VM VirtualBox that can be used to reduce the physical number of servers required by a company. Virtualization has been adopted by companies of all sizes as a means to reduce costs through the consolidation of physical servers and lower overall cooling and electrical usage. Application Virtualization has become very popular with businesses. Having the skill set to deploy applications that connect securely through a browser is critical for companies with numerous offices and remote users. Virtual Desktop Infrastructure is another facet of the virtualized environment. Using VDI, a virtualized desktop is stored on a remote server and when clients work on their "local" system, the applications, data, processes, and programs are kept and run on a central server. This enables a local system with older hardware to run more advanced operating systems and applications than would normally be the case with their current systems. This also means that you might be able to use non-traditional platforms, such as a tablet, to run these applications, in addition to their traditional systems. Virtualization can aid in near real-time response to network conditions by providing for more disaster recovery capabilities. Another use for virtualization is for improved instruction for IT education and elsewhere, since there is no longer a need to have large numbers of computers for classrooms. 2. Cloud "To the Cloud" - that seems to be the current mantra in the business world. The cloud can compose one of several business models including: SaaS (Software as a Service), where a single application is available through a browser IaaS (Infrastructure as a Service), the most basic model, where you may "rent" servers or VMs PaaS (Platform as a Service), where an entire computing environment is available The cloud represents the next phase of computing (with VDI as part of this environment). Microsoft has invested heavily in the cloud (Azure and the new System Center 2012) as well as Amazon, HP, and IBM. Knowing how to leverage and configure clients for cloud computing will be an invaluable skill for IT professionals. 3. Interoperability (Networking) Interoperability is the key here. There are a few medium and larger IT departments with only a single platform type or a single manufacturer of networking equipment; these are the exceptions, and they are rare. In a typical IT environment, we tend to work in a highly connected world of disparate platforms, communications modalities (BYOD - bring your own device comes to mind), and operating systems. As an IT Pro, you should understand how these devices and platforms communicate and what communication protocols are used in this process. This also includes connecting and securing wireless networks, as well as the use of open source programs and operating systems. 4. Database Administration and Business Intelligence Access to information is critical in today's global environment. Corporations are even more dependent on a quick and reliable means to process and retrieve information. This means they must operate their own servers or have access to databases and business intelligence software to access this information in order to grow and become more successful. Regulatory compliance has had a huge impact on database management and data retention. Corporations are required to retain financial information, emails, and other communications for a number of years. Storage space and solutions have become much cheaper, so there is more emphasis on data retention. Having the ability to create and extract information from one of these databases is critical. Many of Microsoft's platforms require access to a SQL server, such as Lync Server and SharePoint. This means that IT Pros should be able to administer and maintain these servers, but do not need to become database administrators themselves (though it certainly wouldn't hurt). 5. Wireless In our highly connected world, we expect to be able to connect wirelessly from almost any device, from practically anywhere at any time, with seamless transition. Wireless experts who can install, configure, and maintain secure wireless networks are in high demand, with the emphasis on "secure." Implementing a secure wireless environment also means being able to plan and troubleshoot for growth and interferences (as well as possible compromise). Anyone managing wireless environments must be able to handle the calls that come in from remote users who are having problems with their wireless equipment running on different operating systems 6. Disaster Recovery Disaster planning and recovery is as much a methodology as it is a skill set. IT Pros must be able plan, test, and implement a disaster recovery (DR) plan. The planning part seems be done more frequently than the testing of the actual plans. Having a DR plan is critical for the survivability of a data center or network, but testing a disaster recovery plan is one of the most difficult tasks to schedule. There is rarely enough time (or budgetary resources) available to perform the critical tasks that need to get done in a network without adding a yearly or semi-yearly test of the DR plan. An integral part of the disaster recovery process is implementing fault-tolerant systems and providing for redundancy in your network. 7. Security Network and computer security concerns and requirements have dramatically increased. Security professionals are in high demand and this will only multiply in the coming years. As an IT Pro, you must have a good understanding of both physical and electronic security.Some of the most difficult tasks with IT security involve educating users and implementing effective security measures. There is a lot of information that can be gleaned through social media sites and social engineering that most companies would rather not have divulged. Training users (and IT staff) to be aware of these vulnerabilities is extremely difficult. IT Pros must always be aware of security issues and understand the vulnerabilities within their networks (from operating systems, servers down to the cable closet). This does not mean that every IT Pro must be able to perform a penetration test against his or her own network, but they must understand and prevent attacks against their network and prevent disclosure of confidential information. 8. Imaging Pick your imaging software/platform of choice as imaging will continue to be a valuable skill for some time (despite the rise of virtualization). Systems imaging is a critical skill as companies are shifting to standardized desktops and deployments. Part of this is done to deploy a consistent and secure platform as well as to provide ease of management. There are many imaging programs available, as well as Microsoft's Windows Deployment Services and imaging utilities. 9. Helpdesk or People Skills Knowing how to interact with non-technical people is a critical skill. This interaction must be based on the ability to effectively communicate, in words and language that the client can understand. A companies' help desk tends to be the "face" that most users will have with the IT department, and this should be a positive experience. IT Pros are very good at their jobs, but sometimes (and I know that this will come as a shock to everyone) they are not skilled in relating to their non-tech colleagues. Users just want their computers fixed or their data recovered and are not concerned with the processes behind our actions. IT Pros should have some experience working at the Help Desk. 10. The Noble Art and Science of Troubleshooting There are some IT skills that simply do not lend themselves to a short description, and troubleshooting is definitely one that falls into this category. Is troubleshooting a skill, an art, or is it both? If you ask any seasoned IT professionals, they will tell you that having troubleshooting knowledge is important, but not as important as knowing how to troubleshoot. This is one IT skill that cannot be easily taught (some might even say that you are born with the skill).The problem with troubleshooting is that it is a unique skill set that corporations are continuously seeking but simply do not have the time or money to invest in training. If you are talented at troubleshooting a specific program or system, then you become the "go-to" person - a valuable skill and commodity for your company. One would think that there would be more emphasis on teaching and sharing even the basics of troubleshooting, but sadly, this is not always the case. 11. PowerShell (and other scripting) Knowing how to use PowerShell (or other scripting technologies) to automate many common administrative tasks not only saves time that can be used on other (perhaps more critical) administrative tasks, but may increase your value to your employer as well. Knowing PowerShell or scripting is an important skill in today's IT environments. This does not mean that you must become a programmer in order to become a successful network engineer, but you must master the ability to create and run scripts to automate some administrative tasks. Most of Microsoft's newer technologies, including Exchange, SharePoint, SQL,and Lync have some administrative functions that can ONLY be implemented with PowerShell. The range of IT skills can be a tricky thing to quantify and qualify. What is useful in one environment may not be so in another. This article lists some of the most common skills that an IT Pro should know. If you don't know some of these areas, now is the time to learn them. One thing to keep in mind is that you are your own best career manager! You are the only one who can determine which career path to take.