Monday, January 24, 2022

Move User Profile Disks to a new share

Move User Profile Disks to a new share

Hi,

How can I move the location of my UPD to a different share?
I guess using Windows Explorer to copy the files won't keep the NTFS permissions so I just use XCOPY or ROBOCOPY?

EDIT - I just found this. Sounds like the best way?
http://networkerslog.blogspot.co.uk/2013/11/moving-roaming-user-profiles-files-to.html

Thanks in advance




  • Edited by Gimpsta Friday, January 29, 2016 10:27 AM

Thailand currency symbol ฿ is not shown in excel sheet

Hi All,

I am exporting the excel sheet with data "Total Cost(฿)" , this is Thai currency symbol included ฿ in the data with font as Arial and wrap text attribute. After opening the excel sheet I see in the excel sheet the currency symbol is shown as empty and it is only shown in formula bar.

I thought initially there could be some issue in .Net code , the I have just put the value in excel sheet "Total Cost(฿)" and made the font Arial and wrap text , the same issue I saw. So it is existing issue with excel sheet.

1-I have removed wrap , I was able to see the currency symbol.

2-Along with wrap I have just changed the font to Calibri , then I was able to see the currency symbol.

We can not remove wrap text . and client requirement is font Arial as standard.

Any suggestion to fix this issue. Any alternative solutions please reply .

Thanks,

Ajit Kumar Subudhi

BEFORE TRIGGER Idea that SQL Server Team Likes

I have wished for SQL Server BEFORE TRIGGERs for a long time.  I have posted to Microsoft Connect (their feedback service) about this a few times.  I recently put in a post to which they responded "Thanks to this idea. We understand the requirement and we are putting it into the backlog... If this feature gets more votes it would be reconsidered in future releases."

Please check out:
https://connect.microsoft.com/SQLServer/feedback/details/3127222/before-trigger-behavior-with-execute-original-statement

If you like it, please vote it up.


Dan Jameson
Associate Director of IT/DBA
Children's Oncology Group
www.ChildrensOncologyGroup.org


  • Edited by JediSQL Monday, May 22, 2017 6:03 PM verb tense

Reply:

Voted, but I will have to admit that EXECUTE ORIGINAL_STATEMENT sounds like a kludge to me. True BEFORE triggers would be a lot better. Not the least for DDL triggers....


------------------------------------
Reply:
Thanks. I'll take a workable kludge over nothing at all.

Dan Jameson
Associate Director of IT/DBA
Children's Oncology Group
www.ChildrensOncologyGroup.org


------------------------------------

SharePoint Migration On premises content to Online if date if modified.

Hi All,

I have done the migration as per follow MS instruction.

https://support.office.com/en-us/article/Upload-on-premises-content-to-SharePoint-Online-555049c6-15ef-45a6-9a1f-a1ef673b867c?ui=en-US&rs=en-US&ad=US&fromAR=1

But users are still modifying on premises. I don't want to upload the whole 600Gb content again.

Please let me know if there any solution for upload the file if modified date is different and the rest are skip. 

Your Response is appreciated. Thank you!

Regards,

San


Reply:
This is why most people use a third party tool instead of bulk upload.  With a third party tool you can easily do a differential run as the final run.  I'm not sure there is a way to do that using the method that you have chosen.  You may have to upload it all again.

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.


------------------------------------
Reply:

Can you write code?

for your requirement, you need to implement an event receiver on all your content source, when they are modified, you can write your own logic to migrate them to the SP Online.


顺其自然地勇往直前!—Justin Liu


------------------------------------
Reply:
Also, since you have done the migration, why you let people still use the local environment, but not the online?

顺其自然地勇往直前!—Justin Liu


------------------------------------
Reply:
Actually, We had not finished all users pc to change online. some are still on premises. That why....

------------------------------------
Reply:
Please see my first comment.

顺其自然地勇往直前!—Justin Liu


------------------------------------

You guys never fix the simple things...

I love Windows, I really do. It will always be the operating system that I chose. It seems though that there are always tiny things that have bugged me about Windows over the years and all of Microsoft's developers and testers always ignore those things or pass over them without even noticing.

I've been a computer programmer for almost 2 decades. One thing I do constantly is handle JavaScript code. When accessing my JavaScript code I do the most straight forward thing possible. I locate the JavaScript file on my computer, right click it and click "Edit" and it brings up Notepad which I then use to write code.

By default in Windows 10 (and earlier versions), when you right click a JavaScript file, it has an "Edit" option in the menu. When you click it, it brings up Notepad, by default again. But when I use Notepad to edit or view a JavaScript file, 9 times out of 10 the Notepad application does not process the line-breaks of the JavaScript file properly, making it very difficult to look at the code.

Now, this is actually an overall issue with Notepad, because it will do the same thing for any file at all (eg: html files, css files, any file edited in Wordpad instead of Notepad). The reason it happens is because Notepad is not designed to recognize the 0x0A value as a line-break. It will however recognize either 0x0D or 0x0D AND 0x0A together as a line-break but never 0x0A by itself.

This issue has persisted since Windows XP, maybe even earlier.

In conclusion, Microsoft should not encourage you by default to edit a JavaScript file with Notepad if it won't even let you view the file properly. Microsoft should fix Notepad so that they may continue to encourage you to edit JavaScript files with Notepad.

Please fix Notepad so it understands all line-breaks, thank you.


  • Edited by Wiebold Tuesday, May 23, 2017 9:31 PM
  • Changed type Carey FrischMVP Wednesday, May 24, 2017 5:55 AM Comment
  • Moved by Carey FrischMVP Wednesday, May 24, 2017 5:56 AM Relocated

Macro to Find & Replace in Subject of Outlook Appointment

This isn't a question, but an answer.  I have been trying to find a way to perform a search/replace in the subject lines of Outlook calendar appointments.  For some reason, when I imported into a new Exchange account, Exchange inserted the word "Copy: " at the beginning of many of my appointments, and I wanted to get rid of those insertions.  I couldn't find any good VBA to get the job done, so I wrote my own.  This macro will ask the user for the "find" string, the "replace" string and the calendar folder that will be the subject of the search/replace.  It will then perform the replacement and provide the number of changed items.  Hope it is helpful to others.  Probably could be made to work on other types of folders as well with a little tweaking. 

Sub ApptFindReplace()  ' This macro will find/replace specified text in the subject line of all appointments in a specified calendar     Dim olApp As Outlook.Application   Dim CalFolder As Outlook.MAPIFolder   Dim Appt As Outlook.AppointmentItem   Dim OldText As String   Dim NewText As String   Dim CalChangedCount As Integer      ' Set Outlook as active application   Set olApp = Outlook.Application      ' Get user inputs for find text, replace text and calendar folder   MsgBox ("This script will perform a find/replace in the subject line of all appointments in a specified calendar.")   OldText = InputBox("What is the text string that you would like to replace?")   NewText = InputBox("With what would you like to replace it?")   MsgBox ("In the following dialog box, please select the calendar you would like to use.")   Set CalFolder = Application.Session.PickFolder   On Error GoTo ErrHandler:      ' Check to be sure a Calendar folder was selected   Do   If CalFolder.DefaultItemType <> olAppointmentItem Then   MsgBox ("This macro only works on calendar folders. Please select a calendar folder from the following list.")   Set CalFolder = Application.Session.PickFolder   On Error GoTo ErrHandler:   End If   Loop Until CalFolder.DefaultItemType = olAppointmentItem      ' Loop through appointments in calendar, change text where necessary, keep count   CalChangedCount = 0   For Each Appt In CalFolder.Items   If InStr(Appt.Subject, OldText) <> 0 Then   Debug.Print "Changed: " & Appt.Subject & " - " & Appt.Start   Appt.Subject = Replace(Appt.Subject, OldText, NewText)   Appt.Save   CalChangedCount = CalChangedCount + 1   End If   Next      ' Display results and clear table   MsgBox (CalChangedCount & " appointments had text in their subjects changed from '" & OldText & "' to '" & NewText & "'.")   Set Appt = Nothing   Set CalFolder = Nothing   Exit Sub     ErrHandler:   MsgBox ("Macro terminated.")   Exit Sub    End Sub

 
  • Changed type David Wolters Thursday, March 22, 2012 2:31 PM Not a question

