Convert not-prestaged WDS joined computers into managed?
Is there a way to convert unmanaged domain computers into managed ones? Apparently all that would be needed is the GUID attribute and a few other attributes added to the existing directory object for the computer.
From doing some web searching, I see that the client's GUID is directly obtainable from command line using a remote execution tool like Microsoft's Sysinternals PSExec.
I am really not interested in having to wipe out all these newly imaged, joined, and manually named computers just so that I can set "admin approval mode" in WDS to prestage them before re-wiping, re-imaging, then re-naming them all, AGAIN.
If no such conversion tool to go from unmanaged to managed is not available, perhaps it would be possible to write an LDAP tool that can do it?
Remotely get the GUID of an unmanaged but joined client from the command line:
* psexec \\%CLIENT% wmic csproduct get UUID
My comparing of directory attributes between a managed computer and an unmanaged computer, shows that the only really significant difference is that the managed computer has two additional AD object properties:
* netbootGUID -- {4C4C4544-0035-4A10-8059-B8C04F564831}
* netbootMirrorDataFile -- JoinDomain=1;
And so, here is my quick solution for network administrators.
So, you set WDS PXE to accept requests from any client, you imaged the machine, and manually named it from the desktop, and now you want to convert them all to managed devices that will auto-name when re-imaged?
Easy.
===============================
Create the following batch file: managepc.bat
for /f %%I IN (
'psexec \\^%1 wmic csproduct get UUID ^| ^
findstr /r ........-....-....-....-............ '
) do wdsutil /set-device /device:%1 /id:%%~I
=================================
USAGE:
1 On your WDS server,
2 Install Microsoft SysInternals PSTools
3 Put managepc.bat in the pstools folder
4 open command prompt, CD to pstools folder
5 Type: managepc "computername"
=================================
Usage example:
C:\Users\administrator.CORNELL\Desktop\PsTools>managepc el-lab-03
C:\Users\administrator.CORNELL\Desktop\PsTools>for /F %I IN ('psexec
\\el-lab-03 wmic csproduct get UUID | findstr /r ........-....-....-....-............ ') do wdsutil /set-device /device:el-lab-03 /id:%~I
PsExec v1.98 - Execute processes remotely
Copyright (C) 2001-2010 Mark Russinovich
Sysinternals - www.sysinternals.com
Starting wmic on el-lab-03...e on el-lab-03...
wmic exited on el-lab-03 with error code 0.
C:\Users\administrator.CORNELL\Desktop\PsTools>wdsutil /set-device /device:el-lab-03 /id:4C4C4544-004E-4A10-804D-C2C04F344A31
Windows Deployment Services Management Utility [Version 6.1.7600.16385]
Copyright (C) Microsoft Corporation. All rights reserved.
The command completed successfully.
===================
If the remote computer cannot be found, WDSUTIL will not be run.
====================
To convert a lab of ten machines all named "el-lab-XX" to managed mode, turn the lab computers on, and after their logon prompt appears, at the WDS server pstools command prompt, type:
managepc el-lab-01{Enter}
{Up arrow}{Backspace}2{Enter}
{Up arrow}{Backspace}3{Enter}
{Up arrow}{Backspace}4{Enter}
{Up arrow}{Backspace}5{Enter}
{Up arrow}{Backspace}6{Enter}
{Up arrow}{Backspace}7{Enter}
{Up arrow}{Backspace}8{Enter}
{Up arrow}{Backspace}9{Enter}
{Up arrow}{Backspace}{Backspace}10{Enter}
This whole process should take about 2 seconds per remote system.
=====================
Another computer management oversight fixed. :)
- Dale Mahalko
Similar Messages
-
How can I convert my Open Source document files into Word document files? I cannot download Pages since my Macbook Air does not have the most recent software. I downloaded open office to my mac to try and save money. It worked well for a while. Now I get this pop-up message that asks me to "Reopen" and when I select the option, nothing happens. I cannot save my documents anymore and I cannot convert them to word. Help!
dwb wrote:
Does OpenOffice output Word documents by default or do you have to select it manually?
You have 17 options to save as in Open Office, one of which is .doc files, yes it needs to be saved manually.
You may be able to default to DOC, but have not tried same.
Since Open Office is 99% same as Word, I use it, or Word, either one. Open Office is a bit less buggy than Word 11' -
How do I convert a JPG into PDF, Adobe converter not available in India yet ?!!!!!
Hi supersude,
You can use Acrobat XI Pro software for converting jpg into pdf, Here's the download Link (Free 30 Days trial ) : https://helpx.adobe.com/acrobat/kb/acrobat-downloads.html
You can buy the full version here : Adobe Store - Adobe Acrobat Professional XI
Regards,
Rahul -
I am continuously being sent to join itunes store not being allowed to get into app store
I am continuously being sent to join itunes store; not being allowed to get into app store
No I didn't have an iTunes account, but followed the subscription registration for iTunes as directed. Do I have to wait 10 days?
-
how do I convert a Pages file (a form) into another programme like Word or InDesign? I do not have Pages
In OS X Pages '09 v4.3, do not be tempted to File > Save... copy as Word document. Instead, you want to export (or Share as Mail), both the PDF and the Word Documents.
If you choose Share > Send as Mail > PDF (and/or Word), make sure that in Apple Mail, that your composition window has Send Windows-Friendly Attachments selected. You can enable this from the paper-clip icon on the Mail composition window toolbar. -
I have WDS setup and working fine as long as the person logging into the computer to be imaged is a "Domain Admin", but if not the automatic joining of the domain fails. The user can then join the computer manually, so they do have rights. There
is something that is forcing the user to be a full Domain Admin.
I have tried putting a different security group in the registry setting but it did not make a difference:
HKLM\System\CurrentControlSet\Services\WDSServer\Providers\WDSPXE\Providers\BINLSVC\AutoApprove\<arch>\User
The computer is pre-staged and works fine for a domain admin. It all seems fine for other users, but does not join the domain.
Does anybody know how to change this?
RyanHi Mr Yuan Wang,
I am having the same issue auto join domain. I am using answer file which was created through using WSIM in Win 2008 r2.
Every thing went correct except up to the point joining the domain with domain user account(salim) i got the (The username or password is incorrect) error, here is the answer file:
<?xml version="1.0" encoding="UTF-8"?>
-<unattend xmlns="urn:schemas-microsoft-com:unattend">
-<settings pass="specialize">
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">
<ComputerName>PC</ComputerName>
<ProductKey>2Y4WT-DHTBF-Q6MMK-KYK6X-VKM6G</ProductKey>
<TimeZone>arab standard time</TimeZone>
<RegisteredOwner>Salin</RegisteredOwner>
<RegisteredOrganization/>
</component>
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-UnattendedJoin">
-<Identification>
-<Credentials>
<Domain>bintawfik,local</Domain>
<Password>P@ssw8rd</Password>
<Username>amjad</Username>
</Credentials>
<JoinDomain>bintawfik.local</JoinDomain>
</Identification>
</component>
</settings>
-<settings pass="oobeSystem">
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-International-Core">
<InputLocale>en-us</InputLocale>
<SystemLocale>en-us</SystemLocale>
<UILanguage>en-us</UILanguage>
<UILanguageFallback>en-us</UILanguageFallback>
<UserLocale>en-us</UserLocale>
</component>
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">
-<AutoLogon>
-<Password>
<Value>UABAAHMAcwB3ADgAcgBkAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Domain>bintawfik.local</Domain>
<Enabled>true</Enabled>
<LogonCount>99</LogonCount>
<Username>Salim</Username>
</AutoLogon>
-<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
-<UserAccounts>
-<AdministratorPassword>
<Value>UABAAHMAcwB3ADgAcgBkAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
-<LocalAccounts>
-<LocalAccount wcm:action="add">
-<Password>
<Value>UABAAHMAcwB3ADgAcgBkAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Description>Built-in Account</Description>
<DisplayName>Admin/Power User Account</DisplayName>
<Group>Administrators</Group>
<Name>Test</Name>
</LocalAccount>
</LocalAccounts>
-<DomainAccounts>
-<DomainAccountList wcm:action="add">
<Domain>bintawfik.local</Domain>
-<DomainAccount wcm:action="add">
<Group>Domain Users</Group>
<Name>Salim</Name>
</DomainAccount>
</DomainAccountList>
</DomainAccounts>
</UserAccounts>
<TimeZone>arab standard time</TimeZone>
<RegisteredOwner>Salim</RegisteredOwner>
</component>
</settings>
<cpi:offlineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim://dc1/reminst/win7custom.wim#Win7_64_Ulti"/>
</unattend> -
Not able to sign-in into my xbox account in all xbox games on my windows 8.1 64-bit PC
I have recently upgraded about a day ago from windows 8 64-bit to windows 8.1 64-bit but I am experiencing many problems but those problems are the same as when I first installed the windows 8 64-bit version and so I know how to solve those problems such
as graphics card driver issues etc. but now I am facing a bigger problem... I am not able to sign in into any of the xbox games I have downloaded .... its strange that the games which I downloaded and signed in when I was using windows 8 have signed in
automatically the first time I open the game after downloading and installing a fresh copy in my new windows 8.1 OS and that too without asking a prompt about the permissions to xbox live account but the games which I have downloaded for the first time such
as Project Spark which only works on windows 8.1 asks for the prompt to allow access to xbox account but as I hit the yes button the games throws an error that it cannot sign in into the xbox account and asks me to sign in into the xbox.com and then restart
the app to sign in but I have did this a lot of time but it didn't work also I reinstalled the game it also didn't work and I also checked for the integrity cmd->sfc/scannow ... that method also didn't work its not only with project spark its also the same
thing with asphalt 7,big buck hunter, crash course, reckless racing etc. which I have never downloaded or played when I was using windows 8..... so basically all the games which asks for a prompt to allow access to xbox live is not signing in and throwing
the same error to sign in into xbox.com and try again.... I am not willing to switch back to Windows 8 because I really wanna play project spark game and I know its not problem with that game and it is only with windows 8.1.. but I am able to sign in with
my account in xbox games app... Please help me :( :( :(hi,
Can you navigate to the C:\Drivers\ folder and run the setup.exe under the Synaptics\17.0.6.8 subfolder to install the driver manually.
- Link to picture
If you still get the "no appropriate driver to be installed" error, you most likely have an ELAN Touchpad and not a Synaptics. To verify, navigate to the Device Manager and post the hardware ID here (see this guide).
Let me know how it goes.
Regards
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Follow @LenovoForums on Twitter! -
Function to convert PO quantity and cancelled quantity into Primary UOM
Hello,
I am looking for a function to convert PO quantity and cancelled quantity into its Primary UOM from the unit of measure the line order was placed.
Thank youhi
In case if you are already working in production remember that decimal places should not change. It will affect all previous data.
For your problem best solution is make order unit as 1000. So that your problem will solve
e.g. instead of 2.009 inr for 1 Unit use 2009 inr for 1000 unit. -
HT1449 how do you move all music from two computers into one itunes account?
How do you move all music from two computers into one itunes account?
An "iTunes account" is an online account you use for buying music, like a bank account. An iTunes collection is the media you see when you open iTunes. Which do you mean?
If it is two computers, it would also help to know where these are located. Are they on the same local network? If they are, try Home Sharing (and you have control of both and you aren't just trying to get music fro your computer to your friend's computer in another state). If they are not, you'll have to use an external hard drive or flash drive.
Is this on a PC? Your computer information says Windows but you posted this in the iTunes for Mac forum. -
Can I convert an apple store gift card into a itunes gift card
Can I convert an apple store gift card into a itunes gift card. I bought the wrong one.
Hey Carterc25, I have been dealing with the same issue this morning... I've talked to the senior adviser of Applecare and "Bruce" told me the only way to convert apple gift card to itunes is by physically going to an Apple Retail Store and buy an Itunes gift card. Many people don't understand the difference between "apple" and "itunes" in gift cards so it is only obvious more people will fall victim to scheme. My advice is DO NOT BUY APPLE GIFT CARD.
Another reason to ditch Apple and be a Microsoft customer. #Microsoftisbetterthanapple -
How can I convert an array with varying length into a cluster
Hi,
I need to convert an array of n elements into a cluster. Usually, it only involves the "Array to Cluster" function. But since the array length is not constant and the number of elements in the function is constant and can not be changed programaticaly, I need to find another way to do that.
Any ideas?
Thanks.Hi,
I also tried to do this but without success. I think that's not possible.
For me it's a general problem using labview. I often wanted to generate standard controls dynamically which is not possible (or I haven't found the solution yet). So I think that's the reason why you can't create a cluster during runtime (the program would have to add controls dynamically to the cluster).
Do you have an upper limit for your array-size? Although it needs a lot more memory, it would be a possibility to create the cluster with the maximum number of elements.
If you don't have a maximum, you will have to look for another way, I'm afraid.
Thomas
Using LV8.0
Don't be afraid to rate a good answer... -
My itouch is not recognized by my computer, device manager or itunes!
My itouch is not recognized by my computer, device manager or itunes. However, it will charge on a wall charger. I'm not able to upload any of my music to my itouch now because its not recognized. Ive tried connecting to 3 other computers and used 2 other cords, but the itouch still isn't recognized by any of them. I've uninstalled and reinstalled all of my apple programs and it's still not working. Any ideas?
Here are some ideas: iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows, http://support.apple.com/kb/TS1538
-
My computer (Win 7) recognises my ipod but when Itunes is automatically started the ipod is removed from "my Computer" and is not recognised in itunes, my device manager states he device is being "uninstalled by window" error 21, what is happpening.
Are you plugging the iPod into a high powered USB 2.0 port on the back of your PC? Have you tried a different USB cable?
What happens if you try to reset the device with it still connected to the PC?
How to reset iPod
Has this iPod ever worked on this PC or is this the first time you have time you have tried connecting it?
Have you carefully worked through each and every single suggestion in this Apple support document?
iPod not recognized in 'My Computer' and in iTunes for Windows
B-rock -
Not able to login to User management link in portal
Hi,
I am not able to login to "User Management" link from index.html page. When I enter user name and password, only page is getting refreshed and it is not logging in.
Error from default trace:
#1.5 #00188B34FD33006C0000002800007AC8000461B1DE2BD2F2#1233316471589#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_ADMIN#2018##mysapbw_BW7_23635150#J2EE_ADMIN#c13b1ba1eec411dd9cbb00188b34fd33#SAPEngine_Application_Thread[impl:3]_2##0#0#Error#1#/System/Server/WebRequests#Plain###application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error.
The error is: java.lang.NoSuchMethodError: com.sap.security.core.wd.umeuifactory.wdp.IExternalUmeUiFactoryCompInterface.hasSimplePermission(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z
Exception id: [00188B34FD33006C0000002600007AC8000461B1DE2BCF03]#
#1.5 #00188B34FD33005F000004A300007AC8000461B1E07DB217#1233316510512#com.sap.engine.services.security.authentication.logonapplication#sap.com/com.sap.security.core.admin#com.sap.engine.services.security.authentication.logonapplication.doLogon#J2EE_GUEST#0##n/a##d88d4300eec411dd9ac900188b34fd33#SAPEngine_Application_Thread[impl:3]_6##0#0#Error##Java###doLogon failed
[EXCEPTION]
#1#com.sap.security.core.logon.imp.UMELoginException
at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:949)
at com.sap.security.core.logonadmin.ServletAccessToLogic.logon(ServletAccessToLogic.java:208)
at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.doLogon(SAPMLogonLogic.java:914)
at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.uidPasswordLogon(SAPMLogonLogic.java:578)
at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.executeRequest(SAPMLogonLogic.java:158)
at com.sap.security.core.sapmimp.logon.SAPMLogonServlet.doPost(SAPMLogonServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Please help me in resolving this issue.
Regards,
Nallasivam.DHi,
After looking into the error first i dont think you are enter the right password.
In case if you are entering the right password then you might not have the necessary admin rights on portal.
Regards,
Ramanath -
Third party Certificate not showing up in SQL configuration manager drop down box
Hi,
I have an SQL instance that needs to use a third party SSL certificate for all communications to that SQL instance. I have installed my third party certificate via MMC and it is showing under the Personal Folder.
However, when i go into the SQL configuration manager and right click the instance name > Properties > Certificates, it is not showing in the drop down box.
I am currently using MS SQL Server 2008 R2, which is installed on Windows Server 2012.Hi,
If the certificate cannot be used for SQL Server and hence will not be visible in SQL Configuration manager. Check the validity of the installed certificate. It may not has the correct DNS name.
I suggest you request a new third party certificate from the vendor with the correct DNS name. Install it on SQL Server environment, then you should see certificate form the configuration manager dropdown box.
Thanks.
Tracy Cai
TechNet Community Support
Maybe you are looking for
-
Hi all, An excellent 2015 to you all. I wonder whether it's possible to get my (USB) SMK Ehome Infrared transceiver (which serves to connect my PC to a remote control) to work again. It functioned okay under Windows 8, but when I upgraded my system
-
when i want to view a page in full screen, it last about 3 seconds then goes back to original size. this is when i am playing a zynga based game. this never happened before i updated to new browser. it still works good on safari, but i like firefox.
-
HT3529 Text messages appear as phone numbers
Text messages appear as phone numbers rather than as names
-
Hi - I'm new to the forum - and to Photoshop! I'm currently using (ie - trying to learn) Cs5 on Windows 7. I've searched the forum but can't find an answer to my problem. I can open Cr2 files ok but when I go to save them (as a Raw) file I get the me
-
Color libraries won't match in AI and PS CS3
Hey guys, perhaps a newb question here... I have been trying to get my PMS libraries to sync up between illustrator and photoshop. I have selected pantone solid coated 375 in the photoshop color library and the illustrator swatch library and lined t