Hiren's BootCD is a particular installation of Windows XP that contains a lot of utilities to recover damanged computers. You can download it directly from the file Hirens.BootCD.15.1.zip.
To run it from an USB disk, you need the utilities USBFormat and Grub4Dos, after that you can simply follow the simple guide in the page Hiren's BootCD From USB Flash Drive (USB Pen Drive). In the last step, remember to copy the content of the iso file contained in the Hiren's BootCD zip file.
Here it's a trick to update the Active Directory associating a picture to a user profile, and it shows in Lync clients too!
Here is the script content, you should save it in a .vbs file, change your distinguished name and the file path, and execute it. Btw, you can get your Active Directory distinguished name using ADExplorer.
SavePictureToAD "LDAP://myDistinguishedName", "C:\myFace.jpg"
Function SavePictureToAD(szADsPath, szLoadFileName)
Set objUser = GetObject(szADsPath)
objUser.Put "thumbnailPhoto", ReadByteArray(szLoadFileName)
Const adTypeBinary = 1
Set bin = CreateObject("ADODB.Stream")
bin.Type = adTypeBinary
ReadByteArray = bin.Read
I have already written in the past the post Converting Hyper-V Machines on my attemps to use the 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1).
Now, my new job mate Djemel Guizani told me a better way to use this virtual machine in VMware Workstation:
- in VMware Workstation, create a new virtual machine with custom configuration;
- ok VMware Workstation 8;
- ok I will install the operative system later;
- ok both Microsoft Windows and Windows Server 2008 R2 x64;
- name and save it as you prefear;
- choose number of processors and cores, RAM and type of network (ok starting with NAT);
- ok SCSI Controller and LSI Logic SAS;
- ok create a new virtual disk;
- very important: create it as a IDE disk;
- choose size of disk and single/multiple files as you prefear;
- name it and save it.
Now the other configurations:
- close the virtual machine from VMware;
- delete the .vmdk file because not necessary;
- open the .vmx file just created with Notepad,
- and rename the file in the row with the key ide1:1.fileName, to open the 2010-10a.vhd file.
- I suggest you to take a snapshop (otherwise after one month the licence expires);
- start the new virtual machine and log in (the password is pass@word1, the @ is shift+2);
- and update the VMware Tools;
- configure the network settings as described in UPDATE – How to use VirtualBox for Hyper-V
Preconfigured VM Images (Graphical Step-by-Step) – Part 3 of 4.
Gmail is a rather good email service: it's free, it gives you a lot of space, it's fast, its antispam system is very good.
Here the good points finish; all the problems follow, because, very shortly, some arrogant person in Google chose to alter the Internet standard for his moods.
You can choose to use it (if you are not a very precise person), to avoid (if you want to pay a really good email service) or to tolerate it (like it did). If you are in last category, here are a few tricks for your best setup (but I have to remember you that best in this case is not yet sufficient):
- first of all, your email is your Gmail login, and you can't change it. So, to avoid all the problems that would rise with the creation of a new login, please do a favor to yourself and choose immediatly your final email address;
- in Gmail settings, change the language settings to the same of your email client, else you'll have duplicate folders when you connect a client like Outlook;
- in your email client, choose not to save sent mails, as Gmail will do it already for you and is not enough clever to understand that duplicate mails could be created by this behaviour;
- in your email client, choose to delete emails moving them in the Trash folder explicitly;
- incredibly, if you move mails from the Gmail account to your personal mails (for example, in Outlook, a private pst file), mails aren't deleted (i.e.: moved to the Trash folder) but are simply removed the Inbox label. So after you move a mail from Gmail to your private pst file, you need to explicitly delete it from the All Mails folder (and in this case, I use to do it from the web to avoid other synchronization problems that could arise);
- finally, if you use the iPhone/iPad, after the email account creation, disable the Archive setting, so that when you delete an email, you really delete them moving it in the Trash folder and not simply removing the Inbox tag.
In conclusion, Gmail is a rather good mail system, with some important problems. It's up to you choose to use it; I use it, but sopporting its limits and all the problems it creates with its particular behaviours.
By default, Windows 2008 disables multiple RDP connections with the same user.
But you can enable them in this way: start up gpedit.msc, go to Computer Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Connections\, find "Restrict each user to a single session" and disable. You can find more details in the post Enable Multiple Remote Desktop Connections in Window Server 2008.
Of course, if you're on a domain and want to apply it to multiple machines, you obviously need to make it a domain policy.
But if you have installed Terminal Services, please follow the guide in the article Enable Multiple Remote Desktop Sessions on Server 2008.
Are you a consultant in a company, need to read/write the ActiveDirectory of your client, but you are usign your own laptop, witch is outside the domian?
I have found a solution to run the dsa.msc applet running in a computer outside the domain:
runas /netonly /user:DOMAIN\USER "mmc dsa.msc /domain=FQN_DOMAIN"
In the past days I've downloaded a virtual machine from Microsoft called Information Worker Demo (now it's downloadable from the page 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1)).
It's very interesting because it contains:
- Windows 2008 R2 Standard Edition x64, acting as a domain controller
- SQL Server 2008 R2 Enterprise with Analysis, Notification and Reporting services installed
- Visual Studio 2010 Professional
- SharePoint 2010 Enterprise with FAST Search
- Office 2010 with Visio and Project
After having downloaded a unrared it, I've got a problem: to run it, you need Windows 2008 R2 with Hyper-V role activated, or the free Hyper-V Server, because Windows 7 cannot run Hyper-V virtual machines.
After some (not easy!) searches on Google, I've finally found this fantastic tool: StarWind V2V Converter, which allows you to convert even Hyper-V machines without the need to run them!
Another (silly) problem: the password of the Administrator account is pass@word1, the keyboard is set to American, to to enter the "@" character... press Shift+2
SharePoint 2007 allows you to define job definitions and schedule them, but you have to do it programmatically.
As it's impossible to change the job definition schedules from the UI, the preferred approach is:
- Define a feature that writes in the web.config the desired schedule
- Define a feature that schedules the job reading the desired schedule from the web.config
For second point, your friend is the SPSchedule.FromString static method, with returns an instace of a SPSchedule from a string that you can save in your web.config.
But how do you build this string?
You can refer to the definition of the method in the documentation page SPSchedule.FromString Method, that at the end of the page forwards you to the fantastic article SPSchedule.FromString(recurrenceValue) - syntax/format for recurrence value!
Kerberos is used when you have Windows authentication with impersonification and the impersonated user needs to access resources outside the web server.
For example, you can use it when from your SharePoint server you need to access an Exchange web-service to get the user mail and calendar.
To enable Kerberos authentication, you need to complete the following tasks:
- From the Central Administration, change the web-application settings to use Kerberos (negotiate) authentication insted of NTLM authentication
- To add the SPNs for the web-server, from a command line prompt, execute:
- setspn -a HTTP/ServerName Domain\ServerName
- setspn -a HTTP/ServerName.Domain Domain\ServerName
- To add the SPNs for the application pool user, from a command line prompt, execute:
- setspn -a HTTP/ServerName Domain\User
- setspn -a HTTP/ServerName.Domain Domain\User
- Finally, from the Active Directory Users and Computer, check the application pool user as trusted for delegation.
More details in the article How to configure a Windows SharePoint Services virtual server to use Kerberos authentication and how to switch from Kerberos authentication back to NTLM authentication.