Reply:

Nice sharing

thx


Stay Hungry, Stay Foolish


------------------------------------
Reply:

Thank you so much for this, which has enabled me to overcome a problem I was having with entries made in Outlook 2003 then transferred to Outlook 2010 recently. The 'Search' function in 2010 was not finding things in the same way that 2003 did!


------------------------------------
Reply:
This is FANTASTIC. Thank you very much for sharing.
I received a iPad for my birthday and connected it via iTunes and tried to sync NOT knwing it would delete all my contacts in uitlook and move them to iTunes/iPad control. I manually rebuild the contacts but the calendar all had COPY: in it which I wanted to remove.  This macro fixed it completely.

------------------------------------
Reply:
Nice work! How hard would it be to make this work in a Journal folder?

Darryl Gittins


------------------------------------
Reply:

This works for the Journal. Now if only there were a way to get it to work on a pre-populated list of strings! 


Sub ApptFindReplace2()
' This macro will find/replace specified text in the subject line of all journal entries in a specified folder

    Dim olApp As Outlook.Application
    Dim JFolder As Outlook.MAPIFolder
    Dim JItem As Outlook.JournalItem
    Dim OldText As String
    Dim NewText As String
    Dim JournalChangedCount As Integer
    
    ' Set Outlook as active application
    Set olApp = Outlook.Application
    
    ' Get user inputs for find text, replace text and journal folder
    OldText = InputBox("What is the text string that you would like to replace?")
    NewText = InputBox("With what would you like to replace it?")
    Set JFolder = Application.Session.PickFolder
    On Error GoTo ErrHandler:
        
    ' Check to be sure a Journal folder was selected
    Do
    If JFolder.DefaultItemType <> olJournalItem Then
        MsgBox ("This macro only works on Journal folders.  Please select a Journal folder from the following list.")
        Set JFolder = Application.Session.PickFolder
        On Error GoTo ErrHandler:
    End If
    Loop Until JFolder.DefaultItemType = olJournalItem
    
    ' Loop through items in Journal, change text where necessary, keep count
   JournalChangedCount = 0
    For Each JItem In JFolder.Items
        If InStr(JItem.Subject, OldText) <> 0 Then
            Debug.Print "Changed: " & JItem.Subject & " - " & JItem.Start
            JItem.Subject = Replace(JItem.Subject, OldText, NewText)
            JItem.Save
       JournalChangedCount = JournalChangedCount + 1
       End If
    Next
    
    ' Display results and clear table
    MsgBox (JournalChangedCount & " journal items had text in their subjects changed from '" & OldText & "' to '" & NewText & "'.")
    Set JItem = Nothing
    Set JournalFolder = Nothing
    Exit Sub
    
ErrHandler:
    MsgBox ("Macro terminated.")
    Exit Sub

End Sub


Darryl Gittins


------------------------------------

VB Script Require for sending bulk emails from Excel

Hello Guys,

I have an excel in the desktop which contains a list of users from same domain.

I need to send an email to all.

Please help me with creating a VB script.

Thanks,

Shuaib Ahmed

  • Changed type Bill_Stewart Friday, July 7, 2017 6:35 PM
  • Moved by Bill_Stewart Friday, July 7, 2017 6:35 PM This is not "scripts on demand"

Reply:

Read this first, from right at the top of this forum.

This forum is for scripting questions rather than script requests


-- Bill Stewart [Bill_Stewart]


------------------------------------
Reply:
Where can i go for the request then ?

------------------------------------
Reply:

Click the link I posted and read the post. There is a link to the script request page there.


-- Bill Stewart [Bill_Stewart]


------------------------------------
Reply:

You would do best by posting in an Excel forum.  Excel can do bulk mailings or use Word as it can read Excel and do mailings.


\_(ツ)_/


------------------------------------

New blog post, "Converged NIC Configuration Guide for Windows Server 2016", just FYI

Hi there -

Just FYI, new blog post, Converged NIC Configuration Guide for Windows Server 2016, at https://aka.ms/convergednic

Thanks -


James McIllece

Just FYI, new blog post, "Converged NIC Configuration Guide for Windows Server 2016"

Hi there -

Just FYI, new blog post, Converged NIC Configuration Guide for Windows Server 2016, at https://aka.ms/convergednic

Thanks -


James McIllece

SSTP

tep by Step

Setting up the test lab for SSTP remote access VPN connections
Deze informatie komt uit de online link van TechNet. De volgorde enigszins aangepast in
tussen door is Extra informatie opgenomen als ook extra testen, om een vlotte installatie te
kunnen doen.
A server computer running Windows Server 2008 named DC1 that acts as a domain controller, a
Domain Name System (DNS) server, and a file server on a private (intranet) network.

A server computer running Windows Server 2008 named VPN1 that is configured with Routing and
Remote Access and acts as a VPN server. In addition, VPN1 is configured with Active Directory
Certificate Services and Internet Information Services (IIS) to allow Web enrollment of the computer
certificate required for an SSTP-based VPN connection. VPN1 has two network adapters installed.

A client computer running Windows Vista with SP1 named CLIENT1 that acts as a VPN client on a
public (Internet) network.

The infrastructure for the VPN test lab network consists of three computers, which perform the following
services:
The following diagram shows the configuration of the VPN test lab.
Configuring DC1
• A domain controller for the Contoso.com Active Directory® domain.
• A DNS server for the Contoso.com DNS domain.
• A file server.
DC1 is a computer running Windows Server 2008 that provides the following services:
• Install the operating system.
• Configure TCP/IP.
• Install Active Directory and DNS.
• Create a user account with remote access permission.
• Create a shared folder and file.
The configuration of DC1 requires the following steps:
The following sections explain these steps in detail.
Install the operating system
1. On DC1, start your computer by using the Windows Server 2008 product disc.
2. Follow the instructions that appear on your screen. When prompted for a password, type P@ssword.
Install Windows Server 2008
Configure TCP/IP
Configure TCP/IP properties so that DC1 has a static IP address of 192.168.0.1 with the subnet mask
  
Configure TCP/IP properties so that DC1 has a static IP address of 192.168.0.1 with the subnet mask
255.255.255.0 and a default gateway of 192.168.0.2.
On DC1, in the Initial Configuration Tasks window, under Provide Computer Information,
click Configure networking.
1.
Note
If the Initial Configuration Tasks window is not already open, you can open it by clicking Start,
clicking Run, typing oobe in the text box, and then clicking OK.
2. In the Network Connections window, right-click Local Area Connection, and then click Properties.
3. On the Networking tab, click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.
Click Use the following IP address. Type 192.168.0.1 for the IP address, type 255.255.255.0 for the
subnet mask, type 192.168.0.2 for the default gateway, and type 192.168.0.1 for the preferred DNS
server.
4.
5. Click OK, and then click Close.
Configure TCP/IP properties
Install Active Directory and DNS
Configure the computer as a domain controller for the Contoso.com domain. This will be the first and only
domain controller in this network.
On DC1, in the Initial Configuration Tasks window, under Provide Computer Information,
click Provide computer name and domain.
1.
Note
If the Initial Configuration Tasks window is not already open, you can open it by clicking Start,
clicking Run, typing oobe in the text box, and then clicking OK.
2. In the System Properties dialog box, on the Computer Name tab, click Change.
3. Change computer name to DC1, and then click OK.
4. In the Computer Name/Domain Changes dialog box, click OK.
5. Click Close, and then click Restart Now.
After the server restarts, in the Initial Configuration Tasks window, under Customize This Server,
click Add roles.
6.
Configure DC1 as a domain controller
  
