HERE is Insider Build ISO
Selections of Build 14965 are available to download ISOs HERE.
Cheers,
Drew
Drew MS Partner / MS Beta Tester / Pres. Computer Issues Pres. Computer Issues www.drewsci.com
Microsoft 365
Reply:
The problem is that Office 365 uses an Organizational Account for login and Windows 8.1 uses A Microsoft Account (Live-ID). In Windows 10 you can join your laptop to the Azure AD that hosts the Organizational Accounts and then use that as a login. But I'm not sure you can do it with Windows 8.1. Here's a discussion of how it works in Windows 10. You could try this for Windows 8.1 also. (One note: This does NOT work for Windows Home edition even in Windows 10).
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.
------------------------------------
Learn PowerShell Now
- Edited by jrv Wednesday, November 16, 2016 12:13 AM
Windows Update/Microsoft Update Search Criteria to Include Office/SQL Server Updates
I am attempting to collect required Windows updates for a host by using the IUpdateSearcher COM API. My search criteria currently is the following:
IsInstalled=0 and Type='Software' and IsHidden=0 This search criteria successfully obtains a list of MS bulletins for the operating system, but I want to also include updates that are for Office/SQL Server or other Microsoft products. What is the appropriate search criteria to obtain a list of those updates as well? I know this can be done in powershell as well as c++, so I wanted to ask here.
- Changed type Bill_Stewart Tuesday, April 19, 2016 8:53 PM
Reply:
What searches have you performed already, and why were the results unsuitable?
What documentation pages have you reviewed, and why was the information unsatisfactory?
-- Bill Stewart [Bill_Stewart]
------------------------------------
Reply:
IsInstalled=0"\_(ツ)_/
------------------------------------
Reply:
Try it like this:
$searcher=$wus.CreateUpdateSearcher()
$wus=New-Object -ComObject Microsoft.Update.Session
$searcher.Search('IsInstalled=0').Updates | select Title
\_(ツ)_/
------------------------------------
Reply:
This was the API call I was using:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa386526(v=vs.85).aspx
The problem lies in the fact that there is Windows Update as well as Microsoft Update. The latter apparently deals with "other" Microsoft software such as Office updates and SQL server, etc. Because these are not updates to the core OS, they are separate. In Windows 8+, you have an option now to select including updates for other Microsoft products such as office, but I am unsure of how to select that option programmatically. How do I deal with Windows 7 targets where you have to manually upgrade Windows Update to include Microsoft update? Assuming that I have the ability to query Microsoft update, what is the new search criteria I would use in the above post?
According to this page: https://msdn.microsoft.com/en-us/library/windows/desktop/aa387280(v=vs.85).aspx I can set the server selection to Windows Update, a WSUS server, or another option. Is there a specific server selection for Microsoft Update instead of Windows Update?
------------------------------------
Reply:
Unfortunately you have access to the same documentation that we do (this is a peer support forum).
It is likely you will need to search some more and experiment on your own.
If this is critical to your business, you will probably need to establish a support incident with Microsoft.
-- Bill Stewart [Bill_Stewart]
------------------------------------
Reply:
This was the API call I was using:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa386526(v=vs.85).aspx
The problem lies in the fact that there is Windows Update as well as Microsoft Update. The latter apparently deals with "other" Microsoft software such as Office updates and SQL server, etc. Because these are not updates to the core OS, they are separate. In Windows 8+, you have an option now to select including updates for other Microsoft products such as office, but I am unsure of how to select that option programmatically. How do I deal with Windows 7 targets where you have to manually upgrade Windows Update to include Microsoft update? Assuming that I have the ability to query Microsoft update, what is the new search criteria I would use in the above post?
According to this page: https://msdn.microsoft.com/en-us/library/windows/desktop/aa387280(v=vs.85).aspx I can set the server selection to Windows Update, a WSUS server, or another option. Is there a specific server selection for Microsoft Update instead of Windows Update?
That I not the API you are using. That is the C++ API description. You are using the one I posted above or the VBS0cript version of the same object.
There is only on update source and the is MicrosoftUpdate. The Windows Update site has been closed for years.
The only variation is if you are on a WSUS site then you get updates from the WSUS server.
SQLServer Service Packs are not distributed through WU. Office Click-to-Run is not distributed by WU. Updates to Visual Studio outside of security patches are not distributed by WU.
\_(ツ)_/
------------------------------------
Reply:
jrv, you say, "SQLServer Service Packs are not distributed through WU. Office Click-to-Run is not distributed by WU. Updates to Visual Studio outside of security patches are not distributed by WU."
But, when you run windows update on Windows 7, you see office and other updates. The question is, how do we emulate the same behavior as windows updates client to list the same updates as in a script???
Appreciate any input
Samir
------------------------------------
Reply:
jrv, you say, "SQLServer Service Packs are not distributed through WU. Office Click-to-Run is not distributed by WU. Updates to Visual Studio outside of security patches are not distributed by WU."
But, when you run windows update on Windows 7, you see office and other updates. The question is, how do we emulate the same behavior as windows updates client to list the same updates as in a script???
Appreciate any input
Samir
Office online (O365) do not show up in Windows update nor do any other packages only distributed at the product level.
\_(ツ)_/
------------------------------------
123456
What is Virtualization Engineering and how you can become it?
Hello.
What is Virtualization Engineering and how you can become it? Can it mean anyone that know all Virtualization platforms and work with them?
Thank you.
Reply:
Kind of a vague question but something here may help.
https://www.microsoft.com/en-us/learning/microsoft-certified-professional.aspx
or also try over here.
https://social.microsoft.com/Forums/en-US/home?forum=CertGeneral
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.
------------------------------------
Reply:
Kind of a vague question but something here may help.
https://www.microsoft.com/en-us/learning/microsoft-certified-professional.aspx
or also try over here.
https://social.microsoft.com/Forums/en-US/home?forum=CertGeneral
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.
I mean is not any Cert but I heard this word and I know to know more about it. Something like Network Engineering.
------------------------------------
920 > 650
Some specifics:
Today went from a 920 to a 650. The 920 was stuck in time w/ some 1511 version back in 2015 and today was a smart moment in terms of cost to do something about it. Anyway, was concerned might find the 650 a real step down in terms of hardware after a 920. Well, oh, my my, what a pleasant surprise! It is light as a feather, yet, solid, feels sturdy. It is not slow. The audio is not weak. The graphics are very nice & it's easy to navigate & use. Ran multiple windows, including videos (which ran happily & smoothly) & it didn't bog & sites loaded quickly. Quite impressed w/ this 650 and @ $100 (even $200) it's really especially impressive... does not feel or look like a low cost unit. Of course, the fine OS is a given and as for the device, would recommend a 650 to anyone w/out hesitation.
Oh yes, forgot to mention...also nice it will Search & use the camera whilst locked.
Cheers,
Drew
Drew MS Partner / MS Beta Tester / Pres. Computer Issues Pres. Computer Issues www.drewsci.com
- Edited by Drew1903 Friday, November 25, 2016 9:49 PM
Reply:
------------------------------------
Power BI Content Pack now available for Project Online!
Take a look today and add this to your Power BI tenant:
Great addition to the service for Project Online.
Paul Mather | Twitter | http://pwmather.wordpress.com | CPS | MVP | Downloads
Reply:
------------------------------------
Reply:
The free one is fine for the published content packs like above. Organisational content packs require the pro Power BI license as far as I know.
Paul
Paul Mather | Twitter | http://pwmather.wordpress.com | CPS | MVP | Downloads
------------------------------------
Snipping Tool should allow to add text
Reply:
Also speech balloons, highlighting and erasing of sensitive text.
Like so
Asrock K8NF6P, AMD64 3200+, 1.5GB RAM, Palit Geforce 8400GS 256MB, 500GB Maxtor SataII, Asus 1814BLT optical
------------------------------------
Reply:
------------------------------------
Reply:
------------------------------------
Reply:
As you can see from the screen image above, the whiteout marker has been used on the physical address & the WEP encryption key without drawing attention away from the main points.
This is about the fourth screenshot in guiding an inexperienced user in doing something which (hopefully) the vast majority of people here would take in our stride.
That is my humble opionion.
Asrock K8NF6P, AMD64 3200+, 1.5GB RAM, Palit Geforce 8400GS 256MB, 500GB Maxtor SataII, Asus 1814BLT optical
------------------------------------
Reply:
As you can see from the screen image above, the whiteout marker has been used on the physical address & the WEP encryption key without drawing attention away from the main points.Well I just kinda threw "black-out" marker in general terms, but I do agree with you that often just erasing sensitive info is better to present the actual point. Though nit picking, this only works for areas with white or very light background so it is not a be all to all solution. Then of course one may want to indeed indicate that some information is present, but exactly what is not FYI. On that front it would be just as well to simply have a user-color configured solid marker.
This is about the fourth screenshot in guiding an inexperienced user in doing something which (hopefully) the vast majority of people here would take in our stride.
That is my humble opionion.
------------------------------------
Reply:
Hi,
Thank you for the suggestions. I will forward them to our internal team.
Thanks.
------------------------------------
Reply:
The Text Marker should mark text while i am push Shift or Strg or Alt only horizontal or vertikal. This will ease the mark of Textlines and give it a better look.
------------------------------------
Reply:
I am also missing the possibbility for the snipping/capturing of scrolling Internet pages.
This is the reason why I do not use the snipping tool and why I had to install a third party tool.
Regards Picsoe
------------------------------------
Reply:
------------------------------------
Reply:
Try this, it's awesome and free!
------------------------------------
Reply:
------------------------------------
Reply:
Ditto. How about Snipping Tool just mimic the free tool Skitch. SnagIt is amazing but pricey and Skitch is Free and really great. Most organizations block installation of unapproved tools so something with a bit more functionality would go a long way.
It looks like a lot of people agree with this request. Make it happen Microsoft.
Oh and let me change the font without editing the registry for my Sticky Notes while you are at it. :)
-Murf
------------------------------------
Reply:
Hello Kristaps._.
Why not suggesting this feature? Go to https://windows.uservoice.com/forums/265757-windows-feature-suggestions and submit your proposal.
Bye.
Luigi Bruno
MCP, MCTS, MOS, MTA
- Edited by Luigi BrunoMVP Monday, October 20, 2014 8:49 PM
------------------------------------
Reply:
------------------------------------
Why do we require Definition updates in WSUS
Reply:
check this article:
https://msdn.microsoft.com/en-us/library/dd939871(v=ws.10).aspx
Thanks Mahmoud
- Edited by mahelsay Friday, November 25, 2016 5:31 PM
------------------------------------
On-Premise Skype for business Manage presentable content retention
Hello team,
We have seen one observation that "once the meeting has ended and the last person has left the meeting, whatever meeting content that was uploaded in the meeting did NOT expire after 30 minutes. We did rejoin the meeting after an hour or so and still found the meeting contents such as PPT/White board still retained" .
Now i need to know how i can check from server end or policy to manage this presentable content retention timings?
- Changed type Madhu.Kumar Monday, July 4, 2016 12:18 PM
Reply:
You should check your configuration,
These are the default expire times
http://www.justin-morris.net/lync-conference-expiration-and-deactivation-explained/
For a one-time scheduled meeting, the expiry time is the scheduled end time plus 14 days.
For a recurring scheduled meeting with an end date, the expiry time is the scheduled end time of the last meeting occurrence plus 14 days.
For an ad hoc IM or A/V conference, the expiry time is 8 hours.For a recurring scheduled meeting without a specified end date, the expiry time is 6 months after the last meeting activation.
regards Holger Technical Specialist UC
------------------------------------
Reply:
Hello,
This is not the one which I am looking for. I do know the expire times for all types of meeting. Here my query is more on the presentable content expire time.
As attached, how long this content will be stored once the meeting ended. I could see after 30 min this content are visible only for organizers and after 2 hrs later the content will be completely removed automatically.
So I want to know how to manage this and where I can see this details from server/shell
------------------------------------
Reply:
Hello Madhu,
If you are looking about the things as the maximum allowed size for meeting content and handouts; the content grace period (that is, the amount of time content will be stored beforebeing deleted); and the URLs for the internal and external downloads of the supported client, etc it can be done through Set-CsConferencingConfiguration -Identity site:Site01 -ContentGracePeriod .
More info here
https://technet.microsoft.com/en-us/library/gg412969.aspx?f=255&MSPPError=-2147217396
Linus || Please mark posts as answers/helpful if it answers your question.
------------------------------------
Reply:
Thanks for the right information. This really taking us to right direction.
But now I could see after running my conferencing policy I have below identites.
Get-CsConferencingPolicy | fl Identity
Identity : Global
Identity : Tag:Policy 1 (High)
Identity : Tag:Policy 2 (Medium High)
Identity : Tag:Policy 4 (Medium Low)
Identity : Tag:Policy 5 (Low-1)
Identity : Tag:Dial in Conferecing
When I run for Global Conferencing policy I have below result
Get-CsConferencingConfiguration -Identity Global | fl ContentGracePeriod
ContentGracePeriod : 00:30:00
But now can you help me to check same for other Conferencing policy which we have (Example for "Identity : Tag:Dial in Conferecing") Is that Whatever we have for Global Configuration will be same for rest of policies?
If my ContentGracePeriod is same for all then we still see after the meeting the content is not getting removed after 30 min and it is only removed after 2 hrs.
------------------------------------
Reply:
I did checked assigning the policy as global which have "contentGracePeriod" set to 30 Min. But still as a organizer we still see the meeting content after 30 min later.
Here all difference is after 30 min only the meeting organizer can see the content and for rest "presenters" it won't be visible. So I would like to understand more how this works. Do we have any article to know how this content stays in the meeting after it ends.
I also observed that after 30 min the content will be visible only with "No one can download" option and after that it stays for 90min and then it will be removed.
------------------------------------
Reply:
Hello Madhu,
Did you try this for new meeting as well. As the article says the grace period starts from the meeting end time would like to check for a newly created meeting with global policy.
Linus || Please mark posts as answers/helpful if it answers your question.
------------------------------------
Reply:
Yupe I did created with new meeting with Global policy, along with organizer 2 other participants had joined the called as presenters and we shared the whiteboard and PPT. After the meeting we made sure everyone in call ended the meeting and window was closed on all machine. Later to it we left about 45 min and again everyone joined the same meeting. Then we still see only organizer of the meeting can see content in "Manage presentable content" box and rest 2 presenters who had joined the meeting see nothing.
Only change what I saw was the meeting content was only in "no one can download" option.
------------------------------------
Reply:
Hi Madhu
Quick check , what would be the deactivation time for those meetings ? As we could find that there is automatic and manual deactivation of meetings , in our case its choosing one of these , more info here
http://masteringlync.com/2014/06/06/conferencing-activationdeactivation-deep-dive/
Also after the deactivation , if we join again within 30 minutes the grace period is getting reset.
So I guess in our case either the Deactivation time is something we can monitor and calculate from that time. A user has made his findings for 30 minutes duration in the same blog shared above.
Linus || Please mark posts as answers/helpful if it answers your question.
------------------------------------
Reply:
Hello,
I am back again with same topic.
Can you help me to get the SQL query to find the deactivation timings?
------------------------------------
Reply:
I had found the SQL query and could see the lastparticipantleavetime from below query.
To check User confernece details.
SELECT TOP 1000 AC.[ConfId], P.UserAtHost
,[ConfStateVersion]
,[Locked]
,[AdmissionType]
,[Autopromote]
,[PstnLobbyBypass]
,[LastPartId]
,[LastEnterprisePartLeaveTime]
,[ActivationInstance]
,[IsLargeMeeting]
FROM [rtcdyn].[dbo].[ActiveConference] AC
Left join rtcdyn.dbo.Participant P
ON AC.ConfId=p.ConfId
But apart from above I also found the easiest way to monitor all and got some details.
I quickly checked the Fileshare and monitored COLLABCONTENT and COLLABMETADATA folders with my meeting ID. This will really help us to understand more and see what exactly is happening. Based on my observation I could prove that GraceContentPeriod of 30min had worked and here is how I got confirmed.
1) Deactivation of a conference is made through manual and automatic. ContentGracePeriod works fine only when we manually deactivate the meeting through selecting an option "END MEETING".When this is done all users are immediately disconnected from the conference.
In the back ground, the client is sending an Exit and End Conference command to
the Focus and it terminates all active Conference Servers and disconnects all
users
2) If suppose, we go with automatic deactivation by just closing without selecting "END MEETING". In this case,the meeting will active in the background and appears that Conferencing announcement service(CAS) remains in the conference for about 20min with meeting.active file.
3) After 20min later, The meeting.active file will be automatically deleted and then the expiry-time will be modified the time meeting.active deleted. So here is the trick, We need to check the expiry-time stamped and from that time meeting content will be present for next 30min and later to that complete data files of meeting will be removed from COLLABCONTENT and COLLABMETADATA folders.
I have personally tested the same and this how it works. Hopefully this may help someone about the theory I tested.
------------------------------------
Reply:
Thank you Madhu for sharing , i didnt get option to test this , should be helpful.
Linus || Please mark posts as answers/helpful if it answers your question.
------------------------------------
Skype for Business: Presence - Alert when user becomes available
There are times that I would like to be alerted if a user(s) becomes online and available on SfB. It would ease connecting with each other.
- Edited by Arnel del Castillo Friday, October 7, 2016 6:03 PM
- Changed type Arnel del Castillo Friday, October 7, 2016 6:03 PM Feature Request
Reply:
Skype for Business includes a tagging feature that allows you to tag people for alerts when their status changes. The alert is a pop-up on your screen with the contact's picture and a message that tells you the status has changed. If the person you've tagged isn't already in your contacts list, they'll be added to it.
Tag a contact for status change alerts
Go to your contacts list or use the search field to find the person you want to tag.
Right-click their contact information and select Tag for Status Change Alerts.
Untag a contact
If you no longer need to be notified of a person's status changes, you can untag them to stop the alerts. There are two ways to untag a contact. Either click Untag when the alert pops up or follow the steps below.
Go to your contacts list.
Right-click the person's contact information. and select Tag for Status Change Alerts.
Note the check mark next to Tag for Status Change Alerts. Click it to untag the contact.

