Printers Migration drivers and ports

Printers Migration drivers and ports

For the Printer Migration

Server 2012 Print Management tool supports an export feature, this will export the printers, print queues, printer drivers to a print migration file. just go to print management > right click your print server > choose export. then take the file to you new print server and do an import.

you can access the print migration directly as well see the link below:

https://technet.microsoft.com/en-us/library/cc773832(v=ws.10).aspx

another option is to use the windows server migration tools:

https://technet.microsoft.com/en-us/library/dd379545(v=ws.10).aspx

here is a print migration guide:

https://technet.microsoft.com/en-us/library/dd379488(v=ws.10).aspx

as for redirecting the users existing printers, are the computers domain joined?

if so then I would use Group Policy Preferences to map new printers to their computers, set the default printer and remove the old ones.

Change the language on a custom menu link

THE FILES WE HAVE TO EDIT:

1. header.tpl on /catalog/view/theme/yourthemefolder/template/common
2. header.php on /catalog/language/english and /catalog/language/yourlanguage (you going to edit 2 files for 2 languages)
3. header.php on /catalog/controller/common

THE CODE WE HAVE TO WRITE:

on the 1. you just create the following:

CODE: SELECT ALL

     <li><a href="http://byzantiumicons.com/saints-index"><?php echo $new_linktext; ?></a></li>

on the 2. the languages files we doing the following:

CODE: SELECT ALL

$_['new_linktext'] = 'Your English Text';

For a different language we just go to the language folder and we add the same as the above just with the none-nglish lanauge text.

3. Finally here we create the following:

$this->data[‘new_linktext’] = $this->language->get(‘new_linktext’);

just write it below: $this->data[‘text_home’] = $this->language->get(‘text_home’);

Thats it.

Retrieving Every Nth Value in a Range

Retrieving Every Nth Value in a Range

Retrieving Every Nth Value in a Range

استعادة او عرض القيم من مجال او الخلايا في اكسل

بعدد معين او ثابت لكل الخلايا

 

n this article, we will learn how to retrieve every nth value in a range. We will use Index function with Row function.

Why and how we use Index and row function?

We use Index function to return value from the intersection between the row number and the column number in an Array. This function will pick the number and give use as output.

Row function is used to return the row number of a cell reference. So in this situation row function will help to pick every nth value from range.

Let’s take an example and understand how we use Index and row function?

Let’s take an example to understand how we can retrieve the Nth value in a row, column and range.

We have Agent data in Excel. Column A contains agent name and column B contains revenue. From column B, we want to retrieve every nth value.
image 1

 

 

 

 

 

 

 

 

 

 

 

 

[ads1]

Follow below steps to retrieve the Nth value from the list:-

  • Enter the formula in cell C2.
  • =INDEX($B$2:$B$23,(ROW()-2)*9+9)
  • Press Enter.
  • Copy the same formula in next cells according to data.
  • Below you can see formula has returned every nth value in column C.

image 2

 

Note: – If you want to return every 3rd value, then you just need to change in formula 3 at the place of 9, and formula will pick every 3rd value from the range.

This is the way we can use Excel formulas Index and row to get the Nth, 3rd, 4thetc. value from the range.

Net user command – Manage user accounts from command line

source: http://www.windows-commandline.com/cmd-net-user-command/

Net user command : Manage user accounts from command line

Using Net user command, administrators can manage user accounts from windows command prompt. Below are some examples on how to use this command.

Add a domain user account:

Net user /add newuseLoginid  newuserPassword /domain

Add new user on local computer:

Net user /add newuserLoginid  newuserPassword

Advanced options to add new user account can be read in the below article.
Add new user from windows command line.

Disable/Lock a domain user account:

Net user loginid  /ACTIVE:NO /domain

To enable/unlock a domain user account:

Net user loginid /ACTIVE:YES  /domain

Prevent users from changing their account password:

Net user loginid /Passwordchg:No

To allow users to change their password:

Net user loginid /Passwordchg:Yes

To retrieve the settings of a user:

Net user username

Example:

C:>net user techblogger
User name                    techblogger
Full Name
Comment
User's comment
Country code                 000 (System Default)
Account active               Yes
Account expires              Never