click Add roles.
7. In the Add Roles Wizard dialog box, in Before You Begin, click Next.
8. Select the Active Directory Domain Services check box, and then click Next.
9. In the Active Directory Domain Services dialog box, click Next.
10. In the Confirm Installation Selections dialog box, click Install.
11. In the Installation Results dialog box, click Close.
12. Click Start, and then click Run. In Open, type dcpromo, and then click OK.
13. On the Welcome page of the Active Directory Domain Services Installation Wizard, click Next.
14. Click Create a new domain in a new forest, and then click Next.
15. In FQDN of the forest root domain, type contoso.com, and then click Next.
16. In Forest functional level, select Windows Server 2003, and then click Next.
17. Click Next to accept Windows Server 2003 for the domain functional level.
18. Click Next to accept DNS server for the additional options for this domain controller.
19. Click Yes, the computer will use a dynamically assigned IP address (not recommended).
20. Click Yes in the confirmation dialog box.
21. Click Next to accept the default folder locations.
22. In Directory Services Restore Mode Administrator Password, type a password, and then click Next.
23. Click Next.
The Active Directory Domain Services Installation Wizard will begin configuring Active Directory.
When the configuration is complete, click Finish, and then click Restart Now.
24.
Create a user account with remote access permission
Create a user account and configure the account with remote access permission.
On DC1, click Start, point to Administrative Tools, and then click Active Directory Users and
Computers.
1.
2. In the left side tree, expand contoso.com, right-click Users, point to New, and then click User.
3. In Full name, type user1, and in User logon name, type user1.
4. Click Next.
5. In Password, type P@ssword and in Confirm password, type P@ssword again.
Clear the User must change password at next logon check box, and then select the User cannot
change password and Password never expires check boxes.
6.
7. Click Next, and then click Finish.
Create and grant permission to a user account in Active Directory
1. In the left tree, click Users. In the details pane, right-click user1, and then click Properties.
2. On the Dial-in tab, in Network Access Permission, click Allow access, and then click OK.
Note
In a real-world scenario, you would use Network Policy Server (NPS) to configure and enable
remote access policies.
3. Close Active Directory Users and Computers.
To grant remote access permission to user1:
Create a shared folder and file
DC1 is a file server that should be accessible to a remote user after access and authentication methods have
been configured.
1. On DC1, click Start, and then click Computer.
2. Double-click Local Disk (C:).
Right-click inside the blank space of the Windows Explorer window, point to New, and then
click Folder.
3.
4. Name the folder CorpData.
5. Right-click the CorpData folder, and then click Share.
Create a shared folder and file
 
5. Right-click the CorpData folder, and then click Share.
6. Type domain users, and then click Add.
7. Click Domain Users, and then click the Contributor permission level.
8. Click Share, and then click Done.
Double-click the CorpData folder, right-click the blank space in the empty folder, point to New, and
then click Text Document.
9.
10. Name the document VPNTest.
11. Open VPNTest and add some text.
12. Save and close VPNTest.
Configuring VPN1
Active Directory Certificate Services, a certification authority (CA) that issues the computer certificate
required for an SSTP-based VPN connection.

Certification Authority Web Enrollment, a service that enables the issuing of certificates through a Web
browser.

Web Server (IIS), which is installed as a required role service for Certification Authority Web
Enrollment.

Note
Routing and Remote Access does not require IIS because it listens to HTTPS connections directly
over HTTP.SYS. IIS is used in this scenario so that CLIENT1 can obtain a certificate over the
Internet from VPN1. Network Policy and Access Services, which provides support for VPN connections through Remote
Access Service.

VPN1 is a computer running Windows Server 2008 that provides the following roles:
• Install the operating system.
• Configure TCP/IP for Internet and intranet networks.
• Join the Contoso.com domain.
• Install the Active Directory Certificate Services and Web Server (IIS) server roles.
• Create and install the Server Authentication certificate.
• Install the Network Policy and Access Services (Routing and Remote Access) server role.
• Configure VPN1 to be a VPN server.
VPN1 configuration consists of the following steps:
The following sections explain these steps in detail.
Install the operating system
To install Windows Server 2008 on VPN1:
1. On VPN1, start your computer by using the Windows Server 2008 product disc.
2. Follow the instructions that appear on your screen. When prompted for a password, type P@ssword.
Install Windows Server 2008
Configure TCP/IP
Configure TCP/IP properties so that VPN1 has a static IP address of 131.107.0.2 for the public (Internet)
connection and 192.168.0.2 for the private (intranet) connection.
1. On VPN1, in the Initial Configuration Tasks window, under Provide Computer Information,
Configure TCP/IP properties
  
On VPN1, in the Initial Configuration Tasks window, under Provide Computer Information,
click Configure networking.
1.
Note
If the Initial Configuration Tasks window is not already open, you can open it by clicking Start,
clicking Run, typing oobe in the text box, and then clicking OK.
2. In the Network Connections window, right-click a network connection, and then click Properties.
3. On the Networking tab, click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.
4. Click Use the following IP address.
On the interface connected to the public (Internet) network, type 131.107.0.2 for the IP address,
and type 255.255.0.0 for the subnet mask.
1.
On the interface connected to the private (intranet) network, type 192.168.0.2 for the IP
address, type 255.255.255.0 for the subnet mask, and type 192.168.0.1 for the preferred DNS
server.
2.
5. Configure the IP address and subnet mask with the following values:
6. Click OK, and then click Close.
7. To rename the network connections, right-click a network connection, and then click Rename.
1. On the interface connected to the public (Internet) network, type Public.
2. On the interface connected to the private (intranet) network, type Private.
8. Configure the network connections with the following names:
9. Close the Network Connections window.
Run the ping command from VPN1 to confirm that network communication between VPN1 and DC1 works.
On VPN1, click Start, click Run, in the Open box, type cmd, and then click OK. In the command
window, type ping192.168.0.1.
1.
2. Verify that you can successfully ping DC1.
3. Close the command window.
Use the ping command to check network connectivity
Let op!
Zorg er voor dat de ping naar de DC1 mogelijk is, en dat de DNS server op VPN1 juist ingesteld is
(192.168.0.1 = IP adres van de DC1)
Join the Contoso domain
Configure VPN1 to be a member server in the Contoso.com domain.
On VPN1, in the Initial Configuration Tasks window, under Provide Computer Information,
click Provide computer name and domain.
1.
Note
If the Initial Configuration Tasks window is not already open, you can open it by clicking Start,
clicking Run, typing oobe in the text box, and then clicking OK.
2. In the System Properties dialog box, on the Computer Name tab, click Change.
3. In Computer name, clear the text and type VPN1.
4. In Member of, click Domain, type contoso, and then click OK.
5. Enter administrator for the user name and P@ssword for the password.
6. When you see a dialog box welcoming you to the contoso.com domain, click OK.
7. When you see a dialog box telling you to restart the computer, click OK. Click Close, and then
Join VPN1 to the Contoso.com domain
 