Sarfaraz
Please mark the replies as answer & helpful if they helped.
- Edited by Sarfaraz Pathan Friday, November 25, 2016 6:38 AM
------------------------------------
i need product key for Getintopc.com.officeprofessionalplus-64-en.us
i downloaded office 13 from getintopc.com but after the installation, the program requires it product key of which i dont know,
please help me if i could be provided with the product key
Reply:
Hi,
You had downloaded the office but need to activate office 2013 for working.
For product key you have to subscribe/purchase Office 2013. You may refer below link for the same.
https://products.office.com/en-in/business/office-365-proplus-business-software
https://products.office.com/en-in/buy/office
Sarfaraz
Please mark the replies as answer if they helped.
- Edited by Sarfaraz Pathan Friday, November 25, 2016 6:31 AM
------------------------------------
Azure Virtual Machine creation error
I am getting this error during creating Azure VM: we were unable to get information for your resources. azure
Please assist me.
Reply:
Seems to be an account related issue. I will suggest to make sure you using correct account and also sign out and sign in again to verify if not already done. Below link can help troubleshoot this further:
https://social.msdn.microsoft.com/Forums/en-US/f952f398-f700-41a1-8729-be49599dd7e2/troubleshooting-we-were-unable-to-find-any-subscriptions-associated-with-your-account-errors-in?forum=windowsazuremanagement
Kindly mark the reply as answer if they help
------------------------------------
ms excel file password remove
i create a data file in excel 2007 and protect the file with the password. since it is a long time, not to use the file i forget the password. as the data is important for me i want know how to recover/remove the password without opening it.
currently i am using office 2013.
- Edited by sameer kondurkar Wednesday, July 13, 2016 6:21 AM
Reply:
Hi Sameer,
Microsoft designed the Office Open XML password encryption to be strong and difficult for attackers to crack, which makes password recovery slow. There is no back door, no key escrow, and the 128-bit AES key makes guessing is the password the best option.
Unfortunately Microsoft support cannot assist you, as described in KB article 189126.
Please refer below link.
https://blogs.technet.microsoft.com/office2010/2009/10/15/enabling-password-rules-for-office-2010/
Sarfaraz
Please mark the replies as answer and helpful if they helped.
- Edited by Sarfaraz Pathan Friday, November 25, 2016 6:22 AM
------------------------------------
I try to play on-line games, notice shows- couldn't load plug-in. What do I do?
I try to play on line games but a notice shows--- couldn't load plug-in. What can I do please?
Reply:
------------------------------------
Windows Photo Gallery shows error 0x8007000b
- Edited by Carey FrischMVP Sunday, November 27, 2016 9:53 AM Spelling
Reply:
1. Go to C:\Users\%userprofile%\AppData\Roaming\Microsoft\Windows\
2. Delete Libraries.
3. On the left pane right-click on Libraries, then click Restore libraries.
S.Sengupta, Windows Insider MVP
------------------------------------
Visual studio text bug - 1 random character gets printed as a square (tofu)
Hello,
I've got a problem with visual studio, especially,it started after the anniversary update.
The text started to glitch like this
https://images.discordapp.net/.eJwNxMsNwyAMANBdGAAbKOSzDSKIRE1shB3lUHX39h3ex9zjNKvZVbusANshhcdmRXnkVm1jbmfN_RBb-IKsmst-VVIB75eEyzwjxhAivhDBR0yTQ3QpTv-Cd3DTm_gh26mZ7w8DpSK5.b19rxc-oYNdcyWaa8G7N2xd-P5c
Sometimes it does sometimes it doesn't
Reply:
Have you tried a repair of Visual Studio from Program & Features (right click start) does that help?
If not what version of Visual Studio? Perhaps logging in the Visual Studio General Questions maybe a better place for this question.
------------------------------------
Youcam unable to SKYPE
I am unable to use Skype because when I click on Youcam I receive a message advising error install program MFC80U.Dll.
Are you able to assist me with this enquire. Regards Robert Evans
Reply:
What do you mean by Youcam unable to Skype?
------------------------------------
VBS : Export the Network and printer registry key to another computer
hi
i need to export the network and printer key to another computer
my problem is i don't know what is the SID...the VBS script must save the keys According to the user connected.
exmple:
HKEY_USERS\S-1-5-21-3521394032-2318956005-3649292529-1344562\Printers\Connections
HKEY_USERS\S-1-5-21-3521394032-2318956005-3649292529-1344562\Network
i found this function but i don't know how to intrage to my script:
Private Shared Function GetNetworkPath(driveLetter As String) As String
Using key = Registry.CurrentUser.OpenSubKey("Network\" & driveLetter)
If key IsNot Nothing Then
Return DirectCast(key.GetValue("RemotePath"), String)
End If
Return Nothing
End Using
End Function
i need something like this...
any Help please?
- Changed type Bill_Stewart Friday, December 30, 2016 9:21 PM
Reply:
Hi
I need to import registry key from a remote computer.
my problem is, when a user change his computer he must recovery his printers and his mapping drives from his old computer.
To do that, i need the registry keys from the old computer.
i already have an HTA GUI to ask user to put his old computer name but i don't know how use it again.
this is a part of my vb script:
function BrowseForFolderDistant() Dim Path, oFolder, oShell, PathDesktop oFolder = "" set oShell = CreateObject("Shell.Application") if Input_Desktop.value = "" then return end if PathDesktop = "\\" + Input_Desktop.value + "\c$" set oFolder = oShell.BrowseForFolder(0, "Choose a Folder", 0, PathDesktop) on error resume next Path = oFolder.ParentFolder.ParseName(oFolder.Title).Path if Err.Number = 0 then if (Right(Path, 1) <> "\\") then Path = Path & "\\" end if else Path = "" end if Set oFolder = Nothing Set oShell = Nothing BrowseForFolderDistant = Path end function how can i create another function to integrate this computer name?
IF you have another solution to recovery the network printers and the network drive i take. :-).
- Edited by saidou92 Thursday, November 17, 2016 8:28 AM
- Merged by Bill_Stewart Monday, November 21, 2016 3:11 PM Duplicate
------------------------------------
Reply:
A user cannot read a remote computer registry. A user cannot remotely access the contents of a remote computer except for shares that the user has permissions on.
You can use migration tools to extract user configuration on one computer and transfer to a other.
See MDT: https://technet.microsoft.com/en-us/windows/dn475741.aspx
\_(ツ)_/
------------------------------------
Reply:
There is a tool for moving users called USMT.
https://technet.microsoft.com/en-us/library/hh824873.aspx
The code you posted in not script. It is VB.Net
In PowerShell you can do:
Get-PsDrive
Get-Printer
These produce the same result as the code posted.
\_(ツ)_/
------------------------------------
Reply:
HI
I am trying to exporte reg KEY with vbscript.
when i launch the scritp i have an error message " 800A01C3 this object is not a collection ".
that is my export function:
Function ExportPrinterRegistryKey()
Dim wshShell, strUsername, strDomain, arrSubKeys, arrValueNames, arrValueTypes, SZValue, EXPAND_SZValue, BINARYValue, DWORDValue, MULTI_SZValue
Dim getSIDLocal, objWMIServiceLocal, objAccountLocal, oRegDLocal, strKeyPathLocal, strComputerLocal, strKeyPathChildLocal
Dim getSIDDistant, objWMIServiceDistant, objAccountDistant, oRegDistant, strKeyPathDistant, strComputerDistant, strKeyPathChildDistant
const REG_SZ = 1
const REG_EXPAND_SZ = 2
const REG_BINARY = 3
const REG_DWORD = 4
const REG_MULTI_SZ = 7
Const HKEY_USERS = &H80000003
Set wshShell = CreateObject("WScript.Shell")
strUsername = wshShell.ExpandEnvironmentStrings("%USERNAME%")
strDomain = wshShell.ExpandEnvironmentStrings("%USERDOMAIN%")
strComputerDistant = Input_Desktop.value
Set objWMIServiceDistant = GetObject("winmgmts:\\" & strComputerDistant & "\root\cimv2")
Set objAccountDistant = objWMIServiceDistant.Get("Win32_UserAccount.Name='" & strUsername & "',Domain='" & strDomain & "'")
getSIDDistant = objAccountDistant.SID
Set oRegDistant=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputerDistant & "\root\default:StdRegProv")
strKeyPathDistant = Trim(getSIDDistant) & "\Printers\Connections\"
strComputerLocal = "."
Set objWMIServiceLocal = GetObject("winmgmts:\\" & strComputerLocal & "\root\cimv2")
Set objAccountLocal = objWMIServiceLocal.Get("Win32_UserAccount.Name='" & strUsername & "',Domain='" & strDomain & "'")
getSIDLocal = objAccountLocal.SID
Set oRegLocal=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputerLocal & "\root\default:StdRegProv")
strKeyPathLocal = Trim(getSIDLocal) & "\Printers\Connections\"
oRegDistant.EnumKey HKEY_USERS, strKeyPathDistant, arrSubKeys
For Each subkey In arrSubKeys
strKeyPathChildDistant = strKeyPathDistant & subkey
strKeyPathChildLocal = strKeyPathLocal & subkey
Return = oRegLocal.CreateKey(HKEY_USERS, strKeyPathChildLocal)
If (Return = 0) And (Err.Number = 0) Then
oRegDistant.EnumValues HKEY_USERS, strKeyPathChildDistant, arrValueNames, arrValueTypes
For I=0 To UBound(arrValueNames)
Return = 0
Select Case arrValueTypes(I)
Case REG_SZ
Return = oRegDistant.GetStringValue (HKEY_USERS, strKeyPathChildDistant, arrValueNames(I), SZValue )
Return = oRegLocal.SetStringValue( HKEY_USERS, strKeyPathChildLocal, arrValueNames(I), SZValue)
Case REG_EXPAND_SZ
oRegDistant.GetExpandedStringValue HKEY_USERS, strKeyPathChildDistant,arrValueNames(I),EXPAND_SZValue
Return = oRegLocal.SetExpandedStringValue( HKEY_USERS, strKeyPathChildLocal, arrValueNames(I), EXPAND_SZValue)
Case REG_BINARY
oRegDistant.GetBinaryValue HKEY_USERS, strKeyPathChildDistant, arrValueNames(I), BINARYValue
Return = oRegLocal.SetBinaryValue( HKEY_USERS, strKeyPathChildLocal, arrValueNames(I), BINARYValue)
Case REG_DWORD
oRegDistant.GetDWORDValue HKEY_USERS, strKeyPathChildDistant, arrValueNames(I), DWORDValue
oRegLocal.SetDWORDValue HKEY_USERS, strKeyPathChildLocal, arrValueNames(I), DWORDValue
Case REG_MULTI_SZ
oRegDistant.GetMultiStringValue HKEY_USERS, strKeyPathChildDistant, arrValueNames(I), MULTI_SZValue
oRegLocal.SetMultiStringValue HKEY_USERS, strKeyPathChildLocal, arrValueNames(I), MULTI_SZValue
End Select
Next
End If
Next
End Function
Can you help me please?
- Edited by saidou92 Wednesday, November 23, 2016 8:34 AM
- Merged by Bill_Stewart Wednesday, November 23, 2016 3:15 PM Duplicate
------------------------------------
Reply:
i know USMT...I would like to use it but i can't.
i am working for a company and they want i create a HTA application to recovery the users data and parameters.
------------------------------------
Reply:
i know USMT...I would like to use it but i can't.
i am working for a company and they want i create a HTA application to recovery the users data and parameters.
Then they should hire a consultant who knows how to write old, obsolete code and be willing to pay a lot of money to re-invent the wheel.
C'mon. No real company would ever require such a ridiculous thing in the 21st century.
If you really must do this you will have to learn how to use HTML and VB. Here is where to start: http://www.w3schools.com/
Unfortunately Microsoft has removed most content about HTAs from its site as it is obsolete. If you search you might still find some old sites that will teach you how to do this.
Modern systems cannot be managed with an HTA. You can do many things but all newer systems do not have support for VBScript and HTAs.
USMT, The built in migration wizard and PowerShell have been the standards since Windows XP.
\_(ツ)_/
------------------------------------
Reply:
You cannot remotely access a users hive if the user is not logged in.
To capture user data give user a batch file with "REG EXPORT".
REG EXPORT /?
\_(ツ)_/
------------------------------------
Reply:
OK, so now we're trying a fishing expedition.
The following blog post will be helpful:
If you didn't like the answer, asking the same question again is unlikely to help
-- Bill Stewart [Bill_Stewart]
------------------------------------
Reply:
------------------------------------
Reply:
-- Bill Stewart [Bill_Stewart]
------------------------------------
No comments:
Post a Comment