Password last set            4/21/2011 10:10 PM
Password expires             8/19/2011 10:10 PM
Password changeable          4/21/2011 10:10 PM
Password required            Yes
User may change password     Yes

Workstations allowed         All
Logon script
User profile
Home directory
Last logon                   Never

Logon hours allowed          All

Local Group Memberships      *Users
Global Group memberships     *None
The command completed successfully.
Using SCCM 2012 R2 to Deploy Windows 7

Using SCCM 2012 R2 to Deploy Windows 7

Using SCCM 2012 R2 to Deploy Windows 7

 

copied from the source Here

 

Deploying Windows 7 Using SCCM 2012 R2 n this post we will see the steps for deploying windows 7 using SCCM 2012 R2. In my previous post we saw the steps to capture a reference operating system (Windows 7) using SCCM 2012 R2. Note that this post is different from the one which shows the steps to build and capture the operating systems using SCCM 2012, we will not be using build and capture approach here rather we will capture a reference operating system, i.e. capture windows 7 using SCCM 2012 R2 and we will deploy the same using SCCM 2012 R2 in the this post. We will be creating a device collection first and then we will import the computer information to this device collection. One the computer is added to the collection we will create task sequence, configure it and deploy it the device collection.

Deploying Windows 7 Using SCCM 2012 R2

So in my previous post we had successfully captured the windows 7 operating system and now we will be deploying the captured image using SCCM 2012 R2. To do that lets create a blank virtual machine without any operating system installed on it. Note down the MAC address of the virtual machine (the same applies to a physical box too).

Deploying Windows 7 Using SCCM 2012 R2

Lets create a new device collection. This is to add the computer to this collection for which the operating system is going to be deployed. Right click on Device Collections, click Create Device Collection.

Deploying Windows 7 Using SCCM 2012 R2

Provide the name for this collection , set the Limiting collection to All Systems. Click Next.

Deploying Windows 7 Using SCCM 2012 R2

We will not define any rules for this collection. Click on Next. Since we will be creating a collection without defining any rule, the wizard prompts that the collection will not contain any members until we define a membership rule. On the pop up box click on OK.

[ads1]

Deploying Windows 7 Using SCCM 2012 R2

The device collection has been created. Now we will import the computer information to add the new computer object to this collection. Click on Devices, click on Import Computer Information.

Deploying Windows 7 Using SCCM 2012 R2

Choose Import single computer and click Next.

[ads2]

 

 

 

Take an image for window 7 by sccm

Take an image for window 7 by sccm

Take an image for window 7 by sccm

Capture Windows 7 Using SCCM 2012 R2

copied from the source Here

 

In this post we will see the steps to capture windows 7 using SCCM 2012 R2. This post is different from the one which shows the steps to build and capture the operating systems using SCCM 2012 R2. We will not be using build and capture approach here rather we will capture a reference operating system, i.e. capture windows 7 using SCCM 2012 R2 and we will also see how to deploy the same using SCCM 2012 R2 in the next post. Please note that the computer operating system that we are going to capture should not be part of domain, else the sysprep fails during this process. So you capture a computer that has windows 7 installed (along with softwares like office, adobe reader etc) which is not joined to the domain. At any point of time you can check the step by step guide for SCCM 2012 R2 which contains all the posts related to SCCM 2012 R2.

 

Capture Windows 7 Using SCCM 2012 R2

We will first create a task sequence media and create a capture media which is in saved .iso format. This .iso file contains the necessary files and instructions to capture a reference operating system. The same .iso file captures the operating system and stores the captured OS in .wim format. Once we get the .wim file we will import the file to SCCM 2012 R2 and we can use this .wim to deploy this OS to another computer either by using SCCM or WDS.

The first step involves creating a capture media which is in .iso file. Launch the ConfigMgr console, click on Software Library, expand Overview, expand Operating Systems, right click Task Sequences and click on Create Task Sequence Media.Capture Windows 7 Using SCCM 2012 R2 Snap1

Type of Media – Select the type of media as Capture Media. Click Next.

Capture Windows 7 Using SCCM 2012 R2 Snap2