When you see a dialog box telling you to restart the computer, click OK. Click Close, and then
click Restart Now.
7.
Voor we verder gaan met de installatie van de VPN Server installeer nu eerst de CLIENT1 (Windows 7)
computer en controleer als alle TCP/IP Communicatie tussen Client1 en VPN1 goed werkt, alvorens
verder te gaan met VPN installatie en configuratie
Configuring CLIENT1
CLIENT1 is a computer running Windows Windows 7 / Vista with SP1 that functions as a remote access VPN
client for the Contoso.com domain.
• Install the operating system.
• Configure TCP/IP.
CLIENT1 configuration consists of the following steps:
The following sections explain these steps in detail.
Install the operating system
To install Windows Vista with SP1 on CLIENT1:
On CLIENT1, start your computer by using the Windows Vista/ Windows 7 with SP1 product disc.
Follow the instructions that appear on your screen.
1.
2. When prompted for the installation type, choose Custom.
3. When prompted for the user name, type user1.
4. When prompted for the computer name, type CLIENT1.
5. When prompted for the computer location, choose Home.
Install Windows Vista SP1
Configure TCP/IP
Configure TCP/IP properties so that CLIENT1 has a static IP address of 131.107.0.3 for the public (Internet)
connection.
1. On CLIENT1, click Start, and then click Control Panel.
Click Network and Internet, click Network and Sharing Center, and then click Manage network
connections.
2.
Right-click Local Area Connection, and then click Properties. If a dialog box is displayed that
requests permissions to perform this operation, click Continue.
3.
In the Local Area Connection Properties dialog box, click Internet Protocol Version 4 (TCP/IPv4),
and then click Properties.
4.
Click Use the following IP address. In IP address, type 131.107.0.3 for the IP address, and
type 255.255.0.0 for the subnet mask.
5.
6. Click OK, and then click Close.
Configure TCP/IP properties
Configure the hosts file to have a record for VPN1. This simulates a real-world scenario in which the
corporate VPN server would have a publicly resolvable host name.
De Host File op Client1 configureer je om het mogelijk te maken een VNP verbinding op te
kunnen zetten met de VPN Server via een "common name" (CN) welke overeen komt met
het SSL Certificaat welke we verder in de LAB gaan opbouwen.
   
On CLIENT1, click Start, click All Programs, click Accessories, right-click Command Prompt, and then
click Run as administrator.
1.
2. In the User Account Control dialog box, click Continue.
In the command window, type the following and then press ENTER:
notepad %windir%\system32\drivers\etc\hosts
3.
Add the following text in a new line at the end of the document:
131.107.0.2 vpn1.contoso.com
4.
5. Save and close the hosts file.
Configure the hosts file
Run the ping command from CLIENT1 to confirm that network communication between CLIENT1 and VPN1
works.
On VPN1, click Start, point to Administrative Tools, and then click Windows Firewall with
Advanced Security.
1.
2. In the console tree, click Inbound Rules.
In the details pane, scroll down and double-click File and Printer Sharing (Echo Request - ICMPv4-
In) for the Public profile. Verify that this rule is enabled.
3.
Use the ping command to check network connectivity
 
4. Under General, select the Enabled check box, and then click OK.
5. On CLIENT1, in the command window, type ping vpn1.contoso.com, and then press ENTER.
Verify that you can successfully ping VPN1.
For the purpose of this test lab, this connection signifies that the remote user can connect to the office
VPN server over the public Internet.
6.
7. Close the command window.
Voer op Client1 (Command Prompt) de volgende testen uit:
PING 131.107.0.2
PING vpn1.contoso.com
Je kunt pas verder gaan als het pingen van de Client1 naar de VPN server lukt!!
LETOP!
De Firewall configuratie om de VPN server zoals hierboven beschreven is niet goed uitgevoerd.
Controleer de stappen en de inbound en outboud rules nogmaals. Zorg er voor dat de ICMPv4-in
en ICMPv4-out Files Sharing rules ook aan staan op de VPN server.
1.
Controleer de configuratie van de Hyper-v Virtual Network Switches. Een gebruikelijke fout hier
is dat CLIENT1 niet op de zelfde virtuele switch als de VPN1 server Public interface (met ip adres
131.107.0.1) geplaatst is. De VPN1 server. DE VPN Servers heeft 2 netwerk kaarten. Schakel die
in Hyper-v een voor een uit en controleer in de VPN server welke interface uitstaat. Controleer
de IP adressen. Plaatst de interfaces in de juiste switch en test de PING commando's nogmaals
2.
Als het pingen in dit stadium niet lukt zijn 2 mogelijke problemen:
Ga pas verder met de installatie als de Ping tussen Client1 en VPN1 goed is.
   
Ga pas verder met de installatie als de Ping tussen Client1 en VPN1 goed is.
VOER DE VOLGENDE STAPPEN UIT OP DE VPN1 (VPN Server)
Install Active Directory Certificate Services and Web Server
To support SSTP-enabled VPN connections, first install Active Directory Certificate Services and Web Server
(IIS) to enable Web enrollment of a computer certificate.
1. On VPN1, log on as administrator@contoso.com with the password P@ssword.
2. In the Initial Configuration Tasks window, under Customize This Server, click Add roles.
Note
If the Initial Configuration Tasks window is not already open, you can open it by clicking Start,
clicking Run, typing oobe in the text box, and then clicking OK.
3. In the Add Roles Wizard dialog box, in Before You Begin, click Next.
4. Select the Active Directory Certificate Services check box.
Install VPN and certificate services roles
1. Click Next, and then click Next again.
In the Select Role Services dialog box, under Role services, select the Certification Authority Web
Enrollment check box.
2.
3. In the Add Roles Wizard dialog box, click Add Required Role Services.
 
4. Click Next.
5. Click Standalone, and then click Next.
6. Click Root CA (recommended), and then click Next.
7. Click Create a new private key, and then click Next.
8. Click Next to accept the default cryptographic settings.
9. In the Configure CA Name dialog box, click Next to accept the default CA name.
10. Click Next repeatedly to accept default settings.
In the Confirm Installation Selections dialog box, click Install. The installation might take several
minutes.
11.
12. In the Installation Results dialog box, click Close.
Create and install the Server Authentication certificate
The Server Authentication certificate is used by CLIENT1 to authenticate VPN1. Before installing the
certificate, you must configure Internet Explorer to allow certificate publishing.
Configure Internet Explorer
  
1. On VPN1, click Start, right-click Internet Explorer, and then click Run as administrator.
2. If a phishing filter alert appears, click Turn off automatic Phishing Filter, and then click OK.
3. Click the Tools menu, and then click Internet Options.
4. In the Internet Options dialog box, click the Security tab.
5. Under Select a zone to view or change security settings, click Local intranet.
6. Change the security level for Local intranet from Medium-low to Low, and then click OK.
Configure Internet Explorer
Note
In a real-world scenario, you should configure individual ActiveX® control settings by
using Custom level rather than lowering the security level.
Use Internet Explorer to request a Server Authentication certificate.
1. On VPN1, in the Internet Explorer Address bar, type http://localhost/certsrv, and then press ENTER.
2. Under Select a task, click Request a certificate.
3. Under Request a Certificate, click advanced certificate request.
4. Under Advanced Certificate Request, click Create and submit a request to this CA.
5. Click Yes to allow the ActiveX control.
Request a Server Authentication certificate
  
Under Identifying Information, in the Name field, type vpn1.contoso.com, and in
the Country/Region field, type US.
1.
Note
The name is the certificate subject name and must be the same as the Internet address used in
the SSTP connection settings configured later in this document. (vpn1.contoso.com)
2.
3. Under Type of Certificate Needed, select Server Authentication Certificate.
4. Under Key Options, select the Mark keys as exportable check box, and then click Submit.
5. Click Yes in the confirmation dialog box.
LET OP! Het aanvragen van een certificaat van het Type Server Authentication
Certificate. Is belangrijk. Voor VPN servers en web servers waarbij cliënten gebruik gaan
maken van SSL (Certificaten TYCP poort 443) MOET een Server Authentication
Certificate. Aangevraagd worden bij de CA
The Server Authentication certificate is now pending. It must be issued before it can be installed.
1. On VPN1, click Start, and then click Run.
2. In Open, type mmc, and then click OK.
3. In the Console1 snap-in, click File, and then click Add/Remove Snap-in.
4. Under Available snap-ins, click Certification Authority, then click Add.
5. Click Finish to accept the default setting of Local computer.
6. Click OK to close the Add or Remove Snap-ins dialog box.
7. In the newly created MMC console, in the left pane, double-click Certification Authority (Local).
8. Double-click contoso-VPN1-CA, and then click Pending Requests.
Issue and install the Server Authentication certificate
  
8. Double-click contoso-VPN1-CA, and then click Pending Requests.
1. In the middle pane, right-click the pending request, point to All Tasks, and then click Issue.
In Internet Explorer, in the Certificate Pending page, click Home. If this page is not visible, browse to
http://localhost/certsrv.
2.
3. Under Select a task, click View the status of a pending certificate request.
4. Under View the Status of a Pending Certificate Request, select the just-issued certificate.
5. Click Yes to allow the ActiveX control.
6. Under Certificate Issued, click Install this certificate.
7. Click Yes in the confirmation dialog box.
Move the installed certificate from the default store location.
1. On VPN1, in the previously created MMC console, click File, and then click Add/Remove Snap-in.
2. Under Available snap-ins, click Certificates, and then click Add.
Move the certificate
  
3. Click Finish to accept the default setting of My user account.
4. Click Add, click Computer account, and then click Next.
5. In the Select Computer dialog box, click Finish to accept the default setting of Local computer.
6. Click OK to close the Add or Remove Snap-ins dialog box.
In the console tree pane, double-click Certificates - Current User, double-click Personal, and then
click Certificates.
7.
In the middle view pane, right-click the vpn1.contoso.com certificate, point to All Tasks, and then
click Export.
8.
9. In the Welcome page, click Next.
10. Click Yes, export the private key, and then click Next.
11. Click Next to accept the default file format.
12. Type P@ssword in both text boxes, and then click Next.
13. In the File to Export page, click Browse.
14. In the File name text box, type vpn1cert, and then click Browse Folders.
15. Under Favorite Links, click Desktop, and then click Save to save the certificate to the desktop.
16. In the File to Export page, click Next.
17. Click Finish to close the Certificate Export Wizard, and then click OK in the confirmation dialog box.
18. In the console tree pane, double-click Certificates (Local Computer), and then double-click Personal.
19. Click Certificates, and then right-click Certificates, point to All Tasks, and then click Import.
20. In the Welcome page, click Next.
21. In the File to Import page, click Browse.
Under Favorite Links, click Desktop, and from the drop-down list, select Personal Information
Exchange for the file type.
22.
  
1. In the middle view pane, double-click vpn1cert.
2. In the File to Import page, click Next.
3. In the Password text box, type P@ssword, and then click Next.
4. In the Certificate Store page, click Next to accept the Personal store location.
5. Click Finish to close the Certificate Import Wizard, and then click OK in the confirmation dialog box.
Important
If the procedures in this document are not followed in the order presented, the presence of an all
purpose certificate (contoso-VPN1-CA) could create issues. Delete the contoso-VPN1-CA
certificate in the Local Computer store to ensure the SSTP listener binds to the server
authentication certificate (vpn1.contoso.com).
Delete the all purpose certificate
   
In the middle view pane, double-click Certificates, right-click contoso-VPN1-CA, and then
click Delete.
1.
2. Click Yes in the confirmation dialog box.
Delete the all purpose certificate
Install Routing and Remote Access
Configure VPN1 with Routing and Remote Access to function as a VPN server.
1. On VPN1, in the Initial Configuration Tasks window, under Customize This Server, click Add roles.
If the Initial Configuration Tasks window is not already open, you can open it by clicking Start,
clicking Run, typing oobe in the text box, and then clicking OK.
2. In the Add Roles Wizard dialog box, in Before You Begin, click Next.
3. Select the Network Policy and Access Services check box, click Next, and then click Next again.
In the Select Role Services dialog box, under Role services, select the Routing and Remote Access
Services check box.
4.
5. Click Next, and then click Install.
6. In the Installation Results dialog box, click Close.
Install VPN and certificate services roles
Configure Routing and Remote Access
Configure VPN1 to be a VPN server providing remote access for Internet-based VPN clients.
Configure VPN1 to be a VPN server
1. On VPN1, click Start, point to Administrative Tools, and then click Routing and Remote Access.
In the Routing and Remote Access console tree, right-click VPN1, and then click Configure and
Enable Routing and Remote Access.
2.
3. In the Welcome to the Routing and Remote Access Server Setup Wizard page, click Next.
In the Configuration page, click Next to accept the default setting of Remote access (dial-up or
VPN).
4.
5. In the Remote Access page, click VPN, and then click Next.
In the VPN Connection page, under Network interfaces, click Public. This is the interface that will
connect VPN1 to the Internet.
6.
Click Enable security on the selected interface by setting up static packet filters to clear this
setting, and then click Next.
7.
Note
Normally, you would leave security enabled on the public interface. For the purposes of testing
lab connectivity, you should disable it.
1. Click From a specified range of addresses, and then click Next.
Click New, type 192.168.0.200 for the Start IP address, type 192.168.0.210 for the End IP address,
click OK, and then click Next.
2.
Click Next to accept the default setting, which means VPN1 will not work with a RADIUS server. In this
scenario, Routing and Remote Access Server will use Windows Authentication.
3.
4. In the Completing the Routing and Remote Access Server Setup Wizard page, click Finish.
If the dialog box that describes the need to add this computer to the remote access server list appears,
click OK.
5.
6. In the dialog box that describes the need to configure the DHCP Relay Agent, click OK.
7. Close the Routing and Remote Access snap-in.
  
LETOP!
Pingen naar de RRASS Public interface
Na de installatie van RRAS is het niet mogelijk meer te pingen naar de RAS/VPN server. Dit is
een security best pratices. De RAS server public interface is in de praktijk verbonden aan het
internet, en het blokkeren van Ping is een goede zaak. Ping staat dus UIT op de interne
Firewall van de RAS services (Let wel RAS Services). Dit houd een succesvolle uitvoering van
de LAB niet tegen, omdat de andere noodzakelijke poorten wel open staan. Je kunt dus
gewoon doorgaan met de LAB.
Als je toch wil pingen naar de public interface van de RAS server kun je ICMP open zetten op
de Public Interface. Zie instructie aan het EINDE van de opdracht!!!
Voor dat je verder gaat is het van belang 2 zaken te controleren:
RAS and IAS Server Group in AD
Is de VPN server toegevoegd in de "RAS and IAS Servers" group in AD.
Op de domain Controleer (DC1) in "Active Directory Users and Computers" controleer dat de naam
van je NetBios naam / Computer naam van VPN server voorkomt in de Members tab van de AD groep:
"RAS and IAS Servers"
- Security link tussen de DC en de VPN server zijn niet correct / niet functioneel
- Netwerk issues tussen de DC en VPN server tijdens de installatie van de RRAS rol en services.
Indien dit niet het geval is er iets fout gegaan bij de installatie van de RRAS role op de VPN server. Hier
kunnen verschillende oorzaken zijn:
Zorg er voor dat je DC aanstaat en bereikbaar is voor de VPN server tijdens de installatie en
configuratie van de RRAS rol.
  