Media Type – You can select either USB flash drive or CD/DVD. I have tried using USB flash drive and even that works. In this example we will choose CD/DVD, and we will store the media file in one of the shared location on SCCM server. You can choose to store the capture media on any shared location, it may not be necessarily SCCM server. One important thing here you must save the capture media with .isoextension. Click on Next.

Capture Windows 7 Using SCCM 2012 R2 Snap3

[ads1]

Selecting Boot Image – This is very important step. Select the Boot Image by clicking on Browse. Select Boot Image (x64) and for DP click on Browse and select the desired DP. Click Next.

NOTE – You must first enable the command support on both the boot images(x64 and x86) and then distribute it to the distribution point. To enable the command support right click on each of the boot image, click on properties and under Customization tab check the box Enable Command Support (testing only). Enable command support for both the boot images. By default the boot images are not distributed to DP and if you don’t distribute the boot images you will not be able to select the DP in the below step. To distribute the boot images to DP, right click on each boot image and click Distribute Content.

Capture Windows 7 Using SCCM 2012 R2 Snap4

The capture media has been created by the wizard. Click on Close.

[ads2]

Capture Windows 7 Using SCCM 2012 R2 Snap5

After creating the capture media we will now mount the capture media (.iso file) on the windows 7 machine and run the image capture wizard. In this example I have a virtual machine which has been installed with windows 7 professional SP1 x64 OS and we will be capturing this computer OS image. If its a physical machine you can burn the capture media .iso to a CD and insert it in the CD tray and run the image capture wizard. If its a virtual machine you can mount the .iso file by providing the path where the capture media .iso file exists. On a virtual machine when you mount the .iso file by providing a shared location, it asks for a user account to access the .iso file, provide a domain user account which has enough permissions to access the folder where the .iso file exists.

Once you mount the capture media on a windows 7 machine you will see the autorun box. Click Run TSMBAutorun.exe, you will see the Image Capture Wizard. Click on Next.

Capture Windows 7 Using SCCM 2012 R2 Snap6

[ads1]

Image Destination – Provide a folder path where the captured image should be stored. The name of the captured image should have .wim as extension. Also provide a user account that has enough permissions to store the captured file to the shared folder. Click Next.

Capture Windows 7 Using SCCM 2012 R2 Snap7

Image Information – Provide the image information such as Created by, Version and Description. Click on Next.

Capture Windows 7 Using SCCM 2012 R2 Snap8

Click on Finish to complete the Image Capture Wizard. Note that we have just run the image capture wizard, in the next step sysprep captures the OS.

Capture Windows 7 Using SCCM 2012 R2 Snap9

In the below screenshot we can see that the sysprep command is running. Wait for the computer to restart automatically where the actual capture process begins.

Capture Windows 7 Using SCCM 2012 R2 Snap10

The computer restarts and we see that the wizard now starts capturing volume and the OS. This process took around 25 minutes to complete in my lab setup.

Capture Windows 7 Using SCCM 2012 R2 Snap11

Alright, we now see that the windows 7 OS image  has been captured and saved to the destination folder. Click on OK. The computer now restarts and enters Out of Box experience (OOBE).

Capture Windows 7 Using SCCM 2012 R2 Snap12

Once we have got the .wim file, we can import the .wim as operating system image in SCCM 2012 R2. To import the operating system image, right click Operating System Images, click on Add Operating System Image. Enter the path where the captured .wim file is present. Click on Next.

Capture Windows 7 Using SCCM 2012 R2 Snap13

The name and version is picked up automatically, click on Next.

Capture Windows 7 Using SCCM 2012 R2 Snap14

The operating system image has been imported successfully. Click on Close.

Capture Windows 7 Using SCCM 2012 R2 Snap15

After importing the image the next step is to distribute the image to the DP. Right click on the windows 7 image and click on Distribute Content.

Capture Windows 7 Using SCCM 2012 R2 Snap16

Add the DP and click Next.

Capture Windows 7 Using SCCM 2012 R2 Snap17

The image file has been distributed to the DP. Click on Close. Wait for sometime while the DP updates the content, check the content status and you must see a green circle which means that content is now available with DP.

Capture Windows 7 Using SCCM 2012 R2 Snap18