configuratie van de RRAS rol.
Indien de RRAS server niet voorkomt in de aangegeven groep is een herinstallatie en her configuratie
van RRAS de enig (echte) oplossing. Het handmatig toevoegen van de server als member in de groep
werkt NIET in alle gevallen.
RAS Server SSL binding
Op de VPN server moet het juiste certificaat gekozen worden voor de configuratie van SSL.
Ga naar de Propertjes van de RAS Server en kies het certificaat met de juiste CN naam, welke je eerder
in de opdracht speciaal als Server Authentication Certificate aangemaakt had voor de VPN server. Zie
hier onder:
Als boven staande zaken goed zijn in de installatie ben je gereed voor het
aanmaken en testen van een SSTP VPN verbinding.
Configuring SSTP VPN connection CLIENT1
Configuring an SSTP-based connection
A VPN client using an SSTP connection must install the root CA certificate of the VPN server's computer
certificate. During the SSL authentication phase, the VPN client validates the Server Authentication certificate
using the certificate installed on the client.
  
using the certificate installed on the client.
Obtain a trusted root CA certificate
The root certificate can be obtained through auto-enrollment, if the client is joined to an Active Directory
domain, or through Web enrollment from the CA's certificate-issuing Web site. In this scenario, CLIENT1 will
obtain the root CA certificate from VPN1 by using Web enrollment.
1. On CLIENT1, click Start, and then click Internet Explorer.
In Internet Explorer, clear the URL and type http://vpn1.contoso.com/certsrv, and then press
ENTER.
2.
3. If a phishing filter alert appears, click Turn off automatic Phishing Filter, and then click OK.
On the Welcome page, under Select a task, click Download a CA certificate, certificate chain, or
CRL.
4.
5. If you receive an alert about the Information Bar, click Close.
6. Click Download CA certificate.
7. In the File Download dialog box, click Open.
Obtain a computer certificate from VPN1
1. In the security alert dialog box, click Allow.
2. Click Install Certificate.
  
3. In the Certificate Import Wizard, click Next.
4. In the Certificate Store dialog box, click Next to accept the default automatic store location.
5. Click Finish.
6. In the confirmation dialog box, click OK.
7. Click OK to close the Certificate dialog box.
Now that the computer certificate has been installed, it must be moved to the correct store. The default
automatic location for the installed certificate is in the Current User, Intermediate Certification Authority
store. The certificate must be moved to the Local Computer, Trusted Root Certification Authority store on
CLIENT1. Begin by configuring an MMC with user and computer certificate snap-ins.
1. On CLIENT1, click Start, click All Programs, click Accessories, and then click Run.
2. In Open, type mmc, and then click OK.
3. In the User Account Control dialog box, click Continue.
4. In the Console1 snap-in, click File, and then click Add/Remove Snap-in.
5. Under Available snap-ins, click Certificates, and then click Add.
6. Click Finish to accept the default setting of My user account.
7. Click Add, click Computer account, and then click Next.
8. In the Select Computer dialog box, click Finish to accept the default setting of Local computer.
9. Click OK to close the Add or Remove Snap-ins dialog box.
Configure an MMC
Move the installed certificate from the default store location. Because the certificate does not involve private
key binding, you can simply copy and paste the certificate to the new certificate store.
On CLIENT1, in the newly created MMC, in the console tree pane, double-click Certificates - Current
User, double-click Intermediate Certification Authorities, and then click Certificates.
1.
2. In the middle pane, right-click the contoso-VPN1-CA certificate, and then click Copy.
In the console tree pane, double-click Certificates (Local Computer), double-click Trusted Root
Certification Authorities, and then click Certificates.
3.
4. In the middle pane, right-click, and then click Paste.
5. Refresh the view to verify that the certificate has been added to this store.
Move the certificate
  
Let op!
Voor het testen van de SSTP VPN verbinding is het van belang om eerst de Revocation Check voor het
certificaat uit te zetten. Dit is alleen van toepassing voor de LAB omgeving. In productie omgevingen is
binnen de PKI infrastructuur de revocation check wel noodzakelijk
Please use the following steps to disable Revocation Check for SSTP:
You will need the create the following registry Key (REG_DWORD) under HKEY_LOCAL_MACHINE
\System\CurrentControlSet\Services\Sstpsvc\Parameters
Setting the key value of 1, will prevent it from checking.
More detailed info below:
NoCertRevocationCheck
Registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Sstpsvc\Parameters
Registry entry: NoCertRevocationCheck
Data type: REG_DWORD
 
Nu kun je verder met de configuratie en testen van SSTP op Client1
Configure and test an SSTP-based VPN connection
Now that the root CA certificate of the VPN server's computer certificate is in the Trusted Root Certification
Authorities certificate store on CLIENT1, configure and test an SSTP connection.
1. On CLIENT1, in Network and Sharing Center, click Manage network connections.
2. Double-click VPN Connection, and then click Properties.
3. Click the Networking tab.
From the Type of VPN drop-down list, select Secure Socket Tunneling Protocol (SSTP), and then
click OK.
4.
Configure and test an SSTP connection
  
Controleer bovenstaande VPN settings!
5. In the Connect VPN Connection dialog box, click Connect.
6. If the Set Network Location dialog box appears, click Work.
7. In the User Account Control dialog box, click Continue.
In the confirmation dialog box, click Close.
CLIENT1 should successfully connect to VPN1 using the SSTP connection. Verify that you can access
the corporate file server from the remote location.
8.
9. Click Start, click All Programs, click Accessories, and then click Run.
10. In Open, type \\dc1.contoso.com\corpdata, and then click OK.
11. Double-click VPNTest to open it, add some text, and then save the file.
12. Close VPNTest!

There is a request to add an user to the delivery management so that she can send Email to that group

Hi All,

I am Trying to add user in the delivery management console so that user can send Email to that group.

When I am trying to save its getting error.

Please help

How to start a MS training center

I would like to know what are requirement and formalities to start a training center of Microsoft.

Reply:

You may want to review information at Partner Network site:
Partner Network

Hope that helps,


Phil Streiff, MCDBA, MCITP, MCSA


------------------------------------
Reply:
What can you do when on a Microsoft course?

------------------------------------

Hyper V console access

Hello,

We have a servers on which Hyper V is installed and using which many Virtual Machine's are created. The server operates on 2008 and 2012 OS. I would like to provide the console access to my client Virtual Machine's hosted on that servers. 

Anyone know any option in order to achieve this? Is there any plugin/API/code which can help me in order to integrate it on my existing Hyper V and then our client hosted will have console access to there respective Virtual Machine's?

Thank you in advanced.

BizTalk 2013 SMTP Send Attachment File name as "body.<filename ext>" in Outlook 2016 client

Hi,

I was working on one of client requirement to send BizTalk messages as attachment through SMTP with custom or dynamic file name at run time. 

At first impression, I knew from my previous experience that, BizTalk require some custom coding into Orchestration (to create multi-part messages using RawString custom helper, etc.) or custom pipeline component to enrich MIME.FileName property at encoder stage of pipeline. So I developed pipeline component and write MIME file name property value as per my requirement and deployed all the artifacts for end to end testing. 

Unfortunately, the file name does not appear as per my code or customization and always show "body.<filename ext>". I walked through many old blogs, URL or documents again to find out what causing this issue. All looks fine in my code as per blogs and articles. So I started different analysis of outlook client configuration , the reason for move focused on outlook client is, some of blogs were talking about attachment issue with latest version of office 365 or outlook but not concretely point of root cause or BizTalk. 

1st step towards my finding of root cause, I found, when you try to save your attachment file to one drive or local physical drive you can see actual custom file name which pushed through BizTalk custom component. 

To further narrate this issue cause, I configured my other email address which is configured to run under outlook 2013 client and send BizTalk message as attachment on this different email account. Surprisingly, I can see correct attachment file name on mail sent to this email account client. 

So in summary, I found that, outlook 2016 client display MIME encoded file attachment name as "body.<file name ext>" always even though custom file name exist for attachment. 

Please share your experience or input if you come across something new around this.

Regards,

Viral B. Mistry


Reply:

We are having the same issue. Is there already an update/solution for this? 

Thanks already!


------------------------------------
Reply:

Hi , 

Try to assign the file name to the MIME.PartContentTypeSecondaryHeaderValue context property, too.

Regards,

Michal


------------------------------------
Reply:

Construct shape (old code from BTS 2003 R2)

msgEmail.MessagePart_Attachment = msgIn.MessagePart_Body;  msgEmail.MessagePart_Body = new dk.lemu.biztalk.utilities.RawString(vBody);  msgEmail.MessagePart_Body(Microsoft.XLANGs.BaseTypes.ContentType) = "text/html";    msgEmail(SMTP.From) = "<from>";  msgEmail(SMTP.CC) = "<cc>";  System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.CreateSpecificCulture("da-DK");  msgEmail(SMTP.Subject) = vSubject;  System.Threading.Thread.CurrentThread.CurrentCulture = System.Threading.Thread.CurrentThread.CurrentCulture;  msgEmail(SMTP.EmailBodyFileCharset) = "UTF-8";  msgEmail(SMTP.MessagePartsAttachments) = 2; // Use the one marked as body part as body, the rest attached.  msgEmail.MessagePart_Attachment(MIME.FileName) = vFileName;  Port_send_Email(Microsoft.XLANGs.BaseTypes.Address) = "mailto:"+vEmail;

hth  /Peter

EDIT: Oh sorry missed your last paragraph 

------------------------------------

How to set welcome page for mysite?

I want when i click on "My Content" link on MySIte it navigate to some "test.aspx" not default.aspx page.

And have to do it programmatically.

remenber( it's a non-publishing site i.e. it is a MySite)

Please help!!!!


Reply:

Hi ,

You need to modifiy the site definition of My Content Site Collection which is under site template folder "SPSPERS"


Regards, Fadi Abdulwahab. http://sqlgoogler.blogspot.com/ Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you


------------------------------------
Reply:

I would suggest not to change the Out of the box files under spspers. Also, you cant have a custom site definition for MySite.

You would have to use something called a feature stapler which essentially staples your custom code to my site template.

http://blog.sharepointsydney.com.au/post/MySites-Feature-Stapling.aspx

using (SPSite siteCollection = new SPSite("http://portal/teamsite")) {   using (SPWeb site = siteCollection.RootWeb) {   SPFolder rootFolder = site.RootFolder;   rootFolder.WelcomePage = "Pages/newWelcome.aspx";   rootFolder.Update();   }  }


Varun Malhotra
=================
If my post solves your problem could you mark the post as Answered or Vote As Helpful if my post has been helpful for you.


------------------------------------
Reply:

I realised that you don't want to use a leading forward-slash... otherwise you'll get the error below.

Works:

PS C:\> $rootFolder.WelcomePage = "person.aspx"  PS C:\> $rootFolder.Update()

Doesn't work:

PS C:\> $rootFolder.WelcomePage = "/person.aspx"  Exception setting "WelcomePage": "The WelcomePage property must be a path that  is relative to the folder, and the path cannot contain two consecutive periods  (..)."  At line:1 char:13  + $rootFolder. <<<< WelcomePage = "/person.aspx"   + CategoryInfo : InvalidOperation: (:) [], RuntimeException   + FullyQualifiedErrorId : PropertyAssignmentException



------------------------------------
Reply:

Thanks Peter,

that slash was the problem for me


------------------------------------

Need Answers of these MCQs (Excel, powerpoint, Access) VERY IMPORTANT

If any one has answer of any question so please share it with me while mention the question number and put only a,b,c or d

thank you in advance

1. Which of the following is an example of hardware?
(a) Word (b) Hard disc (c) Windows 7 (d) UNIX
2. The extension EXE represents
(a) examination (b) extra (c) executable (d) extension file
3. Getting data from a cell located in different excel sheet is called?
(a) Accessing (b) referencing (c) Updating (d) functioning
4. In excel which of the following special function key, allows the content in excel?
(a) ESC (b) Shift (c) Return (d) Tab
5. The slide that is used to introduce a topic and set the tone for the presentation is called?
(a) table slide (b) graph slide (c) bullet slide (d) title slide
6. Which of the following should be used when you want to add a slide to an existing presentation?
(a) next slide button (b) page up (c) Ctrl + home (d) Ctrl + End
7. Which option converts high level language programs into low level language?
(a) interpreter (b) Assembler (c) Compiler (d) translator
8. Debug is a term denoting?
(a) errors correction process
(b) writing of instruction in developing a new program
(c) fault detection in Equipment (d) determining useful life


9. JAVA is an example of?
(a) English like language (b) Easy language
(c) Low level language (d) High level language
10. Natural language programming languages have?
(a) Code (b) Meaning (c) Greeting (d) Syntax (d) solution
11. A source program is usually in
(a) natural language (b) high level language
(c) assembly language (d) low level language
12. Which of the following is not a typical operation that can be performed for code optimization
(a) removal of useless code (b) Inline expansion of functional cells
(c) sub expression factorization (d) loop optimization (e) syntax checking
13. A _________ is a piece of code identified by name, is given a local environment of its own and is able to exchange information with the rest of the code using parameters
(a) subprograms (b) subroutine (c) function (d) definition structure
14. Data arranged in intelligible form is called?
(a) processed data (b) program (c) information (d) software
15. Stored instructions and data in a digital computer consist of ?
(a) Bits (b) alphabetic (c) Numerals (d) characters
16. The specific number of entity occurrences associated with one occurrence of the related activity is called?
(a) relationship (b) connectivity (c) cordiality (d) existence dependency
17. If a table has composite primary key then
(a) it may not be in 2NF (b) It will be in 2NF
(c) It will surely be not in 2NF
(d) Primary key has nothing to do with anamoly
18. If a table has insertion anamoly?
Ans:
19. What is functional dependency?
Ans:
20. What is the degree of recursive entity?
(a) one to one (b) one to many (c) Unary (d) Binary
21. Which is not the advantage of stored procedures?
(a) decrease in network traffic (b) improved security
(c) fatter client & thinner DB server (d) improved data integrity
22. While transforming a weak entity, the primary key of new relation is the combination of the ________ of the owner & partial identifier of weak entity type.
(a) foreign key (b) primary key (c) composite key (d) relational key
23. A surrogate identifier or key is?
(a) another name for primary key (b) another name of foreign key
(c) identifier for associative entity (d) identifier for weak entity
24. How does the Data base management system differ from database?
(a) one & the same thing (b) DBMS is used to control shared database
(c) DBMS system is used to create database (d) all of these
25. Which menu is used to insert a table in word?
Ans:
26. On an excel sheet the active cell is indicated by ?
Ans:
27. The intersection of a row & column in excel is called?
Ans:
28. In excel to select a column, the easiest method is to ?
(a) double click any cell in column
(b) Drag from the top cell in the column to the left cell in column
(c) click the column heading (d) click the column label
29. moving an app icon on desktop is called?
(a) moving (b) dragging (c) clicking
30. In order to edit a chart in power point?
Ans:

Riverbed Stealhead RODC Issues ?

Has anyone in the community experienced issues in environments where a Riverbed Stealhead 'RODC' has been deployed ?  is there anything which needs special attention ?  from what I understand it does not advertise itself as a DC and does not directly service authentication requests.

  • Changed type Michael_LS Tuesday, December 17, 2013 10:48 AM off topic

Reply:

Hi,

Sorry for my short knowledge, could you please have a explanation for what the riverhead stealhead RODC refers to?? What's the meaning of riverhead stealhead?

Or some scenario that it used for?

Rgds


------------------------------------
Reply:

Hi,

If you mean the Riverhead steelhead Appliances, I think it's better to seek help here:

Riverbed Technical Support

https://splash.riverbed.com/community/product-lines/steelhead/content?filterID=contentstatus[published]~objecttype~objecttype[thread]

Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

Hope this helps

Best regards

Michael


Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Edited by Michael_LS Wednesday, December 11, 2013 12:29 PM

------------------------------------
Reply:

I can understand that a 3rd party product is being mentioned but it is an area closely linked to directory services .  Joining the Steelhead device to the domain and granting a limited set of rights to the device which a domain controller would have to allow NTLM pass-through authentication.  These privileges allow the Steelhead to intercept, optimize and re-authenticate signed SMB traffic and to intercept, decrypt, optimize and re-encrypt MAPI traffic.

I was interested to know if anyone in the community has comes across similar requirements and what potential issues it could bring for Active Directory.



------------------------------------
Reply:

Sorry for the year-old-revive. I was actually searching for something similar when this popped up.

I figured I'd respond.

I am an RCSP (Riverbed Certified Services Professional). I have deployed a lot (100+) SteelHeads in Active Directories as RODCs. I have never seen this misbehave with the AD.

This is primarily because the joining only uses (as far as I know) established AD permissions, so in a default scheme in the AD, these permissions would exist already.

It also ONLY creates a computer account in the AD. Nothing else; No A-record, no SRV-record, no advertisement in the DNS-lookups for DC's, *nothing*.

The permissions granted depend on the joined type. RODC and BDC differ.

RODC: TRUSTED_TO_AUTH_FOR_DELEGATION and PARTIAL_SECRETS_ACCOUNT

BDC: userAccountControl attribute gains the WORKSTATION_TRUST_ACCOUNT

If you have a SteelHead and Riverbed support account I strongly suggest reading Knowledge Base article S18281. It's an RODC / BDC FAQ.


------------------------------------
Reply:
Yes the riverbed only does certain things...but adding it as any type of DC messes up replication reports and hides real failures in the AD Forest.   Riverbed should find a better way to NOT create errors in a working environment.   The common answer we all hear is it only uses certain functions and does not act like a real DC....THAT is exactly the problem!  AD sees a DC and it does not act like a DC so its is a FAILED DC....  Get your stuff together Riverbed and make your product work without pretending to be a DC....
  • Edited by JS_Brady Tuesday, April 12, 2016 6:38 PM

------------------------------------
Reply:

We have been having issue with group policy being corrupted and the only place where we see the steelhead devices showing itself is when I change domain controller in GPMC I found this on riverbed site:

RB support sent me this, pretty much sums it up in case anyone else has the same question;

 

Q) Is a Steelhead RODC different from a Windows RODC when joined to a Domain?

A) Yes, most of the information regarding Microsoft RODC functionality doesn't apply to the Steelhead as we don't perform any of the "usual" RODC operations done by an actual RODC. The Steelhead joins the domain as an RODC so that it will have the elevated privileges that Microsoft provides to RODCs for NTLM pass-through authentication. When joined as an RODC the Steelhead does NOT do any of the following:
The steelhead does not answer any authentication attempts from any clients The steelhead does not cache any user credentials The steelhead does not advertise itself as a domain controller (or RODC) via DNS or any RPC mechanisms Users should not make any changes to DNS SRV host records which can lead to the server-side Steelhead being advertised as a DC. The server-side Steelhead will not provide any DC like functionality to other domain members.

 

Q) Why is the Steelhead feature called RODC if it doesn't act like a Windows RODC?
A) The Steelhead Appliance uses the privileges assigned to a Read Only Domain Controller to determine the session key for a signed or encrypted connection. All other functions of a Windows Read Only Domain Controller are not used as mentioned above.

Q) Do I need both Steelhead Appliances to join the domain for RODC to work?
A) While RODC is typically associated with a branch office as is normal for all Steelhead deployments optimizing secure Windows traffic only the Steelhead Appliance on the server side of the connection is required to join the domain. This is usually the Steelhead in the Data Center.

 

Q) Does the Steelhead store or cache any account information when it is joined as a RODC?
A) There are two types of accounts involved, user account and machine account. When just RODC is configured NO accounts are ever cached.

 

Q) My domain does not have any RODCs nor do I intend to create any, so what if any changes are made to my domain?
A) Since the Steelhead as an RODC does not advertise itself or provide any domain functions to other domain members very little changes. The machine account is placed in the RODC group and the Steelhead is placed in the Computers OU. A new OU or CN are not created.


------------------------------------

SharePoint Designer with O365, PWA, Project Online, MS Project 2016

We encountered a problem with SharePoint Designer kicking back a security screen asking for a user name and password when trying to connect to Project Online. The user would add the User Name and Password multiple times to no avail.

Fix:

1. Add the URL for Project Online to your trusted sites. (We had to submit a request to our security team for the URL to be added.)

2. From the Internet Browser > Log out of O365

3. Check the box "Keep me signed in"

4. Enter user name and password

5. Open SharePoint Designer > Add the Project Online URL > Access the new environment.

Note: SharePoint designer 2013 and Visio 2013 is required to build workflows in the Project Web App/Project Online 2016 environment.



( Edge )Web Notification Click behavior Not working as expected after Latest Security Update for Microsoft Windows (KB4016871)

Edge Web Notification Click event code to bring the corresponding window on top is not working after the subjected update.

The same is working for other browsers which supports Notification. In case of Edge even though the click event triggers ,the browser window is not taking to top of all other open apps and windows. And the same is happening after the update. Please help on this

Below is the JavaScript code used

Notification.requestPermission(function(status){
        var n = new Notification('', {body: 'Hi',requireInteraction: true});
         n.onclick = function(event) {
     parent.focus();
              window.focus();
             window.open().close(); 
             this.close();
        };
     });


Reply:
This is not an Edge browser/JavaScript support forum; sorry.

-- Bill Stewart [Bill_Stewart]


------------------------------------

windows 8 app development using javascript

sir/mam,

I m defing my own code in jquery n using in my app firstly i was getting the error that $ is not define then on searching i solved it by adding library of jquery-1.8.0.min.j.s and after that m getting the error-WinJS is undefined...

sir i search for it but i m not gtng how to solve it...

Thank you

Nirav Kapoor


Reply:

Hi 

this is an exchange forum, please post in the Windows forum.


------------------------------------

No comments:

Post a Comment

Setup is Split Across Multiple CDs

Setup is Split Across Multiple CDs Lately I've seen a bunch of people hitting installation errors that have to do with the fact th...